summaryrefslogtreecommitdiff
path: root/includes/interface.h
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-12-05 15:49:48 (GMT)
committer Simon <simon@hardwired.org.uk>2010-12-05 15:49:48 (GMT)
commit40ab51d79f68eaef88defee0e3cf1de5cfb0b0b0 (patch)
treefffbf3f7b503d36829dd91cde10cb39abb7ca5e8 /includes/interface.h
parent6ecc177c8ff8a90b5c4fc996090bd1de915237ab (diff)
downloadpowder-40ab51d79f68eaef88defee0e3cf1de5cfb0b0b0.zip
powder-40ab51d79f68eaef88defee0e3cf1de5cfb0b0b0.tar.gz
Cracker64 merge
Diffstat (limited to 'includes/interface.h')
-rw-r--r--includes/interface.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/includes/interface.h b/includes/interface.h
index f12d25b..a5f1a11 100644
--- a/includes/interface.h
+++ b/includes/interface.h
@@ -8,6 +8,7 @@ struct menu_section
char *icon;
const char *name;
int itemcount;
+ int doshow;
};
typedef struct menu_section menu_section;
@@ -50,19 +51,23 @@ static menu_wall mwalls[] =
#define SC_GAS 3
#define SC_LIQUID 4
#define SC_NUCLEAR 7
-#define SC_TOTAL 9
+#define SC_LIFE 9
+#define SC_CRACKER 10
+#define SC_TOTAL 10
static menu_section msections[] =
{
- {"\xC1", "Walls", 0},
- {"\xC2", "Electronics", 0},
- {"\xC3", "Explosives", 0},
- {"\xC5", "Gasses", 0},
- {"\xC4", "Liquids", 0},
- {"\xD0", "Powders", 0},
- {"\xD1", "Solids", 0},
- {"\xC6", "Radioactive", 0},
- {"\xCC", "Special", 0},
+ {"\xC1", "Walls", 0, 1},
+ {"\xC2", "Electronics", 0, 1},
+ {"\xC3", "Explosives", 0, 1},
+ {"\xC5", "Gasses", 0, 1},
+ {"\xC4", "Liquids", 0, 1},
+ {"\xD0", "Powders", 0, 1},
+ {"\xD1", "Solids", 0, 1},
+ {"\xC6", "Radioactive", 0, 1},
+ {"\xCC", "Special", 0, 1},
+ {"\xC8", "Life", 0, 1},
+ {"\xC8", "Cracker", 0, 0},
};
struct ui_edit
@@ -100,6 +105,7 @@ struct ui_checkbox
};
typedef struct ui_checkbox ui_checkbox;
+int SLALT;
extern SDLMod sdl_mod;
extern int sdl_key, sdl_wheel, sdl_caps, sdl_ascii, sdl_zoom_trig;
extern char *shift_0;