summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJonas Ask2009-10-28 00:24:25 +0000
committerJonas Ask2009-10-28 00:24:25 +0000
commited753c376b5aba0529417e099ae3b32e0e6dac8f (patch)
tree5d67645fa502156ebab3081352e3e470e2919405 /UserInput.cpp
parentc0eb76c086c29378a54c0cb5173a4795ab07349e (diff)
downloadstonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.gz
stonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.bz2
stonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.xz
Added configurable wall and floor types, responding to their material index
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 9ed30e5..da09db5 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -1,6 +1,7 @@
#include "common.h"
#include "GUI.h"
#include "BuildingConfiguration.h"
+#include "GroundMaterialConfiguration.h"
#include "GameBuildings.h"
#include "Creatures.h"
@@ -56,6 +57,7 @@ void doKeys(){
if(key[KEY_G]){
LoadCreatureConfiguration( &creatureTypes );
LoadBuildingConfiguration( &buildingTypes );
+ LoadGroundMaterialConfiguration();
destroyGraphics();
loadGraphicsFromDisk();