diff options
| author | Japa | 2009-12-16 10:32:22 +0000 |
|---|---|---|
| committer | Japa | 2009-12-16 10:32:22 +0000 |
| commit | 3da163b0cbcd9efa0d3f2cd190b1d09988c09725 (patch) | |
| tree | b355c50923fc9f27e742d70a2c1b8ca59f2c42fd /commonTypes.h | |
| parent | ec2f58ceba06ce3e58c8e98c6bf52b3f79fd1b12 (diff) | |
| download | stonesense-3da163b0cbcd9efa0d3f2cd190b1d09988c09725.tar.gz stonesense-3da163b0cbcd9efa0d3f2cd190b1d09988c09725.tar.bz2 stonesense-3da163b0cbcd9efa0d3f2cd190b1d09988c09725.tar.xz | |
Merged the fog branch to trunk
Diffstat (limited to 'commonTypes.h')
| -rw-r--r-- | commonTypes.h | 127 |
1 files changed, 67 insertions, 60 deletions
diff --git a/commonTypes.h b/commonTypes.h index 42644a8..5e30948 100644 --- a/commonTypes.h +++ b/commonTypes.h @@ -1,62 +1,69 @@ -#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 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;
-
- Crd3D segmentSize;
-
-} GameConfiguration;
-
-
-enum enumCreatureSex{
- eCreatureSex_NA,
- eCreatureSex_Male,
- eCreatureSex_Female
+ int fogr;
+ int fogg;
+ int fogb;
+ int foga;
+ int backr;
+ int backg;
+ int backb;
+ + Crd3D segmentSize; + +} GameConfiguration; + + +enum enumCreatureSex{ + eCreatureSex_NA, + eCreatureSex_Male, + eCreatureSex_Female };
\ No newline at end of file |
