Browse Source

Unified include guards

Thomas Buck 11 years ago
parent
commit
97e20e78b8

+ 2
- 2
include/BoundingVolume.h View File

25
  ================================================================*/
25
  ================================================================*/
26
 
26
 
27
 
27
 
28
-#ifndef GUARD__LIBHEL_MONGOOSE_BOUNDINGVOLUME_H_
29
-#define GUARD__LIBHEL_MONGOOSE_BOUNDINGVOLUME_H_
28
+#ifndef _BOUNDINGVOLUME_H_
29
+#define _BOUNDINGVOLUME_H_
30
 
30
 
31
 #include <MatMath.h>
31
 #include <MatMath.h>
32
 
32
 

+ 2
- 2
include/Camera.h View File

35
  ================================================================*/
35
  ================================================================*/
36
 
36
 
37
 
37
 
38
-#ifndef __HEL_MONGOOSE_CAMERA_H_
39
-#define __HEL_MONGOOSE_CAMERA_H_
38
+#ifndef _CAMERA_H_
39
+#define _CAMERA_H_
40
 
40
 
41
 #include <MatMath.h>
41
 #include <MatMath.h>
42
 #include <Matrix.h>
42
 #include <Matrix.h>

+ 2
- 2
include/Emitter.h View File

23
  ================================================================*/
23
  ================================================================*/
24
 
24
 
25
 
25
 
26
-#ifndef __FREYJA_MONGOOSE_EMITTER_H_
27
-#define __FREYJA_MONGOOSE_EMITTER_H_
26
+#ifndef _EMITTER_H_
27
+#define _EMITTER_H_
28
 
28
 
29
 #include <Particle.h>
29
 #include <Particle.h>
30
 
30
 

+ 2
- 2
include/Entity.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__HEL_MONGOOSE_ENTITY_H_
28
-#define GUARD__HEL_MONGOOSE_ENTITY_H_
27
+#ifndef _ENTITY_H_
28
+#define _ENTITY_H_
29
 
29
 
30
 #include <MatMath.h>
30
 #include <MatMath.h>
31
 #include <BoundingVolume.h>
31
 #include <BoundingVolume.h>

+ 2
- 2
include/GLString.h View File

6
  * \author xythobuz
6
  * \author xythobuz
7
  */
7
  */
8
 
8
 
9
-#ifndef __MTK_MONGOOSE_GLSTRING_H_
10
-#define __MTK_MONGOOSE_GLSTRING_H_
9
+#ifndef _GLSTRING_H_
10
+#define _GLSTRING_H_
11
 
11
 
12
 /*!
12
 /*!
13
  * \brief Internal data structure representing GL Strings
13
  * \brief Internal data structure representing GL Strings

+ 2
- 2
include/List.h View File

21
  ================================================================*/
21
  ================================================================*/
22
 
22
 
23
 
23
 
24
-#ifndef __FREYJA_MONGOOSE_LIST_H_
25
-#define __FREYJA_MONGOOSE_LIST_H_
24
+#ifndef _LIST_H_
25
+#define _LIST_H_
26
 
26
 
27
 #include <stdlib.h>
27
 #include <stdlib.h>
28
 #include <limits.h>
28
 #include <limits.h>

+ 2
- 2
include/Map.h View File

33
  ================================================================*/
33
  ================================================================*/
34
 
34
 
35
 
35
 
36
-#ifndef __FREYJA_MONGOOSE_MAP_H_
37
-#define __FREYJA_MONGOOSE_MAP_H_
36
+#ifndef _MAP_H_
37
+#define _MAP_H_
38
 
38
 
39
 #include <stdlib.h>
39
 #include <stdlib.h>
40
 #include <stdio.h>
40
 #include <stdio.h>

+ 2
- 2
include/MatMath.h View File

20
  ================================================================*/
20
  ================================================================*/
21
 
21
 
22
 
22
 
23
-#ifndef __FREYJA_MONGOOSE_MATH_H
24
-#define __FREYJA_MONGOOSE_MATH_H
23
+#ifndef _MATMATH_H
24
+#define _MATMATH_H
25
 
25
 
26
 #define HEL_PI           3.14159265358979323846  /* pi */
26
 #define HEL_PI           3.14159265358979323846  /* pi */
27
 #define HEL_PI_OVER_2    1.57079632679489661923  /* pi/2 */
