| 261 | } |
| 262 | |
| 263 | static bool RunFrameInstance(int elapsedMsec) { |
| 264 | if (!ProcessEventLoop()) { |
| 265 | return false; |
| 266 | } |
| 267 | |
| 268 | BE1::Engine::RunFrame(elapsedMsec); |
| 269 | |
| 270 | BE1::gameClient.Update(); |
| 271 | |
| 272 | app.Update(); |
| 273 | |
| 274 | app.mainRenderContext->Display(); |
| 275 | |
| 276 | BE1::gameClient.EndFrame(); |
| 277 | |
| 278 | return true; |
| 279 | } |
| 280 | |
| 281 | int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { |
| 282 | const HCURSOR hcurSave = ::SetCursor(LoadCursor(0, IDC_WAIT)); |
no test coverage detected