Ignore:
Timestamp:
Dec 7, 2011, 2:06:19 AM (11 years ago)
Author:
sam
Message:

core: try to merge Ticker and Emcee. Still not very good.

Location:
trunk/src/platform
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/android/androidapp.cpp

    r966 r1106  
    9797Java_org_zoy_LolEngine_LolRenderer_nativeRender(JNIEnv* env)
    9898{
    99     Ticker::ClampFps();
    100     Ticker::TickGame();
    10199    Ticker::TickDraw();
    102100}
  • trunk/src/platform/nacl/nacl_instance.cpp

    r1087 r1106  
    127127        return;
    128128
    129     Ticker::ClampFps();
    130     Ticker::TickGame();
    131 
    132129    opengl_context_->MakeContextCurrent(this);
    133130    Ticker::TickDraw();
  • trunk/src/platform/nacl/naclapp.cpp

    r1084 r1106  
    5959    while (!Ticker::Finished())
    6060    {
    61         /* Tick the game */
    62         Ticker::TickGame();
    63 
    6461        /* Tick the renderer, show the frame and clamp to desired framerate. */
    6562        Ticker::TickDraw();
     
    6764#if defined __native_client__
    6865#endif
    69 
    70         Ticker::ClampFps();
    7166    }
    7267}
  • trunk/src/platform/ps3/ps3app.cpp

    r1063 r1106  
    119119    while (!Ticker::Finished())
    120120    {
    121         /* Tick the game */
    122         Ticker::TickGame();
    123 
    124121        /* Tick the renderer, show the frame and clamp to desired framerate. */
    125122        Ticker::TickDraw();
     
    131128        cellSysutilCheckCallback();
    132129#endif
    133 
    134         Ticker::ClampFps();
    135130    }
    136131}
  • trunk/src/platform/sdl/sdlapp.cpp

    r1069 r1106  
    8585    while (!Ticker::Finished())
    8686    {
    87         /* Tick the game */
    88         Ticker::TickGame();
    89 
    9087        /* Tick the renderer, show the frame and clamp to desired framerate. */
    9188        Ticker::TickDraw();
     
    9390        SDL_GL_SwapBuffers();
    9491#endif
    95         Ticker::ClampFps();
    9692    }
    9793}
Note: See TracChangeset for help on using the changeset viewer.