diff options
| author | Simon <simon@hardwired.org.uk> | 2010-08-26 09:53:15 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-08-26 09:53:15 (GMT) |
| commit | 5751fea35f31640fddfaea1459503e366ae39729 (patch) | |
| tree | ad4180fdfba2b0600ac61b919f3ed3f5486dab8e /interface.h | |
| parent | 470519c92ed917b41c6ccae2e193eb59bdfe2ece (diff) | |
| download | powder-5751fea35f31640fddfaea1459503e366ae39729.zip powder-5751fea35f31640fddfaea1459503e366ae39729.tar.gz | |
More work
Diffstat (limited to 'interface.h')
| -rw-r--r-- | interface.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/interface.h b/interface.h index dfa0ba6..5816897 100644 --- a/interface.h +++ b/interface.h @@ -7,13 +7,16 @@ struct menu_section const char *name; int itemcount; }; +typedef struct menu_section menu_section; + struct menu_wall { pixel colour; const char *descs; }; +typedef struct menu_wall menu_wall; -const struct menu_wall mwalls[] = +static menu_wall mwalls[] = { {PIXPACK(0xC0C0C0), "Wall. Indestructible. Blocks everything. Conductive."}, {PIXPACK(0x808080), "E-Wall. Becomes transparent when electricity is connected."}, @@ -47,7 +50,7 @@ const struct menu_wall mwalls[] = #define SC_NUCLEAR 7 #define SC_TOTAL 9 -struct menu_section msections[] = +static menu_section msections[] = { {"\xC1", "Walls", 0}, {"\xC2", "Electronics", 0}, |
