Changed sdword and slong types to int32_t

This commit is contained in:
Ianos Gnatiuc 2005-10-20 18:13:24 +00:00
parent b11d880f41
commit d8a855aa42
6 changed files with 20 additions and 24 deletions

View File

@ -137,9 +137,7 @@ typedef uint16_t word;
typedef int16_t sshort; typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword; typedef uint32_t dword;
typedef int32_t slong;
typedef uint32_t ulong; typedef uint32_t ulong;
#endif //#ifdef _MSC_VER #endif //#ifdef _MSC_VER

View File

@ -68,8 +68,8 @@ typedef struct {
word revNumber; // Is now 0x0100 word revNumber; // Is now 0x0100
word dataType; // See #defines above word dataType; // See #defines above
word headerSize; word headerSize;
sdword creationDate; int32_t creationDate;
sdword lastModified; int32_t lastModified;
word totalRecords; word totalRecords;
word recordSize; word recordSize;
} headerType; } headerType;
@ -223,7 +223,7 @@ typedef struct {
typedef struct { typedef struct {
char versionMajor; char versionMajor;
char versionMinor; char versionMinor;
sdword creationDate; int32_t creationDate;
dword key; dword key;
dword reservedKey; dword reservedKey;
dword relKey1; dword relKey1;

View File

@ -69,8 +69,8 @@ typedef struct {
word revNumber; // Is now 0x0100 word revNumber; // Is now 0x0100
word dataType; // See #defines above word dataType; // See #defines above
word headerSize; word headerSize;
sdword creationDate; int32_t creationDate;
sdword lastModified; int32_t lastModified;
word totalRecords; word totalRecords;
word recordSize; word recordSize;
} headerType; } headerType;
@ -225,7 +225,7 @@ typedef struct {
typedef struct { typedef struct {
byte versionMajor; byte versionMajor;
byte versionMinor; byte versionMinor;
sdword creationDate; int32_t creationDate;
dword key; dword key;
dword reservedKey; dword reservedKey;
dword relKey1; dword relKey1;

View File

@ -583,7 +583,7 @@ struct _msgarea {
word killskip; /* Exempt the first X msgs from this processing 50*/ word killskip; /* Exempt the first X msgs from this processing 50*/
zstr barricade; /* Barricade file 52*/ zstr barricade; /* Barricade file 52*/
zstr barricademenu; /* Apply barricade priv while using this menu 54*/ zstr barricademenu; /* Apply barricade priv while using this menu 54*/
sdword cbPrior; /* Seek offset from start of this area to get back56* int32_t cbPrior; /* Seek offset from start of this area to get back56*
* to prior area. */ * to prior area. */
zstr attachpath; /* Reserved for future use 58*/ zstr attachpath; /* Reserved for future use 58*/
dword rsvd4; /*60*/ dword rsvd4; /*60*/

View File

@ -41,7 +41,6 @@ typedef uint16_t word;
typedef int16_t sshort; typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword; typedef uint32_t dword;
#endif //#ifndef __goldall_h #endif //#ifndef __goldall_h

View File

@ -81,7 +81,6 @@ typedef uint16_t word;
typedef int16_t sshort; typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef int32_t sdword;
typedef uint32_t dword; typedef uint32_t dword;
#endif //#ifndef __goldall_h #endif //#ifndef __goldall_h