27
 #define HEL_PI_OVER_2    1.57079632679489661923  /* pi/2 */

+ 2
- 2
include/Matrix.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__FREYJA_MONGOOSE_MATRIX_H_
28
-#define GUARD__FREYJA_MONGOOSE_MATRIX_H_
27
+#ifndef _MATRIX_H_
28
+#define _MATRIX_H_
29
 
29
 
30
 
30
 
31
 #include <MatMath.h>
31
 #include <MatMath.h>

+ 41
- 41
include/Network.h View File

1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
2
 /*================================================================
2
 /*================================================================
3
- * 
3
+ *
4
  * Project : UnRaider
4
  * Project : UnRaider
5
  * Author  : Terry 'Mongoose' Hendrix II
5
  * Author  : Terry 'Mongoose' Hendrix II
6
  * Website : http://www.westga.edu/~stu7440/
6
  * Website : http://www.westga.edu/~stu7440/
7
  * Email   : stu7440@westga.edu
7
  * Email   : stu7440@westga.edu
8
  * Object  : Network
8
  * Object  : Network
9
  * License : No use w/o permission (C) 2002 Mongoose
9
  * License : No use w/o permission (C) 2002 Mongoose
10
- * Comments: 
10
+ * Comments:
11
  *
11
  *
12
  *
12
  *
13
- *           This file was generated using Mongoose's C++ 
13
+ *           This file was generated using Mongoose's C++
14
  *           template generator script.  <stu7440@westga.edu>
14
  *           template generator script.  <stu7440@westga.edu>
15
- * 
16
- *-- History ------------------------------------------------ 
15
+ *
16
+ *-- History ------------------------------------------------
17
  *
17
  *
18
  * 2002.06.21:
18
  * 2002.06.21:
19
  * Mongoose - Created
19
  * Mongoose - Created
20
  ================================================================*/
20
  ================================================================*/
21
 
21
 
22
 
22
 
23
-#ifndef __UNRAIDER_MONGOOSE_NETWORK_H_
24
-#define __UNRAIDER_MONGOOSE_NETWORK_H_
23
+#ifndef _NETWORK_H_
24
+#define _NETWORK_H_
25
 
25
 
26
 /*----------------------------------------------
26
 /*----------------------------------------------
27
  * The packet holds the data for the network
27
  * The packet holds the data for the network
86
 
86
 
87
 	static Network *Instance();
87
 	static Network *Instance();
88
 	/*------------------------------------------------------
88
 	/*------------------------------------------------------
89
-	 * Pre  : 
89
+	 * Pre  :
90
 	 * Post : Constructs the object of Network or
90
 	 * Post : Constructs the object of Network or
91
 	 *        returns pointer to it if previously allocated
91
 	 *        returns pointer to it if previously allocated
92
 	 *
92
 	 *
93
 	 *-- History ------------------------------------------
93
 	 *-- History ------------------------------------------
94
 	 *
94
 	 *
95
-	 * 2001.08.24: 
95
+	 * 2001.08.24:
96
 	 * Mongoose - Created
96
 	 * Mongoose - Created
97
 	 ------------------------------------------------------*/
97
 	 ------------------------------------------------------*/
98
 
98
 
103
 	 *
103
 	 *
104
 	 *-- History ------------------------------------------
104
 	 *-- History ------------------------------------------
105
 	 *
105
 	 *
106
-	 * 2002.06.21: 
106
+	 * 2002.06.21:
107
 	 * Mongoose - Created
107
 	 * Mongoose - Created
108
 	 ------------------------------------------------------*/
108
 	 ------------------------------------------------------*/
109
 
109
 
110
 	////////////////////////////////////////////////////////////
110
 	////////////////////////////////////////////////////////////
111
 	// Public Accessors
111
 	// Public Accessors
112
 	////////////////////////////////////////////////////////////
112
 	////////////////////////////////////////////////////////////
113
-	
113
+
114
 	network_frame_t &getPiggyBack();
114
 	network_frame_t &getPiggyBack();
