diff options
author | Strangerke | 2013-09-04 17:54:08 +0200 |
---|---|---|
committer | Strangerke | 2013-09-04 17:54:08 +0200 |
commit | ad5529b5d27748f34cbd978eb3c0040e3a2d266f (patch) | |
tree | 96b1bae06aab5b0bc7687de211f439ac464cdab6 /engines/avalanche/gyro2.h | |
parent | 6818dd2eb4749d4b96d8bf6f4b6b2d0b4d2d8753 (diff) | |
download | scummvm-rg350-ad5529b5d27748f34cbd978eb3c0040e3a2d266f.tar.gz scummvm-rg350-ad5529b5d27748f34cbd978eb3c0040e3a2d266f.tar.bz2 scummvm-rg350-ad5529b5d27748f34cbd978eb3c0040e3a2d266f.zip |
AVALANCHE: Fix more GCC warnings
Diffstat (limited to 'engines/avalanche/gyro2.h')
-rw-r--r-- | engines/avalanche/gyro2.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/engines/avalanche/gyro2.h b/engines/avalanche/gyro2.h index 3caa946eb2..971fbbdfc0 100644 --- a/engines/avalanche/gyro2.h +++ b/engines/avalanche/gyro2.h @@ -45,16 +45,10 @@ class AvalancheEngine; static const char numobjs = 18; /* always preface with a # */ static const int16 maxobjs = 12; /* carry limit */ -static const byte howlong = 1/*8*/; /* 18 ticks. */ - -static const int16 num = 32; /* Code for Num Lock */ +static const int16 numlockCode = 32; /* Code for Num Lock */ static const int16 mouse_size = 134; - - -typedef void (*proc)(); - struct postype { uint16 x, y, datapos; byte length; @@ -282,17 +276,6 @@ struct ednahead { /* Edna header */ /* DNA values follow, then footer (which is ignored) */ }; -/* Possible values of edhead.os: - 1 = DOS 4 = Mac - 2 = Windows 5 = Amiga - 3 = OS/2 6 = ST - 7 = Archimedes */ - - - - - - class Gyro { public: static const char *vernum; @@ -535,7 +518,7 @@ public: Common::String flags; Common::String listen; - uint16 oh, onh, om, h, m, s, s1; + uint16 oh, onh, om, hour, minutes, seconds; Common::String atkey; /* For XTs, set to "alt-". For ATs, set to "f1". */ @@ -612,7 +595,7 @@ public: Common::String strf(int32 x); - void newpointer(byte m); + void newpointer(byte id); void wait(); // Makes hourglass. |