36 #ifndef INCLUDED_H_TYPE_H
37 #define INCLUDED_H_TYPE_H
59 #define uint uint_hack
62 #define huge huge_hack
65 #define byte byte_hack
68 #define bool bool_hack
76 typedef unsigned char byte;
85 typedef unsigned long huge;
90 typedef uint16_t
u16b;
93 typedef unsigned short u16b;
99 typedef uint32_t
u32b;
long * long_ptr
Definition: h-type.h:117
const char * cptr
文字列定数用ポインタ定義 / A simple pointer (to unmodifiable strings)
Definition: h-type.h:46
errr(* func_gen)(vptr, vptr)
Definition: h-type.h:131
s32b * s32b_ptr
Definition: h-type.h:121
void * vptr
void型ポインタ定義 / A standard pointer (to "void" because ANSI C says so)
Definition: h-type.h:45
#define huge
MSDOS及びWINDOWS環境で重複を避けるためのhuge_hack定義 / Hack – prevent problems with MSDOS and WINDOWS.
Definition: h-type.h:62
double real
doubleをreal型として定義 / Since float's are silly, hard code real numbers as doubles
Definition: h-type.h:47
s16b * s16b_ptr
Definition: h-type.h:119
u32b * u32b_ptr
Definition: h-type.h:122
#define uint
非マッキントッシュ環境で重複を避けるためのuint_hack型定義 / Hack – prevent problems with non-MACINTOSH
Definition: h-type.h:59
sint * sint_ptr
Definition: h-type.h:115
huge * huge_ptr
Definition: h-type.h:118
uint * uint_ptr
Definition: h-type.h:116
byte * byte_ptr
Definition: h-type.h:113
unsigned long huge
Definition: h-type.h:85
int errr
エラーコードの定義 / Error codes for function return values
Definition: h-type.h:56
unsigned short u16b
Definition: h-type.h:93
real * real_ptr
Definition: h-type.h:110
signed long s32b
Definition: h-type.h:101
sint(* func_cmp)(vptr, vptr)
Definition: h-type.h:137
vptr * vptr_ptr
Definition: h-type.h:123
int sint
sint型をintとして定義 / A signed, standard integer (at least 2 bytes)
Definition: h-type.h:78
vptr(* func_key)(vptr)
Definition: h-type.h:143
bool(* func_eql)(vptr, vptr)
Definition: h-type.h:134
bool * bool_ptr
Definition: h-type.h:114
u16b * u16b_ptr
Definition: h-type.h:120
unsigned int uint
Definition: h-type.h:79
unsigned long u32b
Definition: h-type.h:102
#define byte
AMIGA環境で重複を避けるためのbyte_hack定義 / Hack – prevent problems with AMIGA.
Definition: h-type.h:65
char * char_ptr
Definition: h-type.h:112
signed short s16b
Definition: h-type.h:92
#define bool
C++環境で重複を避けるためのbool_hack定義 Hack – prevent problems with C++.
Definition: h-type.h:68
errr * errr_ptr
Definition: h-type.h:111
cptr * cptr_ptr
Definition: h-type.h:124
uint(* func_hsh)(vptr, uint)
Definition: h-type.h:140
unsigned char byte
byte型をunsighned charとして定義 / Note that unsigned values can cause math problems / An unsigned byte of m...
Definition: h-type.h:76