115
 	/*------------------------------------------------------
115
 	/*------------------------------------------------------
116
-	 * Pre  : 
117
-	 * Post : 
116
+	 * Pre  :
117
+	 * Post :
118
 	 *
118
 	 *
119
 	 *-- History ------------------------------------------
119
 	 *-- History ------------------------------------------
120
 	 *
120
 	 *
124
 
124
 
125
 	unsigned int getUID();
125
 	unsigned int getUID();
126
 	/*------------------------------------------------------
126
 	/*------------------------------------------------------
127
-	 * Pre  : 
128
-	 * Post : 
127
+	 * Pre  :
128
+	 * Post :
129
 	 *
129
 	 *
130
 	 *-- History ------------------------------------------
130
 	 *-- History ------------------------------------------
131
 	 *
131
 	 *
135
 
135
 
136
 	float getRandom(float from, float to);
136
 	float getRandom(float from, float to);
137
 	/*------------------------------------------------------
137
 	/*------------------------------------------------------
138
-	 * Pre  : 
139
-	 * Post : 
138
+	 * Pre  :
139
+	 * Post :
140
 	 *
140
 	 *
141
 	 *-- History ------------------------------------------
141
 	 *-- History ------------------------------------------
142
 	 *
142
 	 *
146
 
146
 
147
 	int getPort();
147
 	int getPort();
148
 	/*------------------------------------------------------
148
 	/*------------------------------------------------------
149
-	 * Pre  : 
150
-	 * Post : 
149
+	 * Pre  :
150
+	 * Post :
151
 	 *
151
 	 *
152
 	 *-- History ------------------------------------------
152
 	 *-- History ------------------------------------------
153
 	 *
153
 	 *
161
 
161
 
162
 	void setDebug(bool toggle);
162
 	void setDebug(bool toggle);
163
 	/*------------------------------------------------------
163
 	/*------------------------------------------------------
164
-	 * Pre  : 
165
-	 * Post : 
164
+	 * Pre  :
165
+	 * Post :
166
 	 *
166
 	 *
167
 	 *-- History ------------------------------------------
167
 	 *-- History ------------------------------------------
168
 	 *
168
 	 *
172
 
172
 
173
 	void setPort(unsigned int port);
173
 	void setPort(unsigned int port);
174
 	/*------------------------------------------------------
174
 	/*------------------------------------------------------
175
-	 * Pre  : 
176
-	 * Post : 
175
+	 * Pre  :
176
+	 * Post :
177
 	 *
177
 	 *
178
 	 *-- History ------------------------------------------
178
 	 *-- History ------------------------------------------
179
 	 *
179
 	 *
183
 
183
 
184
 	void setBindHost(char *s);
184
 	void setBindHost(char *s);
185
 	/*------------------------------------------------------
185
 	/*------------------------------------------------------
186
-	 * Pre  : 
187
-	 * Post : 
186
+	 * Pre  :
187
+	 * Post :
188
 	 *
188
 	 *
189
 	 *-- History ------------------------------------------
189
 	 *-- History ------------------------------------------
190
 	 *
190
 	 *
194
 
194
 
195
 	void setRemoteHost(char *s);
195
 	void setRemoteHost(char *s);
196
 	/*------------------------------------------------------
196
 	/*------------------------------------------------------
197
-	 * Pre  : 
198
-	 * Post : 
197
+	 * Pre  :
198
+	 * Post :
199
 	 *
199
 	 *
200
 	 *-- History ------------------------------------------
200
 	 *-- History ------------------------------------------
201
 	 *
201
 	 *
205
 
205
 
206
 	void killServerThread();
206
 	void killServerThread();
207
 	/*------------------------------------------------------
207
 	/*------------------------------------------------------
208
-	 * Pre  : 
209
-	 * Post : 
208
+	 * Pre  :
209
+	 * Post :
210
 	 *
210
 	 *
211
 	 *-- History ------------------------------------------
211
 	 *-- History ------------------------------------------
212
 	 *
212
 	 *
216
 
216
 
217
 	void killClientThread();
217
 	void killClientThread();
218
 	/*------------------------------------------------------
218
 	/*------------------------------------------------------
219
-	 * Pre  : 
220
-	 * Post : 
219
+	 * Pre  :
220
+	 * Post :
221
 	 *
221
 	 *
222
 	 *-- History ------------------------------------------
222
 	 *-- History ------------------------------------------
223
 	 *
223
 	 *
227
 
227
 
228
 	void spawnServerThread();
228
 	void spawnServerThread();
229
 	/*------------------------------------------------------
229
 	/*------------------------------------------------------
230
-	 * Pre  : 
231
-	 * Post : 
230
+	 * Pre  :
231
+	 * Post :
232
 	 *
232
 	 *
233
 	 *-- History ------------------------------------------
233
 	 *-- History ------------------------------------------
234
 	 *
234
 	 *
238
 
238
 
239
 	void spawnClientThread();
239
 	void spawnClientThread();
240
 	/*------------------------------------------------------
240
 	/*------------------------------------------------------
241
-	 * Pre  : 
242
-	 * Post : 
241
+	 * Pre  :
242
+	 * Post :
243
 	 *
243
 	 *
244
 	 *-- History ------------------------------------------
244
 	 *-- History ------------------------------------------
245
 	 *
245
 	 *
249
 
249
 
250
 	int runServer();
250
 	int runServer();
251
 	/*------------------------------------------------------
251
 	/*------------------------------------------------------
252
-	 * Pre  : 
253
-	 * Post : 
252
+	 * Pre  :
253
+	 * Post :
254
 	 *
254
 	 *
255
 	 *-- History ------------------------------------------
255
 	 *-- History ------------------------------------------
256
 	 *
256
 	 *
260
 
260
 
261
 	void runClient();
261
 	void runClient();
262
 	/*------------------------------------------------------
262
 	/*------------------------------------------------------
263
-	 * Pre  : 
264
-	 * Post : 
263
+	 * Pre  :
264
+	 * Post :
265
 	 *
265
 	 *
266
 	 *-- History ------------------------------------------
266
 	 *-- History ------------------------------------------
267
 	 *
267
 	 *
277
 
277
 
278
 	Network();
278
 	Network();
279
 	/*------------------------------------------------------
279
 	/*------------------------------------------------------
280
-	 * Pre  : 
280
+	 * Pre  :
281
 	 * Post : Constructs an object of Network
281
 	 * Post : Constructs an object of Network
282
 	 *
282
 	 *
283
 	 *-- History ------------------------------------------
283
 	 *-- History ------------------------------------------
284
 	 *
284
 	 *
285
-	 * 2002.06.21: 
285
+	 * 2002.06.21:
286
 	 * Mongoose - Created
286
 	 * Mongoose - Created
287
 	 ------------------------------------------------------*/
