Ignore:
Timestamp:
Aug 11, 2010, 6:18:36 PM (11 years ago)
Author:
sam
Message:

Implement lazy initialisation of TileSet objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/test-map.cpp

    r93 r96  
    88#include "sdlvideo.h"
    99#include "game.h"
     10#include "ticker.h"
    1011
    1112int main(int argc, char **argv)
     
    1617    for (int done = 0; !done; )
    1718    {
    18         video->PreRender();
    19 
    2019        /* Test stuff */
    2120        int mx, my;
     
    2322        game->SetMouse(mx * (640 - 32) / 640, my * (480 - 32) / 480);
    2423
     24        Ticker::TickGame(33.33333f);
     25
     26        video->PreRender();
     27        Ticker::TickRender(33.33333f);
    2528        game->Render();
    2629        video->PostRender(33.33333f);
Note: See TracChangeset for help on using the changeset viewer.