Changeset 1040 for trunk/deushax


Ignore:
Timestamp:
Oct 31, 2011, 9:19:05 AM (8 years ago)
Author:
sam
Message:

core: write a generic application class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/deushax.cpp

    r961 r1040  
    1818
    1919#include "game.h"
    20 #include "platform/sdl/sdlapp.h"
    21 #include "platform/sdl/sdlinput.h"
    2220#include "debugsprite.h"
    2321
     
    3230int main(int argc, char **argv)
    3331{
    34     SdlApp app("Map Test (SDL)", ivec2(640, 480), 30.0f);
     32    Application app("Map Test", ivec2(640, 480), 30.0f);
    3533
    3634#if defined _WIN32
     
    4139
    4240    /* Register an input driver and some debug stuff */
    43     new SdlInput();
    4441    new DebugFps(10, 10);
    4542    new DebugSprite(game);
Note: See TracChangeset for help on using the changeset viewer.