Changeset 339 for trunk/monsterz/interface.cpp
- Timestamp:
- Feb 3, 2011, 2:28:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/monsterz/interface.cpp
r332 r339 22 22 #include "title.h" 23 23 #include "board.h" 24 #include "fusion.h" 24 25 #include "monsterz.h" 25 26 … … 35 36 Title *title; 36 37 Board *board; 38 Fusion *fusion; 37 39 int screen, tiles; 38 40 … … 55 57 data->title = NULL; 56 58 data->board = NULL; 59 data->fusion = NULL; 57 60 data->screen = Tiler::Register(PNG_BACKGROUND, 640, 480, 1.0f); 58 61 data->tiles = Tiler::Register(PNG_TILES, 48, 48, 1.0f); … … 80 83 Ticker::Unref(data->title); 81 84 data->title = NULL; 82 data->board = new Board(int2(8, 8), 9); 85 data->fusion = new Fusion(int2(6, 8), 8); 86 Ticker::Ref(data->fusion); 87 #if 0 88 data->board = new Board(int2(8, 8), 8); 83 89 Ticker::Ref(data->board); 90 #endif 84 91 data->state = InterfaceData::GAME; 85 92 } … … 111 118 if (data->board) 112 119 Ticker::Unref(data->board); 120 if (data->fusion) 121 Ticker::Unref(data->fusion); 113 122 Tiler::Deregister(data->tiles); 114 123 Tiler::Deregister(data->screen);
Note: See TracChangeset
for help on using the changeset viewer.