summaryrefslogtreecommitdiff
path: root/GroundMaterialConfiguration.h
diff options
context:
space:
mode:
authorJonas Ask2009-10-28 00:24:25 +0000
committerJonas Ask2009-10-28 00:24:25 +0000
commited753c376b5aba0529417e099ae3b32e0e6dac8f (patch)
tree5d67645fa502156ebab3081352e3e470e2919405 /GroundMaterialConfiguration.h
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 'GroundMaterialConfiguration.h')
-rw-r--r--GroundMaterialConfiguration.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/GroundMaterialConfiguration.h b/GroundMaterialConfiguration.h
new file mode 100644
index 0000000..64c6b26
--- /dev/null
+++ b/GroundMaterialConfiguration.h
@@ -0,0 +1,19 @@
+#pragma once
+
+class GroundMaterialConfiguration
+{
+public:
+ char gameIDstr[100];
+ int wallSheetIndex;
+ int floorSheetIndex;
+
+ GroundMaterialConfiguration(char* gameIDstr, int wallSheetIndex,int floorSheetIndex);
+ ~GroundMaterialConfiguration(){}
+};
+
+
+void LoadGroundMaterialConfiguration( );
+void TranslateGroundMaterialNames();
+
+extern bool GroundMaterialNamesTranslatedFromGame;
+extern vector<GroundMaterialConfiguration> groundTypes; \ No newline at end of file