r121 - trunk/src

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 10 05:41:57 EDT 2005


Author: jonas
Date: 2005-07-10 05:41:56 -0400 (Sun, 10 Jul 2005)
New Revision: 121

Modified:
   trunk/src/SDL_rotozoom.h
   trunk/src/animation.h
   trunk/src/characters_common.h
   trunk/src/common.h
   trunk/src/events.h
   trunk/src/font.h
   trunk/src/gfxeng.h
   trunk/src/imgcache.h
   trunk/src/input.h
   trunk/src/menu.h
   trunk/src/monsters_common.h
   trunk/src/objectpools.h
   trunk/src/objects_common.h
   trunk/src/physics.h
   trunk/src/players_common.h
   trunk/src/scenario.h
   trunk/src/sfxeng.h
   trunk/src/sndcache.h
   trunk/src/weapons.h
Log:
support g++ up to version 4.0.1, fixed a major naming bug (_MAP_H is reserved)

Modified: trunk/src/SDL_rotozoom.h
===================================================================
--- trunk/src/SDL_rotozoom.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/SDL_rotozoom.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -5,8 +5,8 @@
  *
  */
 
-#ifndef _SDL_rotozoom_h
-#define _SDL_rotozoom_h
+#ifndef DEF_SDL_ROTOZOOM_H
+#define DEF_SDL_ROTOZOOM_H
 
 #ifndef M_PI
 #define M_PI	3.141592654

Modified: trunk/src/animation.h
===================================================================
--- trunk/src/animation.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/animation.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _ANIMATION_H
-#define _ANIMATION_H 1
+#ifndef DEF_ANIMATION_H
+#define DEF_ANIMATION_H 1
 
 /** \brief A container for frames.
 

Modified: trunk/src/characters_common.h
===================================================================
--- trunk/src/characters_common.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/characters_common.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _CHARACTERS_COMMON_H
-#define _CHARACTERS_COMMON_H 1
+#ifndef DEF_CHARACTERS_COMMON_H
+#define DEF_CHARACTERS_COMMON_H 1
 
 #include "weapons.h"
 #include "objects_common.h"

Modified: trunk/src/common.h
===================================================================
--- trunk/src/common.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/common.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _COMMON_H
-#define _COMMON_H 1
+#ifndef DEF_COMMON_H
+#define DEF_COMMON_H 1
 
 /// Common header file
 ///

Modified: trunk/src/events.h
===================================================================
--- trunk/src/events.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/events.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _EVENTS_H
-#define _EVENTS_H 1
+#ifndef DEF_EVENTS_H
+#define DEF_EVENTS_H 1
 
 #define EV_DELAY     0x00000001
 #define EV_START     0x00000002

Modified: trunk/src/font.h
===================================================================
--- trunk/src/font.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/font.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _FONT_H
-#define _FONT_H 1
+#ifndef DEF_FONT_H
+#define DEF_FONT_H 1
 
 /*
 Copyright (C) 2003 Matthias Braun

Modified: trunk/src/gfxeng.h
===================================================================
--- trunk/src/gfxeng.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/gfxeng.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _GFXENG_H
-#define _GFXENG_H 1
+#ifndef DEF_GFXENG_H
+#define DEF_GFXENG_H 1
 
 #define BAR_HEIGHT      138
 #define ICON_SIZE       46

Modified: trunk/src/imgcache.h
===================================================================
--- trunk/src/imgcache.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/imgcache.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _IMGCACHE_H
-#define _IMGCACHE_H 1
+#ifndef DEF_IMGCACHE_H
+#define DEF_IMGCACHE_H 1
 
 /** \brief Caches images.
 

Modified: trunk/src/input.h
===================================================================
--- trunk/src/input.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/input.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _INPUT_H
-#define _INPUT_H 1
+#ifndef DEF_INPUT_H
+#define DEF_INPUT_H 1
 
 /** \brief Handels keyboard events
 

Modified: trunk/src/menu.h
===================================================================
--- trunk/src/menu.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/menu.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _MENU_H
-#define _MENU_H 1
+#ifndef DEF_MENU_H
+#define DEF_MENU_H 1
 
 /** \brief abstract menu base class
 

Modified: trunk/src/monsters_common.h
===================================================================
--- trunk/src/monsters_common.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/monsters_common.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _MONSTERS_COMMON_H
-#define _MONSTERS_COMMON_H 1
+#ifndef DEF_MONSTERS_COMMON_H
+#define DEF_MONSTERS_COMMON_H 1
 
 #include "characters_common.h"
 

Modified: trunk/src/objectpools.h
===================================================================
--- trunk/src/objectpools.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/objectpools.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _OBJECTPOOLS_H
-#define _OBJECTPOOLS_H 1
+#ifndef DEF_OBJECTPOOLS_H
+#define DEF_OBJECTPOOLS_H 1
 
 /** \brief Container for objects.
 

Modified: trunk/src/objects_common.h
===================================================================
--- trunk/src/objects_common.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/objects_common.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _OBJECTS_COMMON_H
-#define _OBJECTS_COMMON_H 1
+#ifndef DEF_OBJECTS_COMMON_H
+#define DEF_OBJECTS_COMMON_H 1
 
 //Object types
 //dense types are the same as directions (that fact is beeing used)

Modified: trunk/src/physics.h
===================================================================
--- trunk/src/physics.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/physics.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _PHYSICS_H  
-#define _PHYSICS_H 1
+#ifndef DEF_PHYSICS_H  
+#define DEF_PHYSICS_H 1
 
 /** \brief Updates all game states and animations, acts as a Mediator between objects
 

Modified: trunk/src/players_common.h
===================================================================
--- trunk/src/players_common.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/players_common.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _PLAYERS_COMMON_H
-#define _PLAYERS_COMMON_H 1
+#ifndef DEF_PLAYERS_COMMON_H
+#define DEF_PLAYERS_COMMON_H 1
 
 #include "characters_common.h"
 

Modified: trunk/src/scenario.h
===================================================================
--- trunk/src/scenario.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/scenario.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _MAP_H
-#define _MAP_H 1
+#ifndef DEF_SCENARIO_H
+#define DEF_SCENARIO_H 1
 
 /** \brief Scenario organization
 

Modified: trunk/src/sfxeng.h
===================================================================
--- trunk/src/sfxeng.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/sfxeng.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _SOUNDSENGINE_H
-#define _SOUNDSENGINE_H 1
+#ifndef DEF_SOUNDSENGINE_H
+#define DEF_SOUNDSENGINE_H 1
 
 /** \brief Sounds engine
 

Modified: trunk/src/sndcache.h
===================================================================
--- trunk/src/sndcache.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/sndcache.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _SOUNDCACHE_H
-#define _SOUNDCACHE_H 1
+#ifndef DEF_SOUNDCACHE_H
+#define DEF_SOUNDCACHE_H 1
 
 /** \brief Caches sounds.    
   

Modified: trunk/src/weapons.h
===================================================================
--- trunk/src/weapons.h	2005-06-18 22:47:14 UTC (rev 120)
+++ trunk/src/weapons.h	2005-07-10 09:41:56 UTC (rev 121)
@@ -1,5 +1,5 @@
-#ifndef _WEAPONS_H
-#define _WEAPONS_H 1
+#ifndef DEF_WEAPONS_H
+#define DEF_WEAPONS_H 1
 
 //normal hit
 #define W_STRIKE         0x00000001




More information about the lostpenguins-commits mailing list