aboutsummaryrefslogtreecommitdiff
path: root/sword2/icons.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-17 16:59:12 +0000
committerTorbjörn Andersson2003-09-17 16:59:12 +0000
commit0604d3ff10b59378a3f0484abde73b1d511dfb71 (patch)
treeb3cae761e434347f53cc89777f03b26995010671 /sword2/icons.h
parent27b734a044a07377bb4e99451bf912091ae5708f (diff)
downloadscummvm-rg350-0604d3ff10b59378a3f0484abde73b1d511dfb71.tar.gz
scummvm-rg350-0604d3ff10b59378a3f0484abde73b1d511dfb71.tar.bz2
scummvm-rg350-0604d3ff10b59378a3f0484abde73b1d511dfb71.zip
cleanup
svn-id: r10273
Diffstat (limited to 'sword2/icons.h')
-rw-r--r--sword2/icons.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/sword2/icons.h b/sword2/icons.h
index c841a01633..aca1f0955f 100644
--- a/sword2/icons.h
+++ b/sword2/icons.h
@@ -20,23 +20,21 @@
#ifndef _ICONS
#define _ICONS
+#include "object.h"
-//#include "src\driver96.h"
-#include "object.h"
+#define MENU_MASTER_OBJECT 44
+#define TOTAL_subjects (375 - 256 + 1) // the speech subject bar
+#define TOTAL_engine_pockets (15 + 10) // +10 for overflow
-#define MENU_MASTER_OBJECT 44
-#define TOTAL_subjects 375-256+1 //the speech subject bar
-#define TOTAL_engine_pockets 15+10 // +10 for overflow
+// define these in a script and then register them with the system
+typedef struct {
+ int32 icon_resource; // icon graphic graphic
+ int32 luggage_resource; // luggage icon resource (for attaching to mouse pointer)
+} menu_object;
-typedef struct
-{
- int32 icon_resource; // icon graphic graphic
- int32 luggage_resource; // luggage icon resource (for attaching to mouse pointer)
-} menu_object; //define these in a script and then register them with the system
+extern menu_object master_menu_list[TOTAL_engine_pockets];
-extern menu_object master_menu_list[TOTAL_engine_pockets];
-
-void Build_top_menu(void); //Tony19Nov96
-void Build_system_menu(void); //Tony19Mar97
+void Build_top_menu(void); // Tony19Nov96
+void Build_system_menu(void); // Tony19Mar97
#endif