287
 	 ------------------------------------------------------*/
288
 
288
 

+ 2
- 2
include/OpenGLMesh.h View File

7
  * \todo Unify the parallel systems here, arrays and the allocate/set
7
  * \todo Unify the parallel systems here, arrays and the allocate/set
8
  */
8
  */
9
 
9
 
10
-#ifndef GUARD__OPENRAIDER_MONGOOSE_OPENGLMESH_H_
11
-#define GUARD__OPENRAIDER_MONGOOSE_OPENGLMESH_H_
10
+#ifndef _OPENGLMESH_H_
11
+#define _OPENGLMESH_H_
12
 
12
 
13
 #include <MatMath.h>
13
 #include <MatMath.h>
14
 
14
 

+ 2
- 2
include/OpenRaider.h View File

23
  ================================================================*/
23
  ================================================================*/
24
 
24
 
25
 
25
 
26
-#ifndef GUARD__OPENRAIDER_MONGOOSE_OPENRAIDER_H_
27
-#define GUARD__OPENRAIDER_MONGOOSE_OPENRAIDER_H_
26
+#ifndef _OPENRAIDER_H_
27
+#define _OPENRAIDER_H_
28
 
28
 
29
 
29
 
30
 #include <List.h>
30
 #include <List.h>

+ 2
- 2
include/Particle.h View File

5
  * \author Mongoose
5
  * \author Mongoose
6
  */
6
  */
7
 
7
 
8
-#ifndef __FREYJA_MONGOOSE_PARTICLE_H_
9
-#define __FREYJA_MONGOOSE_PARTICLE_H_
8
+#ifndef _PARTICLE_H_
9
+#define _PARTICLE_H_
10
 
10
 
11
 #include <MatMath.h>
11
 #include <MatMath.h>
12
 
12
 

+ 2
- 2
include/Quaternion.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__HEL_MONGOOSE_QUATERNION_H_
28
-#define GUARD__HEL_MONGOOSE_QUATERNION_H_
27
+#ifndef _QUATERNION_H_
28
+#define _QUATERNION_H_
29
 
29
 
30
 #include <MatMath.h>
30
 #include <MatMath.h>
31
 
31
 

+ 2
- 2
include/Render.h View File

