version 1.44 | | version 1.45 |
---|
| | |
/* | | /* |
* static char *rcsid_global_h = | | * static char *rcsid_global_h = |
* "$Id: global.h,v 1.44 2003/09/13 05:01:33 mwedel Exp $"; | | * "$Id: global.h,v 1.45 2003/12/14 16:28:47 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
typedef unsigned short Fontindex; | | typedef unsigned short Fontindex; |
| | |
#ifdef WIN32 | | #ifdef WIN32 |
// Python plugin stuff defines SIZEOF_LONG_LONG as 8, and besides __int64 is a 64b type on MSVC... | | /* Python plugin stuff defines SIZEOF_LONG_LONG as 8, and besides __int64 is a 64b type on MSVC... |
// So let's force the typedef | | * So let's force the typedef */ |
typedef unsigned __int64 uint64; | | typedef unsigned __int64 uint64; |
typedef signed __int64 sint64; | | typedef signed __int64 sint64; |
// Needed for experience | | /* Needed for experience */ |
#define atoll _atoi64 | | #define atoll _atoi64 |
| | |
| | /* To reduce number of warnings */ |
| | #pragma warning( disable: 4305 ) /* initializing float f = 0.05; instead of f = 0.05f; */ |
| | |
#else // WIN32 | | #else // WIN32 |
| | |
#if SIZEOF_LONG == 8 | | #if SIZEOF_LONG == 8 |
| | |
#define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations) | | #define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations) |
#define NUM_FACINGS(ob) (animations[ob->animation_id].facings) | | #define NUM_FACINGS(ob) (animations[ob->animation_id].facings) |
| | |
extern int freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; | | extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; |
extern int maxfree[SIZEOFFREE], freedir[SIZEOFFREE]; | | extern int maxfree[SIZEOFFREE], freedir[SIZEOFFREE]; |
extern int rightof_x[9], rightof_y[9]; | | extern int rightof_x[9], rightof_y[9]; |
extern int leftof_x[9], leftof_y[9]; | | extern int leftof_x[9], leftof_y[9]; |