Lines 1-175
Link Here
|
1 |
--- include/IL/il.h.orig Mon Jul 12 18:55:08 2004 |
|
|
2 |
+++ include/IL/il.h Mon Sep 17 19:36:05 2007 |
3 |
@@ -125,7 +125,6 @@ |
4 |
typedef float ILclampf; |
5 |
typedef double ILdouble; |
6 |
typedef double ILclampd; |
7 |
-typedef void ILvoid; |
8 |
|
9 |
#ifdef _UNICODE |
10 |
#ifndef _WIN32_WCE |
11 |
@@ -460,7 +459,7 @@ |
12 |
|
13 |
// Callback functions for file reading |
14 |
typedef void* ILHANDLE; |
15 |
-typedef ILvoid (ILAPIENTRY *fCloseRProc)(ILHANDLE); |
16 |
+typedef void (ILAPIENTRY *fCloseRProc)(ILHANDLE); |
17 |
typedef ILboolean (ILAPIENTRY *fEofProc) (ILHANDLE); |
18 |
typedef ILint (ILAPIENTRY *fGetcProc) (ILHANDLE); |
19 |
typedef ILHANDLE (ILAPIENTRY *fOpenRProc) (const ILstring); |
20 |
@@ -469,7 +468,7 @@ |
21 |
typedef ILint (ILAPIENTRY *fTellRProc) (ILHANDLE); |
22 |
|
23 |
// Callback functions for file writing |
24 |
-typedef ILvoid (ILAPIENTRY *fCloseWProc)(ILHANDLE); |
25 |
+typedef void (ILAPIENTRY *fCloseWProc)(ILHANDLE); |
26 |
typedef ILHANDLE (ILAPIENTRY *fOpenWProc) (const ILstring); |
27 |
typedef ILint (ILAPIENTRY *fPutcProc) (ILubyte, ILHANDLE); |
28 |
typedef ILint (ILAPIENTRY *fSeekWProc) (ILHANDLE, ILint, ILint); |
29 |
@@ -477,8 +476,8 @@ |
30 |
typedef ILint (ILAPIENTRY *fWriteProc) (const void*, ILuint, ILuint, ILHANDLE); |
31 |
|
32 |
// Callback functions for allocation and deallocation |
33 |
-typedef ILvoid* (ILAPIENTRY *mAlloc)(ILuint); |
34 |
-typedef ILvoid (ILAPIENTRY *mFree) (ILvoid*); |
35 |
+typedef void* (ILAPIENTRY *mAlloc)(ILuint); |
36 |
+typedef void (ILAPIENTRY *mFree) (void*); |
37 |
|
38 |
// Registered format procedures |
39 |
typedef ILenum (ILAPIENTRY *IL_LOADPROC)(const ILstring); |
40 |
@@ -491,91 +490,91 @@ |
41 |
ILAPI ILboolean ILAPIENTRY ilActiveMipmap(ILuint Number); |
42 |
ILAPI ILboolean ILAPIENTRY ilApplyPal(const ILstring FileName); |
43 |
ILAPI ILboolean ILAPIENTRY ilApplyProfile(const ILstring InProfile, const ILstring OutProfile); |
44 |
-ILAPI ILvoid ILAPIENTRY ilBindImage(ILuint Image); |
45 |
+ILAPI void ILAPIENTRY ilBindImage(ILuint Image); |
46 |
ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint Height, ILuint Depth); |
47 |
-ILAPI ILvoid ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha); |
48 |
-ILAPI ILboolean ILAPIENTRY ilClearImage(ILvoid); |
49 |
-ILAPI ILuint ILAPIENTRY ilCloneCurImage(ILvoid); |
50 |
+ILAPI void ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha); |
51 |
+ILAPI ILboolean ILAPIENTRY ilClearImage(void); |
52 |
+ILAPI ILuint ILAPIENTRY ilCloneCurImage(void); |
53 |
ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode); |
54 |
ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestType); |
55 |
ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat); |
56 |
ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src); |
57 |
-ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data); |
58 |
+ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data); |
59 |
ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num); |
60 |
-ILAPI ILboolean ILAPIENTRY ilDefaultImage(ILvoid); |
61 |
-ILAPI ILvoid ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images); |
62 |
+ILAPI ILboolean ILAPIENTRY ilDefaultImage(void); |
63 |
+ILAPI void ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images); |
64 |
ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode); |
65 |
ILAPI ILboolean ILAPIENTRY ilEnable(ILenum Mode); |
66 |
ILAPI ILboolean ILAPIENTRY ilFormatFunc(ILenum Mode); |
67 |
-ILAPI ILvoid ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images); |
68 |
+ILAPI void ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images); |
69 |
ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum Type); |
70 |
-ILAPI ILvoid ILAPIENTRY ilModAlpha( ILdouble AlphaValue ); |
71 |
-ILAPI ILvoid ILAPIENTRY ilSetAlpha( ILdouble AlphaValue ); |
72 |
+ILAPI void ILAPIENTRY ilModAlpha( ILdouble AlphaValue ); |
73 |
+ILAPI void ILAPIENTRY ilSetAlpha( ILdouble AlphaValue ); |
74 |
ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode); |
75 |
-ILAPI ILvoid ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param); |
76 |
-ILAPI ILubyte* ILAPIENTRY ilGetData(ILvoid); |
77 |
-ILAPI ILuint ILAPIENTRY ilGetDXTCData(ILvoid *Buffer, ILuint BufferSize, ILenum DXTCFormat); |
78 |
-ILAPI ILenum ILAPIENTRY ilGetError(ILvoid); |
79 |
+ILAPI void ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param); |
80 |
+ILAPI ILubyte* ILAPIENTRY ilGetData(void); |
81 |
+ILAPI ILuint ILAPIENTRY ilGetDXTCData(void *Buffer, ILuint BufferSize, ILenum DXTCFormat); |
82 |
+ILAPI ILenum ILAPIENTRY ilGetError(void); |
83 |
ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode); |
84 |
-ILAPI ILvoid ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param); |
85 |
-ILAPI ILuint ILAPIENTRY ilGetLumpPos(ILvoid); |
86 |
-ILAPI ILubyte* ILAPIENTRY ilGetPalette(ILvoid); |
87 |
+ILAPI void ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param); |
88 |
+ILAPI ILuint ILAPIENTRY ilGetLumpPos(void); |
89 |
+ILAPI ILubyte* ILAPIENTRY ilGetPalette(void); |
90 |
ILAPI const ILstring ILAPIENTRY ilGetString(ILenum StringName); |
91 |
-ILAPI ILvoid ILAPIENTRY ilHint(ILenum Target, ILenum Mode); |
92 |
-ILAPI ILvoid ILAPIENTRY ilInit(ILvoid); |
93 |
+ILAPI void ILAPIENTRY ilHint(ILenum Target, ILenum Mode); |
94 |
+ILAPI void ILAPIENTRY ilInit(void); |
95 |
ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode); |
96 |
ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode); |
97 |
ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image); |
98 |
ILAPI ILboolean ILAPIENTRY ilIsValid(ILenum Type, const ILstring FileName); |
99 |
ILAPI ILboolean ILAPIENTRY ilIsValidF(ILenum Type, ILHANDLE File); |
100 |
-ILAPI ILboolean ILAPIENTRY ilIsValidL(ILenum Type, ILvoid *Lump, ILuint Size); |
101 |
-ILAPI ILvoid ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha); |
102 |
+ILAPI ILboolean ILAPIENTRY ilIsValidL(ILenum Type, void *Lump, ILuint Size); |
103 |
+ILAPI void ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha); |
104 |
ILAPI ILboolean ILAPIENTRY ilLoad(ILenum Type, const ILstring FileName); |
105 |
ILAPI ILboolean ILAPIENTRY ilLoadF(ILenum Type, ILHANDLE File); |
106 |
ILAPI ILboolean ILAPIENTRY ilLoadImage(const ILstring FileName); |
107 |
-ILAPI ILboolean ILAPIENTRY ilLoadL(ILenum Type, ILvoid *Lump, ILuint Size); |
108 |
+ILAPI ILboolean ILAPIENTRY ilLoadL(ILenum Type, void *Lump, ILuint Size); |
109 |
ILAPI ILboolean ILAPIENTRY ilLoadPal(const ILstring FileName); |
110 |
ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode); |
111 |
ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord); |
112 |
-ILAPI ILvoid ILAPIENTRY ilPopAttrib(ILvoid); |
113 |
-ILAPI ILvoid ILAPIENTRY ilPushAttrib(ILuint Bits); |
114 |
-ILAPI ILvoid ILAPIENTRY ilRegisterFormat(ILenum Format); |
115 |
+ILAPI void ILAPIENTRY ilPopAttrib(void); |
116 |
+ILAPI void ILAPIENTRY ilPushAttrib(ILuint Bits); |
117 |
+ILAPI void ILAPIENTRY ilRegisterFormat(ILenum Format); |
118 |
ILAPI ILboolean ILAPIENTRY ilRegisterLoad(const ILstring Ext, IL_LOADPROC Load); |
119 |
ILAPI ILboolean ILAPIENTRY ilRegisterMipNum(ILuint Num); |
120 |
ILAPI ILboolean ILAPIENTRY ilRegisterNumImages(ILuint Num); |
121 |
-ILAPI ILvoid ILAPIENTRY ilRegisterOrigin(ILenum Origin); |
122 |
-ILAPI ILvoid ILAPIENTRY ilRegisterPal(ILvoid *Pal, ILuint Size, ILenum Type); |
123 |
+ILAPI void ILAPIENTRY ilRegisterOrigin(ILenum Origin); |
124 |
+ILAPI void ILAPIENTRY ilRegisterPal(void *Pal, ILuint Size, ILenum Type); |
125 |
ILAPI ILboolean ILAPIENTRY ilRegisterSave(const ILstring Ext, IL_SAVEPROC Save); |
126 |
-ILAPI ILvoid ILAPIENTRY ilRegisterType(ILenum Type); |
127 |
+ILAPI void ILAPIENTRY ilRegisterType(ILenum Type); |
128 |
ILAPI ILboolean ILAPIENTRY ilRemoveLoad(const ILstring Ext); |
129 |
ILAPI ILboolean ILAPIENTRY ilRemoveSave(const ILstring Ext); |
130 |
-ILAPI ILvoid ILAPIENTRY ilResetMemory(ILvoid); |
131 |
-ILAPI ILvoid ILAPIENTRY ilResetRead(ILvoid); |
132 |
-ILAPI ILvoid ILAPIENTRY ilResetWrite(ILvoid); |
133 |
+ILAPI void ILAPIENTRY ilResetMemory(void); |
134 |
+ILAPI void ILAPIENTRY ilResetRead(void); |
135 |
+ILAPI void ILAPIENTRY ilResetWrite(void); |
136 |
ILAPI ILboolean ILAPIENTRY ilSave(ILenum Type, const ILstring FileName); |
137 |
ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File); |
138 |
ILAPI ILboolean ILAPIENTRY ilSaveImage(const ILstring FileName); |
139 |
-ILAPI ILuint ILAPIENTRY ilSaveL(ILenum Type, ILvoid *Lump, ILuint Size); |
140 |
+ILAPI ILuint ILAPIENTRY ilSaveL(ILenum Type, void *Lump, ILuint Size); |
141 |
ILAPI ILboolean ILAPIENTRY ilSavePal(const ILstring FileName); |
142 |
-ILAPI ILboolean ILAPIENTRY ilSetData(ILvoid *Data); |
143 |
+ILAPI ILboolean ILAPIENTRY ilSetData(void *Data); |
144 |
ILAPI ILboolean ILAPIENTRY ilSetDuration(ILuint Duration); |
145 |
-ILAPI ILvoid ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param); |
146 |
-ILAPI ILvoid ILAPIENTRY ilSetMemory(mAlloc, mFree); |
147 |
-ILAPI ILvoid ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data); |
148 |
-ILAPI ILvoid ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc); |
149 |
-ILAPI ILvoid ILAPIENTRY ilSetString(ILenum Mode, const char *String); |
150 |
-ILAPI ILvoid ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc); |
151 |
-ILAPI ILvoid ILAPIENTRY ilShutDown(ILvoid); |
152 |
-ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data); |
153 |
+ILAPI void ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param); |
154 |
+ILAPI void ILAPIENTRY ilSetMemory(mAlloc, mFree); |
155 |
+ILAPI void ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data); |
156 |
+ILAPI void ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc); |
157 |
+ILAPI void ILAPIENTRY ilSetString(ILenum Mode, const char *String); |
158 |
+ILAPI void ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc); |
159 |
+ILAPI void ILAPIENTRY ilShutDown(void); |
160 |
+ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, void *Data); |
161 |
ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode); |
162 |
|
163 |
ILAPI ILboolean ILAPIENTRY ilLoadData(const ILstring FileName, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); |
164 |
ILAPI ILboolean ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); |
165 |
-ILAPI ILboolean ILAPIENTRY ilLoadDataL(ILvoid *Lump, ILuint Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); |
166 |
+ILAPI ILboolean ILAPIENTRY ilLoadDataL(void *Lump, ILuint Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp); |
167 |
ILAPI ILboolean ILAPIENTRY ilSaveData(const ILstring FileName); |
168 |
|
169 |
-ILAPI ILboolean ILAPIENTRY ilLoadFromJpegStruct(ILvoid* JpegDecompressorPtr); |
170 |
-ILAPI ILboolean ILAPIENTRY ilSaveFromJpegStruct(ILvoid* JpegCompressorPtr); |
171 |
+ILAPI ILboolean ILAPIENTRY ilLoadFromJpegStruct(void* JpegDecompressorPtr); |
172 |
+ILAPI ILboolean ILAPIENTRY ilSaveFromJpegStruct(void* JpegCompressorPtr); |
173 |
|
174 |
// For all those weirdos that spell "colour" without the 'u'. |
175 |
#define ilClearColor ilClearColour |