20
  ================================================================*/
20
  ================================================================*/
21
 
21
 
22
 
22
 
23
-#ifndef GUARD__RENDER_MONGOOSE_RENDER_H_
24
-#define GUARD__RENDER_MONGOOSE_RENDER_H_
23
+#ifndef _RENDER_H_
24
+#define _RENDER_H_
25
 
25
 
26
 #include <List.h>
26
 #include <List.h>
27
 #include <Vector.h>
27
 #include <Vector.h>

+ 2
- 2
include/SDLSystem.h View File

20
  ================================================================*/
20
  ================================================================*/
21
 
21
 
22
 
22
 
23
-#ifndef GUARD__UNRAIDER_MONGOOSE_SDLSYSTEM_H_
24
-#define GUARD__UNRAIDER_MONGOOSE_SDLSYSTEM_H_
23
+#ifndef _SDLSYSTEM_H_
24
+#define _SDLSYSTEM_H_
25
 
25
 
26
 #ifdef SDL_INTERFACE
26
 #ifdef SDL_INTERFACE
27
 #   include <SDL/SDL.h>
27
 #   include <SDL/SDL.h>

+ 2
- 2
include/SkeletalModel.h View File

11
  * Better animation system in general - this is memory wasteful
11
  * Better animation system in general - this is memory wasteful
12
  */
12
  */
13
 
13
 
14
-#ifndef GUARD__OPENRAIDER_MONGOOSE_SKELETALMODEL_H_
15
-#define GUARD__OPENRAIDER_MONGOOSE_SKELETALMODEL_H_
14
+#ifndef _SKELETALMODEL_H_
15
+#define _SKELETALMODEL_H_
16
 
16
 
17
 #include <Vector.h>
17
 #include <Vector.h>
18
 #include <MatMath.h>
18
 #include <MatMath.h>

+ 2
- 2
include/Sound.h View File

6
  * \author xythobuz
6
  * \author xythobuz
7
  */
7
  */
8
 
8
 
9
-#ifndef __OPENRAIDER_MONGOOSE_SOUND_H_
10
-#define __OPENRAIDER_MONGOOSE_SOUND_H_
9
+#ifndef _SOUND_H_
10
+#define _SOUND_H_
11
 
11
 
12
 /*!
12
 /*!
13
  * \brief This is the audio manager for OpenRaider
13
  * \brief This is the audio manager for OpenRaider

+ 2
- 2
include/System.h View File

8
  * \author xythobuz
8
  * \author xythobuz
9
  */
9
  */
10
 
10
 
11
-#ifndef GUARD__UNRAIDER_MONGOOSE_SYSTEM_H_
12
-#define GUARD__UNRAIDER_MONGOOSE_SYSTEM_H_
11
+#ifndef _SYSTEM_H_
12
+#define _SYSTEM_H_
13
 
13
 
14
 #include <Map.h>
14
 #include <Map.h>
15
 #include <Vector.h>
15
 #include <Vector.h>

+ 2
- 2
include/Texture.h View File

29
  ==========================================================================*/
29
  ==========================================================================*/
30
 
30
 
31
 
31
 
32
-#ifndef __MTK_MONGOOSE_MTKTEXTURE_H
33
-#define __MTK_MONGOOSE_MTKTEXTURE_H
32
+#ifndef _TEXTURE_H
33
+#define _TEXTURE_H
34
 
34
 
35
 #include <stdio.h>
35
 #include <stdio.h>
36
 
36
 

+ 2
- 2
include/TombRaider.h View File

66
  *                TR Rosetta Stone ( TombRaider pak format specs )
66
  *                TR Rosetta Stone ( TombRaider pak format specs )
67
  ================================================================*/
67
  ================================================================*/
68
 
68
 
69
-#ifndef __OPENRAIDER_MONGOOSE_TOMBRAIDER_H_
70
-#define __OPENRAIDER_MONGOOSE_TOMBRAIDER_H_
69
+#ifndef _TOMBRAIDER_H_
70
+#define _TOMBRAIDER_H_
71
 
71
 
72
 #ifdef WIN32
72
 #ifdef WIN32
73
 // Have to remove GCC packing, by removing in preprocessor
73
 // Have to remove GCC packing, by removing in preprocessor

+ 7
- 7
include/TombRaider1.h View File

