summaryrefslogtreecommitdiff
path: root/commonTypes.h
diff options
context:
space:
mode:
authorKris Parker2010-01-16 22:26:45 +0000
committerKris Parker2010-01-16 22:26:45 +0000
commit60bc0083ac0b5bbbd2280fc4b9e23a6490a38e11 (patch)
tree61a7e1df12b9c892880738f44ff02bec5f64d753 /commonTypes.h
parent9164194dcb4457d1981e69d3f019981de32406e1 (diff)
downloadstonesense-60bc0083ac0b5bbbd2280fc4b9e23a6490a38e11.tar.gz
stonesense-60bc0083ac0b5bbbd2280fc4b9e23a6490a38e11.tar.bz2
stonesense-60bc0083ac0b5bbbd2280fc4b9e23a6490a38e11.tar.xz
Names can be configured to use nicknames and species (or not). Plain old names capitalised
Diffstat (limited to 'commonTypes.h')
-rw-r--r--commonTypes.h122
1 files changed, 62 insertions, 60 deletions
diff --git a/commonTypes.h b/commonTypes.h
index 5e30948..f8f154d 100644
--- a/commonTypes.h
+++ b/commonTypes.h
@@ -1,53 +1,55 @@
-#pragma once
-
-
-
-struct t_SpriteWithOffset{
- int32_t sheetIndex;
- int16_t x;
- int16_t y;
- int32_t fileIndex;
- char animFrames;
-} ;
-
-
-typedef struct Crd2D {
- int32_t x,y;
-}Crd2D;
-typedef struct Crd3D {
- int32_t x,y,z;
-}Crd3D;
-
-
-
-
-typedef struct {
- bool show_zones;
- bool show_stockpiles;
- bool show_osd;
- bool single_layer_view;
- bool shade_hidden_blocks;
- bool show_hidden_blocks;
- bool show_creature_names;
- bool show_all_creatures;
- bool load_ground_materials;
- bool hide_outer_blocks;
- bool debug_mode;
- bool track_center;
- int lift_segment_offscreen;
- bool truncate_walls;
- bool follow_DFscreen;
- bool verbose_logging;
- int viewXoffset;
- int viewYoffset;
- int viewZoffset;
- int automatic_reload_time;
- int automatic_reload_step;
- int animation_step;
-
- int screenWidth;
- int screenHeight;
- bool Fullscreen;
+#pragma once
+
+
+
+struct t_SpriteWithOffset{
+ int32_t sheetIndex;
+ int16_t x;
+ int16_t y;
+ int32_t fileIndex;
+ char animFrames;
+} ;
+
+
+typedef struct Crd2D {
+ int32_t x,y;
+}Crd2D;
+typedef struct Crd3D {
+ int32_t x,y,z;
+}Crd3D;
+
+
+
+
+typedef struct {
+ bool show_zones;
+ bool show_stockpiles;
+ bool show_osd;
+ bool single_layer_view;
+ bool shade_hidden_blocks;
+ bool show_hidden_blocks;
+ bool show_creature_names;
+ bool names_use_nick;
+ bool names_use_species;
+ bool show_all_creatures;
+ bool load_ground_materials;
+ bool hide_outer_blocks;
+ bool debug_mode;
+ bool track_center;
+ int lift_segment_offscreen;
+ bool truncate_walls;
+ bool follow_DFscreen;
+ bool verbose_logging;
+ int viewXoffset;
+ int viewYoffset;
+ int viewZoffset;
+ int automatic_reload_time;
+ int automatic_reload_step;
+ int animation_step;
+
+ int screenWidth;
+ int screenHeight;
+ bool Fullscreen;
bool show_intro;
int fogr;
int fogg;
@@ -56,14 +58,14 @@ typedef struct {
int backr;
int backg;
int backb;
-
- Crd3D segmentSize;
-
-} GameConfiguration;
-
-
-enum enumCreatureSex{
- eCreatureSex_NA,
- eCreatureSex_Male,
- eCreatureSex_Female
+
+ Crd3D segmentSize;
+
+} GameConfiguration;
+
+
+enum enumCreatureSex{
+ eCreatureSex_NA,
+ eCreatureSex_Male,
+ eCreatureSex_Female
}; \ No newline at end of file