Skip to content

Commit

Permalink
SRB2 2.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alama committed Mar 15, 2014
1 parent b93cb1b commit 3e0b5ef
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion readme.txt
@@ -1,4 +1,4 @@
Here it is! SRB2 v2.0 source code!
Here it is! SRB2 v2.1 (.1) source code!


Win32 with Visual C (6SP6+Processor Pack OR 7)
Expand Down
7 changes: 4 additions & 3 deletions src/d_main.c
Expand Up @@ -802,6 +802,9 @@ static void IdentifyVersion(void)
// Add the weapons
D_AddFile(va(pandf,srb2waddir,"rings.dta"));

// Add our crappy patches to fix our bugs
D_AddFile(va(pandf,srb2waddir,"patch.dta"));

#if !defined (SDL) || defined (HAVE_MIXER)
{
#if defined (DC) && 0
Expand All @@ -817,8 +820,6 @@ static void IdentifyVersion(void)
I_Error("File %s has been modified with non-music lumps",musicfile);
}
#endif

// D_AddFile(va(pandf,srb2waddir,"patch.dta")); //for dev
}

/* ======================================================================== */
Expand Down Expand Up @@ -1095,7 +1096,7 @@ void D_SRB2Main(void)
W_VerifyFileMD5(1, "a894044b555dfcc71865cee16a996e88"); // zones.dta
W_VerifyFileMD5(2, "4c410c1de6e0440cc5b2858dcca80c3e"); // player.dta
W_VerifyFileMD5(3, "85901ad4bf94637e5753d2ac2c03ea26"); // rings.dta
//W_VerifyFileMD5(5, ""); // patch.dta (dev changable)
W_VerifyFileMD5(4, "c529930ee5aed6dbe33625dc8075520b"); // patch.dta

// don't check music.dta because people like to modify it, and it doesn't matter if they do
// ...except it does if they slip maps in there, and that's what W_VerifyNMUSlumps is for.
Expand Down
6 changes: 3 additions & 3 deletions src/doomdef.h
Expand Up @@ -144,8 +144,8 @@ extern FILE *logstream;
#define VERSIONSTRING "Trunk"
#else
#define VERSION 201 // Game version
#define SUBVERSION 0 // more precise version number
#define VERSIONSTRING "v2.1.0"
#define SUBVERSION 1 // more precise version number
#define VERSIONSTRING "v2.1.1"
#endif

// Modification options
Expand Down Expand Up @@ -201,7 +201,7 @@ extern FILE *logstream;
// it's only for detection of the version the player is using so the MS can alert them of an update.
// Only set it higher, not lower, obviously.
// Note that we use this to help keep internal testing in check; this is why v2.1.0 is not version "1".
#define MODVERSION 4
#define MODVERSION 5



Expand Down
4 changes: 4 additions & 0 deletions src/m_misc.c
Expand Up @@ -1503,6 +1503,10 @@ void M_StartupLocale(void)
CONS_Printf("M_StartupLocale...\n");

setlocale(LC_ALL, "");

// Do not set numeric locale as that affects atof
setlocale(LC_NUMERIC, "C");

// FIXME: global name define anywhere?
#ifdef GETTEXTDOMAIN1
textdomhandle = bindtextdomain("srb2", GETTEXTDOMAIN1);
Expand Down
3 changes: 3 additions & 0 deletions src/p_mobj.c
Expand Up @@ -1219,6 +1219,9 @@ void P_XYMovement(mobj_t *mo)
else if (mo->player)
moved = true;

if (P_MobjWasRemoved(mo)) // MF_SPECIAL touched a player! O_o;;
return;

// Check the gravity status.
P_CheckGravity(mo, false);

Expand Down
4 changes: 2 additions & 2 deletions src/sdl/macosx/Srb2mac.xcodeproj/project.pbxproj
Expand Up @@ -1212,7 +1212,7 @@
C01FCF4B08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 2.1.0;
CURRENT_PROJECT_VERSION = 2.1.1;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
NORMALSRB2,
Expand All @@ -1224,7 +1224,7 @@
C01FCF4C08A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 2.1.0;
CURRENT_PROJECT_VERSION = 2.1.1;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
Expand Down

0 comments on commit 3e0b5ef

Please sign in to comment.