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.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index 8f16f49..3271f3a 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -30,6 +30,13 @@ GameModel::GameModel():
menuList[sim->ptypes[i].menusection]->AddTool(tempTool);
}
}
+ //Build other menus from wall data
+ for(int i = 0; i < UI_WALLCOUNT; i++)
+ {
+ Tool * tempTool = new ElementTool(i+UI_WALLSTART, "", PIXR(sim->wtypes[i].colour), PIXG(sim->wtypes[i].colour), PIXB(sim->wtypes[i].colour));
+ menuList[SC_WALL]->AddTool(tempTool);
+ //sim->wtypes[i]
+ }
activeTool = new ElementTool(1, "TURD", 0, 0, 0);
}