Skip to content

Commit

Permalink
Add last missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
xycaleth committed Jan 9, 2021
1 parent 78f6a06 commit 30c3129
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions codeJK2/game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set(JK2SPGameIncludeDirectories
"${JK2SPDir}/game"
"${SharedDir}"
"${GSLIncludeDirectory}"
"${CMAKE_BINARY_DIR}/shared"
)
if(WIN32)
set(JK2SPGameLibraries "winmm")
Expand Down
1 change: 1 addition & 0 deletions codeJK2/game/g_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/>.
#include "../cgame/cg_local.h" // yeah I know this is naughty, but we're shipping soon...
#include "time.h"
#include "../code/qcommon/ojk_saved_game_helper.h"
#include "qcommon/q_version.h"

extern CNavigator navigator;

Expand Down
1 change: 1 addition & 0 deletions codemp/game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ set(MPGameIncludeDirectories
"${MPDir}"
"${SharedDir}"
"${GSLIncludeDirectory}"
"${CMAKE_BINARY_DIR}/shared"
)
if(WIN32)
set(MPGameLibraries "winmm")
Expand Down
4 changes: 3 additions & 1 deletion codemp/game/g_xcvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ along with this program; if not, see <http://www.gnu.org/licenses/>.
===========================================================================
*/

#include "qcommon/q_version.h"

#ifdef XCVAR_PROTO
#define XCVAR_DEF( name, defVal, update, flags, announce ) extern vmCvar_t name;
#endif
Expand Down Expand Up @@ -165,7 +167,7 @@ XCVAR_DEF( g_voteDelay, "3000", NULL, CVAR_NONE, qfalse )
XCVAR_DEF( g_warmup, "20", NULL, CVAR_ARCHIVE, qtrue )
XCVAR_DEF( g_weaponDisable, "0", NULL, CVAR_SERVERINFO|CVAR_ARCHIVE|CVAR_LATCH, qtrue )
XCVAR_DEF( g_weaponRespawn, "5", NULL, CVAR_NONE, qtrue )
XCVAR_DEF( gamedate, SOURCE_DATE, NULL, CVAR_ROM, qfalse )
XCVAR_DEF( gamedate, SOURCE_DATE, NULL, CVAR_ROM, qfalse )
XCVAR_DEF( gamename, GAMEVERSION, NULL, CVAR_SERVERINFO|CVAR_ROM, qfalse )
XCVAR_DEF( pmove_fixed, "0", NULL, CVAR_SYSTEMINFO|CVAR_ARCHIVE, qtrue )
XCVAR_DEF( pmove_float, "0", NULL, CVAR_SYSTEMINFO|CVAR_ARCHIVE, qtrue )
Expand Down

0 comments on commit 30c3129

Please sign in to comment.