3 #include "util/mutex.h" 4 #include <boost/thread.hpp> 5 #include <boost/shared_ptr.hpp> 6 #include <boost/asio.hpp> 7 #include <boost/date_time/posix_time/posix_time_types.hpp> 8 #include <boost/asio/steady_timer.hpp> 10 #include "IParaEngineApp.h" 38 void DefaultWinThreadProc(HINSTANCE hInstance);
39 void handle_mainloop_timer(
const boost::system::error_code& err);
41 int Run(HINSTANCE hInstance);
58 Boost_Thread_ptr_type m_win_thread;
61 bool m_bMainLoopExited;
64 boost::asio::io_service m_main_io_service;
66 boost::asio::steady_timer m_main_timer;
HRESULT StartWindowThread(HINSTANCE hInstance)
create the default win32 windows for rendering.
Definition: D3DWindowDefault.cpp:147
different physics engine has different winding order.
Definition: EventBinding.h:32
int CalculateRenderTime(double fIdealInterval, double *pNextInterval)
return true if this is a render tick, otherwise false.
Definition: D3DWindowDefault.cpp:161
a table of virtual functions which are used by plug-ins to access the game engine ...
Definition: IParaEngineApp.h:98
cross platform mutex
Definition: mutex.h:95
The default ParaEngine Window.
Definition: D3DWindowDefault.h:25