Ignore:
Timestamp:
Jan 18, 2011, 12:05:18 AM (10 years ago)
Author:
sam
Message:

Complete Lol Engine / Deus Hax / Monsterz split.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.cpp

    r220 r221  
    11//
    2 // Deus Hax (working title)
    3 // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
     2// Monsterz
     3//
     4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
     5//   This program is free software; you can redistribute it and/or
     6//   modify it under the terms of the Do What The Fuck You Want To
     7//   Public License, Version 2, as published by Sam Hocevar. See
     8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
    49//
    510
     
    1722
    1823#include "core.h"
     24#include "game.h"
    1925#include "sdlinput.h"
    2026#include "debugfps.h"
    2127#include "debugboard.h"
    22 #include "debugsprite.h"
    23 #include "debugsphere.h"
    24 #include "debugrecord.h"
    25 #include "debugstats.h"
    2628
    2729static float const FPS = 30.0f;
     
    4648    }
    4749
    48     SDL_WM_SetCaption("Map Test (SDL)", NULL);
    49     SDL_ShowCursor(0);
    50     //SDL_WM_GrabInput(SDL_GRAB_ON);
     50    SDL_WM_SetCaption("Monsterz", NULL);
    5151
    5252    /* Initialise OpenGL */
     
    5757    _chdir(".."); /* Temporary Win32 hack */
    5858#endif
    59     Game *game = new Game("maps/testmap.tmx");
    60     game->SetMouse(160, 96);
     59    Game *game = new Game();
    6160
    6261    /* Register an input driver and some debug stuff */
    6362    new SdlInput();
    6463    new DebugFps();
    65     new DebugSprite(game);
    6664    new DebugBoard(game);
    67     new DebugSphere();
    68     //new DebugRecord("lolengine.ogg");
    69     new DebugStats("stats.txt");
    7065
    7166    while (!Ticker::Finished())
Note: See TracChangeset for help on using the changeset viewer.