Browse Source

msvc8 support

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

5
engine/common/net_chan.c

@ -1456,9 +1456,10 @@ void Netchan_TransmitBits( netchan_t *chan, int length, byte *data ) @@ -1456,9 +1456,10 @@ void Netchan_TransmitBits( netchan_t *chan, int length, byte *data )
// stall reliable payloads if sending from frag buffer
if( send_from_regular && ( send_from_frag[FRAG_NORMAL_STREAM] ))
{
send_from_regular = false;
{
int maxsize = MAX_RELIABLE_PAYLOAD;
send_from_regular = false;
if( chan->pfnBlockSize )
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. @@ -15,6 +15,9 @@ GNU General Public License for more details.
#include <windows.h>
#include "platform/platform.h"
#ifdef _WIN32
BOOL WINAPI IsDebuggerPresent(VOID);
#endif // _WIN32
#if XASH_TIMER == TIMER_WIN32
double Platform_DoubleTime( void )

2
mainui

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

6
scripts/waflib/msdev.py

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

Loading…
Cancel
Save