Housekeeping
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2f5608..dcf71f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,8 +91,8 @@ set( MOUNT_DIR ${CMAKE_SOURCE_DIR}/src/engine )
set( LIB_DIR ${CMAKE_SOURCE_DIR}/src/libs )
set( TOOLS_DIR ${CMAKE_SOURCE_DIR}/src/tools )
-message(STATUS "writing ${MOUNT_DIR}/framework/appConfig.h")
-CONFIGURE_FILE("cmake/appConfig.h.in" "${MOUNT_DIR}/framework/appConfig.h" @ONLY)
+message(STATUS "writing ${MOUNT_DIR}/framework/appConfig.hpp")
+CONFIGURE_FILE("cmake/appConfig.hpp.in" "${MOUNT_DIR}/framework/appConfig.hpp" @ONLY)
find_package( PkgConfig )
@@ -125,9 +125,9 @@ endif()
######################
set( SHAREDLIST_HEADERS
- ${MOUNT_DIR}/framework/appConfig.h
- ${MOUNT_DIR}/qcommon/q_platform.h
- ${MOUNT_DIR}/qcommon/q_shared.h
+ ${MOUNT_DIR}/framework/appConfig.hpp
+ ${MOUNT_DIR}/qcommon/q_platform.hpp
+ ${MOUNT_DIR}/qcommon/q_shared.hpp
)
set( SHAREDLIST_SOURCES
@@ -136,18 +136,18 @@ set( SHAREDLIST_SOURCES
)
set( GPURENDERER_HEADERS
- ${MOUNT_DIR}/GPURenderer/iqm.h
- ${MOUNT_DIR}/GPURenderer/qgl.h
- ${MOUNT_DIR}/GPURenderer/r_common.h
- ${MOUNT_DIR}/GPURenderer/r_dsa.h
- ${MOUNT_DIR}/GPURenderer/r_extramath.h
- ${MOUNT_DIR}/GPURenderer/r_extratypes.h
- ${MOUNT_DIR}/GPURenderer/r_fbo.h
- ${MOUNT_DIR}/GPURenderer/r_local.h
- ${MOUNT_DIR}/GPURenderer/r_postprocess.h
- ${MOUNT_DIR}/GPURenderer/r_splash.h
- ${MOUNT_DIR}/API/renderer_api.h
- ${MOUNT_DIR}/GPURenderer/r_types.h
+ ${MOUNT_DIR}/GPURenderer/iqm.hpp
+ ${MOUNT_DIR}/GPURenderer/qgl.hpp
+ ${MOUNT_DIR}/GPURenderer/r_common.hpp
+ ${MOUNT_DIR}/GPURenderer/r_dsa.hpp
+ ${MOUNT_DIR}/GPURenderer/r_extramath.hpp
+ ${MOUNT_DIR}/GPURenderer/r_extratypes.hpp
+ ${MOUNT_DIR}/GPURenderer/r_fbo.hpp
+ ${MOUNT_DIR}/GPURenderer/r_local.hpp
+ ${MOUNT_DIR}/GPURenderer/r_postprocess.hpp
+ ${MOUNT_DIR}/GPURenderer/r_splash.hpp
+ ${MOUNT_DIR}/API/renderer_api.hpp
+ ${MOUNT_DIR}/GPURenderer/r_types.hpp
)
set( GPURENDERER_SOURCES
@@ -190,28 +190,28 @@ set( GPURENDERER_SOURCES
)
set( SERVERLIST_HEADERS
- ${MOUNT_DIR}/server/server.h
- ${MOUNT_DIR}/server/serverCcmds.h
- ${MOUNT_DIR}/server/serverClient.h
- ${MOUNT_DIR}/server/serverCommunity.h
- ${MOUNT_DIR}/server/serverGame.h
- ${MOUNT_DIR}/server/serverWorld.h
- ${MOUNT_DIR}/server/serverSnapshot.h
- ${MOUNT_DIR}/server/serverNetChan.h
- ${MOUNT_DIR}/server/serverInit.h
- ${MOUNT_DIR}/server/serverMain.h
- ${MOUNT_DIR}/server/serverDemo.h
- ${MOUNT_DIR}/server/serverOACS.h
- ${MOUNT_DIR}/server/serverWallhack.h
- ${MOUNT_DIR}/API/sgame_api.h
- ${MOUNT_DIR}/API/serverClient_api.h
- ${MOUNT_DIR}/API/serverGame_api.h
- ${MOUNT_DIR}/API/serverWorld_api.h
- ${MOUNT_DIR}/API/serverSnapshot_api.h
- ${MOUNT_DIR}/API/serverNetChan_api.h
- ${MOUNT_DIR}/API/serverInit_api.h
- ${MOUNT_DIR}/API/serverMain_api.h
- ${MOUNT_DIR}/API/serverDemo_api.h
+ ${MOUNT_DIR}/server/server.hpp
+ ${MOUNT_DIR}/server/serverCcmds.hpp
+ ${MOUNT_DIR}/server/serverClient.hpp
+ ${MOUNT_DIR}/server/serverCommunity.hpp
+ ${MOUNT_DIR}/server/serverGame.hpp
+ ${MOUNT_DIR}/server/serverWorld.hpp
+ ${MOUNT_DIR}/server/serverSnapshot.hpp
+ ${MOUNT_DIR}/server/serverNetChan.hpp
+ ${MOUNT_DIR}/server/serverInit.hpp
+ ${MOUNT_DIR}/server/serverMain.hpp
+ ${MOUNT_DIR}/server/serverDemo.hpp
+ ${MOUNT_DIR}/server/serverOACS.hpp
+ ${MOUNT_DIR}/server/serverWallhack.hpp
+ ${MOUNT_DIR}/API/sgame_api.hpp
+ ${MOUNT_DIR}/API/serverClient_api.hpp
+ ${MOUNT_DIR}/API/serverGame_api.hpp
+ ${MOUNT_DIR}/API/serverWorld_api.hpp
+ ${MOUNT_DIR}/API/serverSnapshot_api.hpp
+ ${MOUNT_DIR}/API/serverNetChan_api.hpp
+ ${MOUNT_DIR}/API/serverInit_api.hpp
+ ${MOUNT_DIR}/API/serverMain_api.hpp
+ ${MOUNT_DIR}/API/serverDemo_api.hpp
)
@@ -231,10 +231,10 @@ set( SERVERLIST_SOURCES
)
set( COLLISIONMODEL_HEADERS
- ${MOUNT_DIR}/cm/cm_local.h
- ${MOUNT_DIR}/cm/cm_patch.h
- ${MOUNT_DIR}/cm/cm_polylib.h
- ${MOUNT_DIR}/API/cm_api.h
+ ${MOUNT_DIR}/cm/cm_local.hpp
+ ${MOUNT_DIR}/cm/cm_patch.hpp
+ ${MOUNT_DIR}/cm/cm_polylib.hpp
+ ${MOUNT_DIR}/API/cm_api.hpp
)
set( COLLISIONMODEL_SOURCES
@@ -247,7 +247,7 @@ set( COLLISIONMODEL_SOURCES
)
set( DOWNLOADLIST_HEADERS
- ${MOUNT_DIR}/download/downloadLocal.h
+ ${MOUNT_DIR}/download/downloadLocal.hpp
)
set( DOWNLOADLIST_SOURCES
@@ -255,10 +255,10 @@ set( DOWNLOADLIST_SOURCES
)
set( QCOMMONLIST_HEADERS
- ${MOUNT_DIR}/API/download_api.h
- ${MOUNT_DIR}/qcommon/q_shared.h
- ${MOUNT_DIR}/qcommon/qcommon.h
- ${MOUNT_DIR}/qcommon/qfiles.h
+ ${MOUNT_DIR}/API/download_api.hpp
+ ${MOUNT_DIR}/qcommon/q_shared.hpp
+ ${MOUNT_DIR}/qcommon/qcommon.hpp
+ ${MOUNT_DIR}/qcommon/qfiles.hpp
)
set( QCOMMONLIST_SOURCES
@@ -267,31 +267,31 @@ set( QCOMMONLIST_SOURCES
)
set( FRAMEWORKS_HEADERS
- ${MOUNT_DIR}/API/FileSystem_api.h
- ${MOUNT_DIR}/API/CVarSystem_api.h
- ${MOUNT_DIR}/API/CmdSystem_api.h
- ${MOUNT_DIR}/API/CmdBuffer_api.h
- ${MOUNT_DIR}/API/CmdDelay_api.h
- ${MOUNT_DIR}/API/MD4_api.h
- ${MOUNT_DIR}/API/MD5_api.h
- ${MOUNT_DIR}/API/Network_api.h
- ${MOUNT_DIR}/API/NetworkChain_api.h
- ${MOUNT_DIR}/API/Parse_api.h
- ${MOUNT_DIR}/framework/FileSystem.h
- ${MOUNT_DIR}/framework/CVarSystem.h
- ${MOUNT_DIR}/framework/CmdSystem.h
- ${MOUNT_DIR}/framework/CmdBuffer.h
- ${MOUNT_DIR}/framework/CmdDelay.h
- ${MOUNT_DIR}/framework/Huffman.h
- ${MOUNT_DIR}/framework/IOAPI.h
- ${MOUNT_DIR}/framework/MD4.h
- ${MOUNT_DIR}/framework/MD5.h
- ${MOUNT_DIR}/framework/Puff.h
- ${MOUNT_DIR}/framework/Unzip.h
- ${MOUNT_DIR}/framework/SurfaceFlags_Tech3.h
- ${MOUNT_DIR}/framework/Network.h
- ${MOUNT_DIR}/framework/NetworkChain.h
- ${MOUNT_DIR}/framework/Parse.h
+ ${MOUNT_DIR}/API/FileSystem_api.hpp
+ ${MOUNT_DIR}/API/CVarSystem_api.hpp
+ ${MOUNT_DIR}/API/CmdSystem_api.hpp
+ ${MOUNT_DIR}/API/CmdBuffer_api.hpp
+ ${MOUNT_DIR}/API/CmdDelay_api.hpp
+ ${MOUNT_DIR}/API/MD4_api.hpp
+ ${MOUNT_DIR}/API/MD5_api.hpp
+ ${MOUNT_DIR}/API/Network_api.hpp
+ ${MOUNT_DIR}/API/NetworkChain_api.hpp
+ ${MOUNT_DIR}/API/Parse_api.hpp
+ ${MOUNT_DIR}/framework/FileSystem.hpp
+ ${MOUNT_DIR}/framework/CVarSystem.hpp
+ ${MOUNT_DIR}/framework/CmdSystem.hpp
+ ${MOUNT_DIR}/framework/CmdBuffer.hpp
+ ${MOUNT_DIR}/framework/CmdDelay.hpp
+ ${MOUNT_DIR}/framework/Huffman.hpp
+ ${MOUNT_DIR}/framework/IOAPI.hpp
+ ${MOUNT_DIR}/framework/MD4.hpp
+ ${MOUNT_DIR}/framework/MD5.hpp
+ ${MOUNT_DIR}/framework/Puff.hpp
+ ${MOUNT_DIR}/framework/Unzip.hpp
+ ${MOUNT_DIR}/framework/SurfaceFlags_Tech3.hpp
+ ${MOUNT_DIR}/framework/Network.hpp
+ ${MOUNT_DIR}/framework/NetworkChain.hpp
+ ${MOUNT_DIR}/framework/Parse.hpp
)
set( FRAMEWORKS_SOURCES
@@ -314,21 +314,21 @@ set( FRAMEWORKS_SOURCES
)
set( CLIENTLIST_HEADERS
- ${MOUNT_DIR}/client/client.h
- ${MOUNT_DIR}/client/clientAVI.h
- ${MOUNT_DIR}/client/clientBrowser.h
- ${MOUNT_DIR}/client/clientGame.h
- ${MOUNT_DIR}/client/clientGUI.h
- ${MOUNT_DIR}/client/clientLAN.h
- ${MOUNT_DIR}/client/clientScreen.h
- ${MOUNT_DIR}/client/keycodes.h
- ${MOUNT_DIR}/client/keys.h
- ${MOUNT_DIR}/API/clientScreen_api.h
- ${MOUNT_DIR}/API/clientAVI_api.h
- ${MOUNT_DIR}/API/clientGame_api.h
- ${MOUNT_DIR}/API/clientGUI_api.h
- ${MOUNT_DIR}/API/clientLAN_api.h
- ${MOUNT_DIR}/client/clientParse.h
+ ${MOUNT_DIR}/client/client.hpp
+ ${MOUNT_DIR}/client/clientAVI.hpp
+ ${MOUNT_DIR}/client/clientBrowser.hpp
+ ${MOUNT_DIR}/client/clientGame.hpp
+ ${MOUNT_DIR}/client/clientGUI.hpp
+ ${MOUNT_DIR}/client/clientLAN.hpp
+ ${MOUNT_DIR}/client/clientScreen.hpp
+ ${MOUNT_DIR}/client/keycodes.hpp
+ ${MOUNT_DIR}/client/keys.hpp
+ ${MOUNT_DIR}/API/clientScreen_api.hpp
+ ${MOUNT_DIR}/API/clientAVI_api.hpp
+ ${MOUNT_DIR}/API/clientGame_api.hpp
+ ${MOUNT_DIR}/API/clientGUI_api.hpp
+ ${MOUNT_DIR}/API/clientLAN_api.hpp
+ ${MOUNT_DIR}/client/clientParse.hpp
)
set( CLIENTLIST_SOURCES
@@ -343,18 +343,18 @@ set( CLIENTLIST_SOURCES
${MOUNT_DIR}/client/clientParse.cpp
${MOUNT_DIR}/client/clientScreen.cpp
${MOUNT_DIR}/client/clientBrowser.cpp
- ${MOUNT_DIR}/client/clientBrowser.h
- ${MOUNT_DIR}/client/clientGUI.h
+ ${MOUNT_DIR}/client/clientBrowser.hpp
[... diff too long, it was truncated ...]
GitHub
sha: 310fd40f