Fixed bug : Compile errors on Mac OS X 10.2.2

This commit is contained in:
jsalmon3 2002-11-24 23:51:25 +00:00
parent 6817fc7559
commit 1367b04c1c
3 changed files with 6 additions and 2 deletions

View file

@ -987,6 +987,8 @@
<LI>Fixed bug #640812: Flameshield segfault (from Jimmy Salmon).
<LI>Fixed bug #641074: Return gold to ally's town hall (from Jimmy Salmon).
<LI>Fixed bug #581489: GUI - Network refresh (from Jimmy Salmon).
<LI>Fixed bug #643281: Compile errors on Mac OS X 10.2.2 (from
Jimmy Salmon).
<LI>+++
</UL>
</UL>

View file

@ -95,7 +95,7 @@ enum _iface_state_ {
enum _key_state_ {
KeyStateCommand = 0, /// keys -> commands
KeyStateInput /// keys -> line editor
} KeyState; /// current keyboard state
}; /// current keyboard state
/// additional keycodes
enum _key_codes_ {
@ -228,7 +228,8 @@ extern enum _iface_state_ InterfaceState;
extern enum _scroll_state_ KeyScrollState;
/// current scroll state of mouse
extern enum _scroll_state_ MouseScrollState;
/// current key state
extern enum _key_state_ KeyState;
/// pointer to unit under the cursor
extern Unit* UnitUnderCursor;
/// button number under the cursor

View file

@ -78,6 +78,7 @@ global char SkipGameCycle; /// Skip the next game cycle
global char BigMapMode; /// Show only the map
global enum _iface_state_ InterfaceState; /// Current interface state
global int GodMode; /// Invincibility cheat
global enum _key_state_ KeyState; /// current key state
/*----------------------------------------------------------------------------
-- Functions