about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-06-12 12:09:34 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-06-12 12:09:34 +0000
commit3705064b109580103a3d13f44693503da9927281 (patch)
tree0de409d2c67e74866e2bbe0b53a3791c20dab80d /src/game/client
parentf6c67c29cd10d41b877ee1319801edc01b625e72 (diff)
downloadzcatch-3705064b109580103a3d13f44693503da9927281.tar.gz
zcatch-3705064b109580103a3d13f44693503da9927281.zip
renamed .h to .hpp in game because they are c++ headers
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gc_anim.hpp (renamed from src/game/client/gc_anim.h)0
-rw-r--r--src/game/client/gc_client.cpp28
-rw-r--r--src/game/client/gc_client.hpp (renamed from src/game/client/gc_client.h)8
-rw-r--r--src/game/client/gc_console.cpp10
-rw-r--r--src/game/client/gc_console.hpp (renamed from src/game/client/gc_console.h)0
-rw-r--r--src/game/client/gc_effects.cpp6
-rw-r--r--src/game/client/gc_flow.cpp4
-rw-r--r--src/game/client/gc_hooks.cpp18
-rw-r--r--src/game/client/gc_map_image.cpp4
-rw-r--r--src/game/client/gc_map_image.hpp (renamed from src/game/client/gc_map_image.h)0
-rw-r--r--src/game/client/gc_menu.cpp20
-rw-r--r--src/game/client/gc_menu.hpp (renamed from src/game/client/gc_menu.h)0
-rw-r--r--src/game/client/gc_particles.cpp4
-rw-r--r--src/game/client/gc_render.cpp16
-rw-r--r--src/game/client/gc_render.hpp (renamed from src/game/client/gc_render.h)6
-rw-r--r--src/game/client/gc_render_map.cpp4
-rw-r--r--src/game/client/gc_render_obj.cpp14
-rw-r--r--src/game/client/gc_skin.cpp4
-rw-r--r--src/game/client/gc_skin.hpp (renamed from src/game/client/gc_skin.h)2
-rw-r--r--src/game/client/gc_ui.cpp2
-rw-r--r--src/game/client/gc_ui.hpp (renamed from src/game/client/gc_ui.h)0
21 files changed, 75 insertions, 75 deletions
diff --git a/src/game/client/gc_anim.h b/src/game/client/gc_anim.hpp
index f6e9aac3..f6e9aac3 100644
--- a/src/game/client/gc_anim.h
+++ b/src/game/client/gc_anim.hpp
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 89c7ffcd..c42c354e 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -1,5 +1,5 @@
 /* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
-#include <game/g_math.h>
+#include <game/g_math.hpp>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -10,19 +10,19 @@ extern "C" {
 	#include <engine/e_client_interface.h>
 };
 
-#include "../g_game.h"
-#include "../g_version.h"
-#include "../g_layers.h"
-#include "../g_math.h"
-#include "gc_map_image.h"
-#include "../generated/gc_data.h"
-#include "gc_menu.h"
-#include "gc_skin.h"
-#include "gc_ui.h"
-#include "gc_client.h"
-#include "gc_render.h"
-#include "gc_anim.h"
-#include "gc_console.h"
+#include "../g_game.hpp"
+#include "../g_version.hpp"
+#include "../g_layers.hpp"
+#include "../g_math.hpp"
+#include "gc_map_image.hpp"
+#include "../generated/gc_data.hpp"
+#include "gc_menu.hpp"
+#include "gc_skin.hpp"
+#include "gc_ui.hpp"
+#include "gc_client.hpp"
+#include "gc_render.hpp"
+#include "gc_anim.hpp"
+#include "gc_console.hpp"
 
 //struct data_container *data = 0;
 int64 debug_firedelay = 0;
diff --git a/src/game/client/gc_client.h b/src/game/client/gc_client.hpp
index bb8a69cf..750154b3 100644
--- a/src/game/client/gc_client.h
+++ b/src/game/client/gc_client.hpp
@@ -1,8 +1,8 @@
-#include <game/g_vmath.h>
-#include <game/g_protocol.h>
-#include <game/g_game.h>
+#include <game/g_vmath.hpp>
+#include <game/g_protocol.hpp>
+#include <game/g_game.hpp>
 
-#include <game/client/gc_render.h>
+#include <game/client/gc_render.hpp>
 
 // sound channels
 enum
diff --git a/src/game/client/gc_console.cpp b/src/game/client/gc_console.cpp
index 76bf7218..45666a01 100644
--- a/src/game/client/gc_console.cpp
+++ b/src/game/client/gc_console.cpp
@@ -1,5 +1,5 @@
-#include "gc_console.h"
-#include "../generated/gc_data.h"
+#include "gc_console.hpp"
+#include "../generated/gc_data.hpp"
 
 extern "C" {
 	#include <engine/e_system.h>
@@ -13,10 +13,10 @@ extern "C" {
 #include <cstring>
 #include <cstdio>
 
-#include "gc_ui.h"
-#include "gc_client.h"
+#include "gc_ui.hpp"
+#include "gc_client.hpp"
 
-#include "../g_version.h"
+#include "../g_version.hpp"
 
 enum
 {
diff --git a/src/game/client/gc_console.h b/src/game/client/gc_console.hpp
index 0f5e7b9f..0f5e7b9f 100644
--- a/src/game/client/gc_console.h
+++ b/src/game/client/gc_console.hpp
diff --git a/src/game/client/gc_effects.cpp b/src/game/client/gc_effects.cpp
index 5a9ebfc6..387e1471 100644
--- a/src/game/client/gc_effects.cpp
+++ b/src/game/client/gc_effects.cpp
@@ -1,7 +1,7 @@
 #include <engine/e_client_interface.h>
-#include "gc_client.h"
-#include "gc_skin.h"
-#include "../generated/gc_data.h"
+#include "gc_client.hpp"
+#include "gc_skin.hpp"
+#include "../generated/gc_data.hpp"
 
 static bool add_50hz = false;
 static bool add_100hz = false;
diff --git a/src/game/client/gc_flow.cpp b/src/game/client/gc_flow.cpp
index aac35058..63e60617 100644
--- a/src/game/client/gc_flow.cpp
+++ b/src/game/client/gc_flow.cpp
@@ -1,7 +1,7 @@
 #include <engine/e_client_interface.h>
 #include <engine/e_config.h>
-#include "gc_client.h"
-#include "../g_layers.h"
+#include "gc_client.hpp"
+#include "../g_layers.hpp"
 
 struct FLOWCELL
 {
diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp
index 61e5f2e8..2aaca900 100644
--- a/src/game/client/gc_hooks.cpp
+++ b/src/game/client/gc_hooks.cpp
@@ -8,17 +8,17 @@ extern "C" {
 	#include <engine/e_console.h>
 };
 
-#include <game/generated/gc_data.h>
-#include <game/g_game.h>
-#include <game/g_version.h>
+#include <game/generated/gc_data.hpp>
+#include <game/g_game.hpp>
+#include <game/g_version.hpp>
 
-#include <game/g_layers.h>
+#include <game/g_layers.hpp>
 
-#include "gc_client.h"
-#include "gc_skin.h"
-#include "gc_render.h"
-#include "gc_map_image.h"
-#include "gc_console.h"
+#include "gc_client.hpp"
+#include "gc_skin.hpp"
+#include "gc_render.hpp"
+#include "gc_map_image.hpp"
+#include "gc_console.hpp"
 
 extern unsigned char internal_data[];
 
diff --git a/src/game/client/gc_map_image.cpp b/src/game/client/gc_map_image.cpp
index 65cb0608..63a57c70 100644
--- a/src/game/client/gc_map_image.cpp
+++ b/src/game/client/gc_map_image.cpp
@@ -2,8 +2,8 @@
 #include <stdio.h>
 #include <engine/e_system.h>
 #include <engine/e_client_interface.h>
-#include <game/g_mapitems.h>
-#include "gc_map_image.h"
+#include <game/g_mapitems.hpp>
+#include "gc_map_image.hpp"
 
 static int map_textures[64] = {0};
 static int count = 0;
diff --git a/src/game/client/gc_map_image.h b/src/game/client/gc_map_image.hpp
index d73f43d3..d73f43d3 100644
--- a/src/game/client/gc_map_image.h
+++ b/src/game/client/gc_map_image.hpp
diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp
index 3a41aee4..cb8324a7 100644
--- a/src/game/client/gc_menu.cpp
+++ b/src/game/client/gc_menu.cpp
@@ -4,8 +4,8 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <game/g_math.h>
-#include <game/g_vmath.h>
+#include <game/g_math.hpp>
+#include <game/g_vmath.hpp>
 
 extern "C" {
 	#include <engine/e_system.h>
@@ -14,15 +14,15 @@ extern "C" {
 	#include <engine/client/ec_font.h>
 }
 
-#include "../g_version.h"
-#include "../g_protocol.h"
+#include "../g_version.hpp"
+#include "../g_protocol.hpp"
 
-#include "../generated/gc_data.h"
-#include "gc_render.h"
-#include "gc_anim.h"
-#include "gc_skin.h"
-#include "gc_ui.h"
-#include "gc_client.h"
+#include "../generated/gc_data.hpp"
+#include "gc_render.hpp"
+#include "gc_anim.hpp"
+#include "gc_skin.hpp"
+#include "gc_ui.hpp"
+#include "gc_client.hpp"
 #include <mastersrv/mastersrv.h>
 
 //extern data_container *data;
diff --git a/src/game/client/gc_menu.h b/src/game/client/gc_menu.hpp
index ba12894c..ba12894c 100644
--- a/src/game/client/gc_menu.h
+++ b/src/game/client/gc_menu.hpp
diff --git a/src/game/client/gc_particles.cpp b/src/game/client/gc_particles.cpp
index 2c3ef36c..504ebbab 100644
--- a/src/game/client/gc_particles.cpp
+++ b/src/game/client/gc_particles.cpp
@@ -1,6 +1,6 @@
 #include <engine/e_client_interface.h>
-#include "gc_client.h"
-#include "../generated/gc_data.h"
+#include "gc_client.hpp"
+#include "../generated/gc_data.hpp"
 
 // NOTE: the way the particle system works isn't very cache friendly
 
diff --git a/src/game/client/gc_render.cpp b/src/game/client/gc_render.cpp
index 364b33eb..2e5a3d50 100644
--- a/src/game/client/gc_render.cpp
+++ b/src/game/client/gc_render.cpp
@@ -2,14 +2,14 @@
 #include <math.h>
 #include <engine/e_client_interface.h>
 #include <engine/e_config.h>
-#include <game/generated/gc_data.h>
-#include <game/g_protocol.h>
-#include <game/g_math.h>
-#include <game/g_layers.h>
-#include "gc_render.h"
-#include "gc_anim.h"
-#include "gc_client.h"
-#include "gc_map_image.h"
+#include <game/generated/gc_data.hpp>
+#include <game/g_protocol.hpp>
+#include <game/g_math.hpp>
+#include <game/g_layers.hpp>
+#include "gc_render.hpp"
+#include "gc_anim.hpp"
+#include "gc_client.hpp"
+#include "gc_map_image.hpp"
 
 static float sprite_w_scale;
 static float sprite_h_scale;
diff --git a/src/game/client/gc_render.h b/src/game/client/gc_render.hpp
index 508ab195..02bc224d 100644
--- a/src/game/client/gc_render.h
+++ b/src/game/client/gc_render.hpp
@@ -2,9 +2,9 @@
 #ifndef GAME_CLIENT_RENDER_H
 #define GAME_CLIENT_RENDER_H
 
-#include "../g_vmath.h"
-#include "../g_mapitems.h"
-#include "gc_ui.h"
+#include "../g_vmath.hpp"
+#include "../g_mapitems.hpp"
+#include "gc_ui.hpp"
 
 struct TEE_RENDER_INFO
 {
diff --git a/src/game/client/gc_render_map.cpp b/src/game/client/gc_render_map.cpp
index 2ad3ad94..90579aa7 100644
--- a/src/game/client/gc_render_map.cpp
+++ b/src/game/client/gc_render_map.cpp
@@ -1,7 +1,7 @@
 /* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
 #include <engine/e_client_interface.h>
-#include "../g_math.h"
-#include "gc_client.h"
+#include "../g_math.hpp"
+#include "gc_client.hpp"
 
 void render_eval_envelope(ENVPOINT *points, int num_points, int channels, float time, float *result)
 {
diff --git a/src/game/client/gc_render_obj.cpp b/src/game/client/gc_render_obj.cpp
index a6cd2b69..119db4d6 100644
--- a/src/game/client/gc_render_obj.cpp
+++ b/src/game/client/gc_render_obj.cpp
@@ -3,13 +3,13 @@
 #include <stdio.h>
 #include <engine/e_client_interface.h>
 #include <engine/e_config.h>
-#include "../generated/gc_data.h"
-#include "../g_protocol.h"
-#include "../g_math.h"
-#include "gc_render.h"
-#include "gc_anim.h"
-#include "gc_client.h"
-#include "gc_skin.h"
+#include "../generated/gc_data.hpp"
+#include "../g_protocol.hpp"
+#include "../g_math.hpp"
+#include "gc_render.hpp"
+#include "gc_anim.hpp"
+#include "gc_client.hpp"
+#include "gc_skin.hpp"
 
 
 void render_projectile(const NETOBJ_PROJECTILE *current, int itemid)
diff --git a/src/game/client/gc_skin.cpp b/src/game/client/gc_skin.cpp
index a876c960..2bd2d4ff 100644
--- a/src/game/client/gc_skin.cpp
+++ b/src/game/client/gc_skin.cpp
@@ -4,8 +4,8 @@
 #include <math.h>
 #include <engine/e_system.h>
 #include <engine/e_client_interface.h>
-#include "gc_skin.h"
-#include "../g_math.h"
+#include "gc_skin.hpp"
+#include "../g_math.hpp"
 
 enum
 {
diff --git a/src/game/client/gc_skin.h b/src/game/client/gc_skin.hpp
index d3840302..3a746589 100644
--- a/src/game/client/gc_skin.h
+++ b/src/game/client/gc_skin.hpp
@@ -1,5 +1,5 @@
 /* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
-#include "../g_vmath.h"
+#include "../g_vmath.hpp"
 
 // do this better and nicer
 typedef struct 
diff --git a/src/game/client/gc_ui.cpp b/src/game/client/gc_ui.cpp
index dc78c0ca..a344d661 100644
--- a/src/game/client/gc_ui.cpp
+++ b/src/game/client/gc_ui.cpp
@@ -2,7 +2,7 @@
 #include <engine/e_system.h>
 #include <engine/e_client_interface.h>
 #include <engine/e_config.h>
-#include "gc_ui.h"
+#include "gc_ui.hpp"
 
 /********************************************************
  UI                                                      
diff --git a/src/game/client/gc_ui.h b/src/game/client/gc_ui.hpp
index 26c4dcdb..26c4dcdb 100644
--- a/src/game/client/gc_ui.h
+++ b/src/game/client/gc_ui.hpp