Updated the version command to include MSVC 10 (_MSC_VER == 1600)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3640 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2010-11-10 05:35:14 +00:00
parent f575777728
commit bcdcda8b9f
1 changed files with 4 additions and 3 deletions

View File

@ -1994,7 +1994,7 @@ conchar_t *COM_ParseFunString(conchar_t defaultflags, const char *str, conchar_t
ext = ((str[3] - ('A' - 10)) << CON_BGSHIFT) | (ext&~CON_BGMASK) | CON_NONCLEARBG; ext = ((str[3] - ('A' - 10)) << CON_BGSHIFT) | (ext&~CON_BGMASK) | CON_NONCLEARBG;
else else
ext = ((str[3] - '0') << CON_BGSHIFT) | (ext&~CON_BGMASK) | CON_NONCLEARBG; ext = ((str[3] - '0') << CON_BGSHIFT) | (ext&~CON_BGMASK) | CON_NONCLEARBG;
if (!keepmarkup) if (!keepmarkup)
{ {
str += 4; str += 4;
@ -3131,6 +3131,7 @@ void COM_Version_f (void)
else if (_MSC_VER == 1310) { Con_Printf("Visual C++ 2003, version 7.1\n"); } else if (_MSC_VER == 1310) { Con_Printf("Visual C++ 2003, version 7.1\n"); }
else if (_MSC_VER == 1400) { Con_Printf("Visual C++ 2005, version 8.0\n"); } else if (_MSC_VER == 1400) { Con_Printf("Visual C++ 2005, version 8.0\n"); }
else if (_MSC_VER == 1500) { Con_Printf("Visual C++ 2008, version 9.0\n"); } else if (_MSC_VER == 1500) { Con_Printf("Visual C++ 2008, version 9.0\n"); }
else if (_MSC_VER == 1600) { Con_Printf("Visual C++ 2010, version 10.0\n"); }
else else
{ {
#ifdef _MSC_BUILD #ifdef _MSC_BUILD
@ -3426,12 +3427,12 @@ unsigned int COM_RemapMapChecksum(unsigned int checksum)
unsigned int gpl2; unsigned int gpl2;
unsigned int id11; unsigned int id11;
unsigned int id12; unsigned int id12;
} sums[] = } sums[] =
{ {
{"maps/start.bsp", -603735309, 714749795, 493454459}, {"maps/start.bsp", -603735309, 714749795, 493454459},
{"maps/e1m1.bsp", -1213097692, 523840258, -1391994750}, {"maps/e1m1.bsp", -1213097692, 523840258, -1391994750},
{"maps/e1m2.bsp", -2134038629, 1561595172, 1729102119}, {"maps/e1m2.bsp", -2134038629, 1561595172, 1729102119},
{"maps/e1m3.bsp", 526593427, 1008794158, 893792842}, {"maps/e1m3.bsp", 526593427, 1008794158, 893792842},
{"maps/e1m4.bsp", -1218723400, -442162482, -304478603}, {"maps/e1m4.bsp", -1218723400, -442162482, -304478603},
{"maps/e1m5.bsp", 1709090059, 1856217547, -1473504118}, {"maps/e1m5.bsp", 1709090059, 1856217547, -1473504118},