1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
2
 /*================================================================
2
 /*================================================================
3
- * 
3
+ *
4
  * Project : OpenRaider
4
  * Project : OpenRaider
5
  * Author  : Mongoose
5
  * Author  : Mongoose
6
  * Website : http://www.westga.edu/~stu7440/
6
  * Website : http://www.westga.edu/~stu7440/
9
  * License : GPL, See file COPYING for details
9
  * License : GPL, See file COPYING for details
10
  * Comments: Loads TR 1 states and etc
10
  * Comments: Loads TR 1 states and etc
11
  *
11
  *
12
- *           This file was generated using Mongoose's C++ 
12
+ *           This file was generated using Mongoose's C++
13
  *           template generator script.  <stu7440@westga.edu>
13
  *           template generator script.  <stu7440@westga.edu>
14
- * 
15
- *-- History ------------------------------------------------ 
14
+ *
15
+ *-- History ------------------------------------------------
16
  *
16
  *
17
  * Mongoose - Created, based on:
17
  * Mongoose - Created, based on:
18
  *                TR Rosetta Stone ( TombRaider pak format specs )
18
  *                TR Rosetta Stone ( TombRaider pak format specs )
19
  ================================================================*/
19
  ================================================================*/
20
 
20
 
21
-#ifndef __OPENRAIDER_MONGOOSE_TOMBRAIDER1_H_
22
-#define __OPENRAIDER_MONGOOSE_TOMBRAIDER1_H_
21
+#ifndef _TOMBRAIDER1_H_
22
+#define _TOMBRAIDER1_H_
23
 
23
 
24
 
24
 
25
 class TombRaider1
25
 class TombRaider1
30
 
30
 
31
 	~TombRaider1();
31
 	~TombRaider1();
32
 
32
 
