Ignore:
Timestamp:
Mar 19, 2008, 2:42:12 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed the "game" class into "Game" and started cleaning it up. There is still a very long way to go.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/game.hpp

    r124 r127  
    5050
    5151#define tile_type unsigned short
    52 class game;
    53 extern game *the_game;
     52class Game;
     53extern Game *the_game;
    5454extern int dev;
    5555extern int morph_sel_frame_color;
     
    6363extern FILE *open_FILE(char const *filename, char const *mode);
    6464
    65 class game
     65class Game
    6666{
     67private:
    6768  JCFont *fnt;
    68   int finished;
     69  bool finished;
    6970  int bg_top,fg_top;                         // in the fg/bg window which tile is at the top?
    7071  int bright_color,med_color,dark_color,     // for boundaries and windows, etc
     
    9091  int state,zoom;
    9192
     93  Game(int argc, char **argv);
     94  ~Game();
    9295
    93   game(int argc, char **argv);
    9496  void step();
    9597  void show_help(char const *st);
     
    155157  void request_level_load(char *name);
    156158  void request_end();
    157   ~game();
    158159} ;
    159160
Note: See TracChangeset for help on using the changeset viewer.