Permalink
Browse files

fixed compiling Dedicated Server on Windows platform

  • Loading branch information...
1 parent 467b2f9 commit 6f79e32d2693cbe48b9c8658ef7f083f386875b5 @TheDushan committed Aug 21, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −1 src/engine/OpenWolf.vcxproj
  2. +1 −1 src/engine/null/null_client.cpp
  3. +3 −1 src/engine/qcommon/common.cpp
@@ -1151,10 +1151,10 @@ echo hostname > status-info/build-machine
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug AutoUpdate|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug Dedicated|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug AutoUpdate|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Dedicated|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release AutoUpdate|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Dedicated|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release AutoUpdate|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Dedicated|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="client\cl_main.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug Dedicated|Win32'">true</ExcludedFromBuild>
@@ -78,7 +78,7 @@ qboolean CL_GameCommand(void)
return qfalse; // bk001204 - non-void
}
-void CL_KeyEvent(int key, qboolean down, unsigned time)
+void CL_KeyEvent(int key, int down, unsigned time)
{
}
@@ -114,7 +114,9 @@ cvar_t *com_introPlayed;
cvar_t *com_logosPlaying;
cvar_t *cl_paused;
cvar_t *sv_paused;
-//cvar_t *cl_packetdelay;
+#if defined (DEDICATED)
+cvar_t *cl_packetdelay;
+#endif
//cvar_t *sv_packetdelay;
cvar_t *com_cameraMode;
cvar_t *com_maxfpsUnfocused;

0 comments on commit 6f79e32

Please sign in to comment.