33
-	enum Items 
33
+	enum Items
34
    {
34
    {
35
 		Lara = 0,
35
 		Lara = 0,
36
 		PistolAnimation  = 1,
36
 		PistolAnimation  = 1,

+ 9
- 4
include/TombRaider5.h View File

1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
2
 /*================================================================
2
 /*================================================================
3
- * 
3
+ *
4
  * Project : OpenRaider
4
  * Project : OpenRaider
5
  * Author  : Mongoose
5
  * Author  : Mongoose
6
  * Website : http://www.westga.edu/~stu7440/
6
  * Website : http://www.westga.edu/~stu7440/
7
  * Email   : stu7440@westga.edu
7
  * Email   : stu7440@westga.edu
8
- * Object  : 
8
+ * Object  :
9
  * License : GPL, also (C) 2002 Mongoose
9
  * License : GPL, also (C) 2002 Mongoose
10
- * Comments: 
10
+ * Comments:
11
  *
11
  *
12
- *-- History ------------------------------------------------ 
12
+ *-- History ------------------------------------------------
13
  *
13
  *
14
  * 2002.04.04:
14
  * 2002.04.04:
15
  * Mongoose - Created, based on work by ? ( one of the TRE guys )
15
  * Mongoose - Created, based on work by ? ( one of the TRE guys )
16
  ================================================================*/
16
  ================================================================*/
17
 
17
 
18
+#ifndef _TOMBRAIDER5_H_
19
+#define _TOMBRAIDER5_H_
20
+
18
 typedef enum
21
 typedef enum
19
 {
22
 {
20
 		TR4_OBJ_LARA = 0,
23
 		TR4_OBJ_LARA = 0,
484
 		TR4_OBJ_MISC_SPRITES = 464
487
 		TR4_OBJ_MISC_SPRITES = 464
485
 
488
 
486
 } tr4_objects_t;
489
 } tr4_objects_t;
490
+
491
+#endif

+ 2
- 2
include/Tree.h View File

40
  ================================================================*/
40
  ================================================================*/
41
 
41
 
42
 
42
 
43
-#ifndef __FREYJA_MONGOOSE_TREE_H_
44
-#define __FREYJA_MONGOOSE_TREE_H_
43
+#ifndef _TREE_H_
44
+#define _TREE_H_
45
 
45
 
46
 #include <stdlib.h>
46
 #include <stdlib.h>
47
 #include <stdio.h>
47
 #include <stdio.h>

+ 2
- 2
include/Vector.h View File

21
  ================================================================*/
21
  ================================================================*/
22
 
22
 
23
 
23
 
24
-#ifndef __FREYJA_MONGOOSE_VECTOR_H_
25
-#define __FREYJA_MONGOOSE_VECTOR_H_
24
+#ifndef _VECTOR_H_
25
+#define _VECTOR_H_
26
 
26
 
27
 #include <stdlib.h>
27
 #include <stdlib.h>
28
 #include <stdio.h>
28
 #include <stdio.h>

+ 2
- 2
include/Vector3d.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__HEL_MONGOOSE_VECTOR3D_H_
28
-#define GUARD__HEL_MONGOOSE_VECTOR3D_H_
27
+#ifndef _VECTOR3D_H_
28
+#define _VECTOR3D_H_
29
 
29
 
30
 
30
 
31
 #include <MatMath.h>
31
 #include <MatMath.h>

+ 2
- 2
include/ViewVolume.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__HEL_MONGOOSE_VIEWVOLUME_H_
28
-#define GUARD__HEL_MONGOOSE_VIEWVOLUME_H_
27
+#ifndef _VIEWVOLUME_H_
28
+#define _VIEWVOLUME_H_
29
 
29
 
30
 #include <Matrix.h>
30
 #include <Matrix.h>
31
 #include <BoundingVolume.h>
31
 #include <BoundingVolume.h>

+ 2
- 2
include/World.h View File

24
  ================================================================*/
24
  ================================================================*/
25
 
25
 
26
 
26
 
27
-#ifndef GUARD__OPENRAIDER_MONGOOSE_WORLD_H_
28
-#define GUARD__OPENRAIDER_MONGOOSE_WORLD_H_
27
+#ifndef _WORLD_H_
28
+#define _WORLD_H_
29
 
29
 
30
 #define BAD_BLOOD  // For temp rendering use
30
 #define BAD_BLOOD  // For temp rendering use
31
 
31
 

+ 2
- 2
include/memory_test.h View File

21
 
21
 
22
 #include <cstddef>
22
 #include <cstddef>
23
 
23
 
24
-#ifndef __MTK_MONGOOSE_MEMORY_TEST_H_
25
-#define __MTK_MONGOOSE_MEMORY_TEST_H_
24
+#ifndef _MEMORY_TEST_H_
25
+#define _MEMORY_TEST_H_
26
 
26
 
27
 #if defined(DEBUG_MEMORY) && !defined(UNIT_TEST_MEMORY)
27
 #if defined(DEBUG_MEMORY) && !defined(UNIT_TEST_MEMORY)
28
 
28
 

+ 16
- 16
include/mtk_tga.h View File

1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
1
 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
2
 /*================================================================
2
 /*================================================================
3
- * 
3
+ *
4
  * Project : Freyja
4
  * Project : Freyja
5
  * Author  : Mongoose
5
  * Author  : Mongoose
6
  * Website : http://www.westga.edu/~stu7440/
6
  * Website : http://www.westga.edu/~stu7440/
7
  * Email   : stu7440@westga.edu
7
  * Email   : stu7440@westga.edu
8
- * Object  : 
8
+ * Object  :
9
  * License : GPL See file COPYING, also (C) 2000 Mongoose
9
  * License : GPL See file COPYING, also (C) 2000 Mongoose
10
  * Comments: TGA plug-in
10
  * Comments: TGA plug-in
11
  *
11
  *
12
  *
12
  *
13
- *           This file was generated using Mongoose's C++ 
13
+ *           This file was generated using Mongoose's C++
14
  *           template generator script.  <stu7440@westga.edu>
14
  *           template generator script.  <stu7440@westga.edu>
15
- * 
16
- *-- History ------------------------------------------------ 
15
+ *
16
+ *-- History ------------------------------------------------
17
  *
17
  *
18
  * 2000-10-15:
18
  * 2000-10-15:
19
  * Mongoose - Created
19
  * Mongoose - Created
20
  ================================================================*/
20
  ================================================================*/
21
 
21
 
22
-#ifndef __MONGOOSE_TGA_H
23
-#define __MONGOOSE_TGA_H
22
+#ifndef _MTK_TGA_H
23
+#define _MTK_TGA_H
24
 
24
 
25
 #include <stdio.h>
25
 #include <stdio.h>
26
 
26
 
27
 
27
 
28
-typedef enum 
28
+typedef enum
29
 {
29
 {
30
   TGA_TYPE__NO_DATA    = 0,
30
   TGA_TYPE__NO_DATA    = 0,
31
   TGA_TYPE__MAPPED     = 1,
31
   TGA_TYPE__MAPPED     = 1,
40
 } tga_type_t;
40
 } tga_type_t;
41
 
41
 
42
 
42
 
43
-typedef struct mtk_image_tga_s 
43
+typedef struct mtk_image_tga_s
44
 {
44
 {
45
   unsigned char comment_lenght;       /* Number of bytes in comment */
45
   unsigned char comment_lenght;       /* Number of bytes in comment */
46
   unsigned char colormap_type;        /* 0 No colormap; 1 Has colormap  */
46
   unsigned char colormap_type;        /* 0 No colormap; 1 Has colormap  */
47
   unsigned char image_type;           /* 1 Colormapped, 2 Unmapped;
47
   unsigned char image_type;           /* 1 Colormapped, 2 Unmapped;
48
 					 9 Colormapped RLE; 10 Unmapped RLE */
48
 					 9 Colormapped RLE; 10 Unmapped RLE */
49
-  
49
+
50
   unsigned short colormap_index;      /* Index of first color map entry */
50
   unsigned short colormap_index;      /* Index of first color map entry */
51
   unsigned short colormap_lenght;     /* Number of color map entries */
51
   unsigned short colormap_lenght;     /* Number of color map entries */
52
   unsigned char colormap_bbp;         /* 16, 24, or 32 bits per pixel format */
52
   unsigned char colormap_bbp;         /* 16, 24, or 32 bits per pixel format */
53
-  
53
+
54
   unsigned short origin_x;            /* X coor of lower-left corner */
54
   unsigned short origin_x;            /* X coor of lower-left corner */
55
   unsigned short origin_y;            /* Y coor of lower-left corner */
55
   unsigned short origin_y;            /* Y coor of lower-left corner */
56
   unsigned short width;               /* Width in pixels */
56
   unsigned short width;               /* Width in pixels */
57
   unsigned short height;              /* Height in pixels */
57
   unsigned short height;              /* Height in pixels */
58
   unsigned char bpp;                  /* Number of bits in a pixel index */
58
   unsigned char bpp;                  /* Number of bits in a pixel index */
59
   unsigned char desc_flags;           /* Various magic bits */
59
   unsigned char desc_flags;           /* Various magic bits */
60
-  
60
+
61
 } mtk_image_tga_t;
61
 } mtk_image_tga_t;
62
 
62
 
63
 
63
 
72
    * Mongoose - Created
72
    * Mongoose - Created
73
    ------------------------------------------------------*/
73
    ------------------------------------------------------*/
74
 
74
 
75
-  int mtk_image__tga_load(FILE *f, unsigned char **image, 
75
+  int mtk_image__tga_load(FILE *f, unsigned char **image,
76
 			 unsigned int *width, unsigned int *height, char *type);
76
 			 unsigned int *width, unsigned int *height, char *type);
77
   /*------------------------------------------------------
77
   /*------------------------------------------------------
78
    * Pre  : Filename is a valid image file
78
    * Pre  : Filename is a valid image file
84
    * Mongoose - Created
84
    * Mongoose - Created
85
    ------------------------------------------------------*/
85
    ------------------------------------------------------*/
86
 
86
 
87
-  int mtk_image__tga_save(FILE *f, unsigned char *image, 
87
+  int mtk_image__tga_save(FILE *f, unsigned char *image,
88
 			  unsigned int width, unsigned int height, char type);
88
 			  unsigned int width, unsigned int height, char type);
89
   /*------------------------------------------------------
89
   /*------------------------------------------------------
90
-   * Pre  : 
90
+   * Pre  :
91
    * Post : Image is saved to diskfile if valid and can
91
    * Post : Image is saved to diskfile if valid and can
92
    *
92
    *
93
    *-- History ------------------------------------------
93
    *-- History ------------------------------------------
102
 				   char type,
102
 				   char type,
103
 				   char *s, ...);
103
 				   char *s, ...);
104
   /*------------------------------------------------------
104
   /*------------------------------------------------------
105
-   * Pre  : 
105
+   * Pre  :
106
    * Post : Image is saved to diskfile if valid and can
106
    * Post : Image is saved to diskfile if valid and can
107
    *
107
    *
108
    *-- History ------------------------------------------
108
    *-- History ------------------------------------------

Loading…
Cancel
Save