Various VC++ 1.5 and other corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,7 +17,19 @@
|
||||
#pragma implementation "game.h"
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
#include "wx/log.h"
|
||||
#include "wx/module.h"
|
||||
#include "game.h"
|
||||
|
||||
#include <string.h> // for memset
|
||||
@@ -31,7 +43,13 @@
|
||||
// ==========================================================================
|
||||
|
||||
#define HASH(x, y) (((x >> 3) & 0x7f) << 7) + ((y >> 3) & 0x7f)
|
||||
|
||||
#ifdef __WIN16__
|
||||
#define HASHSIZE 10000
|
||||
#else
|
||||
#define HASHSIZE 32768
|
||||
#endif
|
||||
|
||||
#define MAXDEAD 8
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user