Browse Source

msvc8 support

pull/2/head
mittorn 6 years ago
parent
commit
d5911b33b1
  1. 3
      engine/common/net_chan.c
  2. 3
      engine/platform/win32/sys_win.c
  3. 2
      mainui
  4. 6
      scripts/waflib/msdev.py

3
engine/common/net_chan.c

@ -1457,8 +1457,9 @@ void Netchan_TransmitBits( netchan_t *chan, int length, byte *data )
// stall reliable payloads if sending from frag buffer // stall reliable payloads if sending from frag buffer
if( send_from_regular && ( send_from_frag[FRAG_NORMAL_STREAM] )) if( send_from_regular && ( send_from_frag[FRAG_NORMAL_STREAM] ))
{ {
send_from_regular = false;
int maxsize = MAX_RELIABLE_PAYLOAD; int maxsize = MAX_RELIABLE_PAYLOAD;
send_from_regular = false;
if( chan->pfnBlockSize ) if( chan->pfnBlockSize )
maxsize = chan->pfnBlockSize( chan->client, FRAGSIZE_SPLIT ); maxsize = chan->pfnBlockSize( chan->client, FRAGSIZE_SPLIT );

3
engine/platform/win32/sys_win.c

@ -15,6 +15,9 @@ GNU General Public License for more details.
#include <windows.h> #include <windows.h>
#include "platform/platform.h" #include "platform/platform.h"
#ifdef _WIN32
BOOL WINAPI IsDebuggerPresent(VOID);
#endif // _WIN32
#if XASH_TIMER == TIMER_WIN32 #if XASH_TIMER == TIMER_WIN32
double Platform_DoubleTime( void ) double Platform_DoubleTime( void )

2
mainui

@ -1 +1 @@
Subproject commit 640b4ced65ed9303942d64b72257714e1f3db92c Subproject commit ebc9d90fb16b713f484ddee9c6755fe6281c7fe0

6
scripts/waflib/msdev.py

@ -664,7 +664,7 @@ MSDEV_PROJECT = \
'''<?xml version="1.0" encoding="UTF-8"?> '''<?xml version="1.0" encoding="UTF-8"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="9,00" Version="8,00"
Name="" Name=""
ProjectGUID="" ProjectGUID=""
Keyword="Win32Proj" Keyword="Win32Proj"
@ -759,8 +759,8 @@ MSDEV_PROJECT = \
''' '''
MSDEV_SOLUTION = [ MSDEV_SOLUTION = [
'Microsoft Visual Studio Solution File, Format Version 10.00\n', 'Microsoft Visual Studio Solution File, Format Version 8.00\n',
'# Visual Studio 2008\n', '# Visual Studio 2005\n',
'Global\n', 'Global\n',
'GlobalSection(SolutionConfigurationPlatforms) = preSolution\n', 'GlobalSection(SolutionConfigurationPlatforms) = preSolution\n',
'Debug|Win32 = Debug|Win32\n', 'Debug|Win32 = Debug|Win32\n',

Loading…
Cancel
Save