moved almost all hardcoded constants to "define.dat"
[k8-i-v-a-n.git] / src / felib / typedef.h
blobeac726effdd77574b2fa9947ed9f927bdd0b1bd4
1 /*
3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
6 * Public License
8 * See LICENSING which should be included
9 * along with this file for more details
12 #ifndef __FELIB_TYPEDEF_H__
13 #define __FELIB_TYPEDEF_H__
15 #include <stdint.h>
17 #include "pragmas.h"
20 class bitmap;
21 class festring;
22 struct blitdata;
23 struct v2;
25 typedef int32_t truth;
26 typedef uint8_t uChar;
27 typedef uint16_t uShort;
28 typedef uint32_t uInt;
29 typedef uint32_t feuLong; // uint64_t?
30 typedef int32_t sLong;
31 typedef int32_t col16;
32 typedef uShort packcol16;
33 typedef feuLong col24;
34 typedef int32_t alpha;
35 typedef uChar packalpha;
36 typedef int32_t priority;
37 typedef uChar packpriority;
38 typedef uChar paletteindex;
40 typedef const char cchar;
41 typedef const int32_t cint;
42 typedef const int32_t ctruth;
43 typedef const uint8_t cuchar;
44 typedef const uint16_t cushort;
45 typedef const uint32_t cuint;
46 typedef const uint32_t culong; // uint64_t?
47 typedef const int32_t cslong;
48 typedef const int32_t ccol16;
49 typedef const uShort cpackcol16;
50 typedef const feuLong ccol24;
51 typedef const int32_t calpha;
52 typedef const uChar cpackalpha;
53 typedef const int32_t cpriority;
54 typedef const uChar cpackpriority;
55 typedef const uChar cpaletteindex;
57 typedef const bitmap cbitmap;
58 typedef const blitdata cblitdata;
59 typedef const festring cfestring;
60 typedef const v2 cv2;
63 #endif