1 // ----------------------------------------------------------------------------
2 // PROJECT: SIMULATION GENERATION FRAMEWORK (SIMGEN)
4 // AUTHOR: Kevin M. Kramer
8 // DATE INITIALS DESCRIPTION
9 // -------- -------- ------------------------------------------------------
10 // 09/15/94 KMK initial implementation
11 // ??/??/96 JJF seperate it from the headers
13 // DESCRIPTION: Terminology / Nomenclature in programming
14 // Type definitions and macro definitions, if handled by the
15 // precompiler, should not increase the size of the executable,
16 // nor the objective code.
17 // ----------------------------------------------------------------------------
23 ///////////////////////////////////////////////////////////////////////////////
24 //////////////////////////// TYPE DEFINITIONS ///////////////////////////////
25 ///////////////////////////////////////////////////////////////////////////////
31 // global type definitions
32 typedef int BOOL
; // f
33 typedef unsigned char BYTE
; // b
34 typedef unsigned int UINT
; // u
35 typedef char * PSTR
; // psz
36 typedef int * PINT
; // pn
37 typedef long * PLONG
; // pl
39 typedef void * PVOID
; // pv
40 typedef int * PBOOL
; // pf
42 typedef int I3ARRAY
[3]; // i3a x1, x2, x3 coordinates
43 typedef void (*PFV
) (BOOL
);
46 typedef float REAL
; // r
47 typedef float * PREAL
; // pr
48 typedef float (*PFEQU
) (I3ARRAY
);
49 typedef void (*PFPD
) (float *, UINT
*, I3ARRAY
);
51 typedef long double REAL
; // r
52 typedef long double * PREAL
; // pr
53 typedef long double (*PFEQU
) (I3ARRAY
);
54 typedef void (*PFPD
) (long double *, UINT
*, I3ARRAY
);
56 typedef double REAL
; // r
57 typedef double * PREAL
; // pr
58 typedef double (*PFEQU
) (I3ARRAY
);
59 typedef void (*PFPD
) (double *, UINT
*, I3ARRAY
);
62 typedef double (*PRF
) (); // prf
63 typedef double (*PRF1
)(double); // prf1
64 typedef double (*PRF2
)(double, double); // prf2
65 typedef double (*PRF3
)(double, double, double); // prf3
66 typedef double (*PRF4
)(double, double, double, double); // prf4
67 typedef double (*PRF5
)(double, double, double, double, double); // prf5
69 typedef unsigned char UCHAR
; // uch
70 typedef unsigned long ULONG
; // ul
71 typedef unsigned long DWORD
; // dw
72 typedef unsigned long *PDWORD
; // pdw
75 typedef unsigned int WORD
; // w
76 typedef unsigned int *PWORD
; // pw
77 #define O_BINARY 0x0000