diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-06-12 12:09:34 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-06-12 12:09:34 +0000 |
| commit | 3705064b109580103a3d13f44693503da9927281 (patch) | |
| tree | 0de409d2c67e74866e2bbe0b53a3791c20dab80d /datasrc | |
| parent | f6c67c29cd10d41b877ee1319801edc01b625e72 (diff) | |
| download | zcatch-3705064b109580103a3d13f44693503da9927281.tar.gz zcatch-3705064b109580103a3d13f44693503da9927281.zip | |
renamed .h to .hpp in game because they are c++ headers
Diffstat (limited to 'datasrc')
| -rw-r--r-- | datasrc/compile.py | 6 | ||||
| -rw-r--r-- | datasrc/network.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/datasrc/compile.py b/datasrc/compile.py index 38457e91..af0671de 100644 --- a/datasrc/compile.py +++ b/datasrc/compile.py @@ -57,9 +57,9 @@ if gen_client_content_header or gen_server_content_header: if gen_client_content_source or gen_server_content_source: if gen_client_content_source: - print '#include "gc_data.h"' + print '#include "gc_data.hpp"' if gen_server_content_source: - print '#include "gs_data.h"' + print '#include "gs_data.hpp"' EmitDefinition(content.container, "datacontainer") print 'DATACONTAINER *data = &datacontainer;'; @@ -99,7 +99,7 @@ if gen_network_source: lines = [] lines += ['#include <engine/e_common_interface.h>'] - lines += ['#include "g_protocol.h"'] + lines += ['#include "g_protocol.hpp"'] lines += ['const char *msg_failed_on = "";'] lines += ['const char *obj_corrected_on = "";'] diff --git a/datasrc/network.py b/datasrc/network.py index 6f03adb9..46add62b 100644 --- a/datasrc/network.py +++ b/datasrc/network.py @@ -17,7 +17,7 @@ enum RawSource = ''' #include <engine/e_common_interface.h> -#include "g_protocol.h" +#include "g_protocol.hpp" ''' Enums = [ |