summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index 4fe65ea..c026da8 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -35,7 +35,11 @@ GameModel::GameModel():
}
//Build menu for GOL types
- //for(int i = 0; i < GOL_)
+ for(int i = 0; i < NGOL; i++)
+ {
+ Tool * tempTool = new GolTool(i, sim->gmenu[i].name, PIXR(sim->gmenu[i].colour), PIXG(sim->gmenu[i].colour), PIXB(sim->gmenu[i].colour));
+ menuList[SC_LIFE]->AddTool(tempTool);
+ }
//Build other menus from wall data
for(int i = 0; i < UI_WALLCOUNT; i++)