- May 25, 2017
-
-
toaster authored
* Made the check in Got_RequestAddfilecmd more comprehensive, since I might as well. Just something to tweak a little later in internal.
-
toaster authored
Partial implementation of fix for Got_RequestAddfilecmd (the other half - the limitation on the size of the filesneeded section of the serverinfo packet - will be applied in internal.)
-
toaster authored
-
- May 22, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
Dedicated bonuses fix Fixes the issue reported here: https://mb.srb2.org/showthread.php?t=42530 What it turns out is going on is that making the game bail out in the middle of Y_StartIntermission if you're a dedicated server's host prevents the game from awarding the players bonuses in coop mode. Therefore it's not just special stage bonuses, but ANY kind of bonuses that can cause desyncs if someone loses all their lives. This can be merged to master since it's a change only for dedicated server hosts, and should otherwise be compatible with 2.1.18. See merge request !186
-
- May 19, 2017
-
-
Monster Iestyn authored
Don't bail out in Y_StartIntermission in dedicated mode, this causes the game not to add on score bonuses for players from the server's view of things!
-
- May 17, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
SDL fixes and cleanup Mostly cleanup tbh. I noticed a few things that bugged me when examining SDL's code recently, thought I might as well fix them up a bit. These changes definitely does not affect netplay, so this can be merged to master just fine. See merge request !183
-
- May 15, 2017
-
-
Monster Iestyn authored
R_InitExtraColormaps fix This fixes the `R_InitExtraColormaps` function so that it correctly realises there are no "extra colormaps" actually in SRB2's files, rather than telling you there are 6 extra colormaps on game startup (or however many WAD files total you have added). For those who don't know what the function does, it searches for C_START/C_END markers, and if they exist, adds any lumps inbetween to a list of extra colormaps internally. They are never used by the game though, since we last supported colormaps of that kind so long ago I don't think anyone remembers when anymore (definitely more than a decade at least). Merging to next since I don't know if this would cause any netplay issues or not tbh. See merge request !182
-
Monster Iestyn authored
I_GetConsoleEvents: Split KEY_EVENT code into a function of its own, like with I_GetEvent's event types One benefit of this is that event_t data need only be created if KEY_EVENT is found, since the other event types never do anything anyway
-
Monster Iestyn authored
-
Monster Iestyn authored
-
Monster Iestyn authored
Not really important or anything, but checking render_soft == rendermode rather than rendermode == render_soft always bugged me. And it's not consistent with the rest of the source code (or at least most of it) anyway.
-
Monster Iestyn authored
If modenum was < 0 or >= MAXWINMODES, that would make windowedModes[modeNum] be out of bounds and possibly crash the game.
-
Monster Iestyn authored
I_FinishUpdate: OglSdlFinishUpdate should never run for render_soft, even if screens[0] somehow is NULL
-
Monster Iestyn authored
Don't need to use WADFILENUM/LUMPNUM in this function, since W_CheckNumForNamePwad returns just the lump number, not a combined WAD + lump number frankenstein's monster This is just in case someone actually tries to dump in C_START/C_END and "add" colormaps using them, not that they would ever be used currently anyway.
-
Monster Iestyn authored
Fix R_InitExtraColormaps reporting 6 or more colormaps every time you loaded the game, even though we haven't used C_START/C_END in more than a decade now Note to self: W_ functions are awfully confusing with returning with LUMPERROR or INT16_MAX. Should sort out what's going on there if necessary
-
- May 13, 2017
-
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
- May 12, 2017
-
-
Monster Iestyn authored
Update to v2.1.18 Exactly what it says on the tin. See merge request !180
-
Monster Iestyn authored
Don't worry, I remembered to update MODVERSION as well this time :)
-
- May 11, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
Jet Jaw crash fix Turns out not having MF_SHOOTABLE can cause the Jet Jaw to endlessly loop between the two states, until somehow LUA_CallAction inexplicably causes Z_StrDup to crash anyway (that one's a mystery to me, I'm not going to look into it right now). I tweaked A_JetJawChomp so this endless loop can't happen anymore. See merge request !176
-
Monster Iestyn authored
Invalid node hotfix master Quick hotfix to prevent `Net_CloseConnection` from crashing if the node's number is invalid. See merge request !179
-
- May 09, 2017
-
-
Monster Iestyn authored
-
-
- May 08, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
obj folders fix Partial backtrack of changes I made in !174. Apparently removing all the `.gitignore` files from `/objs`'s subfolders removed the only reason Git was keeping the folders alive (Git doesn't care about empty folders as it turns out). So now they have `.gitignore`s again, with a warning in each not to remove them. See merge request !177
-
Monster Iestyn authored
Re-add all the folders present in objs before my .gitignore changes, by adding .gitignore files again to keep them from disappearing
-
- May 07, 2017
-
-
Monster Iestyn authored
-
- May 03, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
.gitignore stuff The following changes have been made to `.gitignore` files in the objs/ and bin/ folders: * All the `.gitignore`s living in subfolders of objs/ have been done away with and replaced with a single `objs/.gitignore`, covering all the things that the subfolders ignored before (including depend.ped, if anyone is like me and has to remove that file manually) * All the `.gitignore`s living in subfolders of `bin/Mingw` ignore .exes of any name, not just srb2win/srb2dd/srb2sdl. en.mo is also ignored now... or rather any .mo file (just in case). This is mostly for my own sanity and that of anyone else who uses EXENAME=[name.exe] when compiling with MinGW. If you're not sure what `.gitignore` does exactly, as far as I'm aware it literally just tells Git what to "ignore" (or rather, not track), so anyone using Git GUI or some other Git program etc doesn't have to see changes certain files and can't accidentally commit the files or whatever. See merge request !174
-
- May 01, 2017
-
-
Monster Iestyn authored
Admin ban fix Okay, THIS time admin bans should work properly. Turns out the relevant code for banning did not properly consider the case of admins doing the banning, at least until now. Unlike my last attempt at fixing admin bans (!165), this one would require both host and admin to have the fix exe assuming everyone else would be using 2.1.17, so I'm merging to next instead of master. See merge request !167
-
Monster Iestyn authored
Allowteamchange fix Fixes "allowteamchange no" to actually work properly and NOT desync you from the game in most cases. You can now switch TO spectator freely (as intended it turns out), and switching FROM spectator is prohibited. The "Enter Game" menu option in Match/Tag now displays one of those blue window notices just like with "Change Teams" in CTF/Team Match if you cannot change teams right now. Everything else works as you'd expect. The de-sync issue was originally reported here https://mb.srb2.org/showthread.php?p=789965#85 See merge request !168
-
- Apr 30, 2017
-
-
Monster Iestyn authored
-
Monster Iestyn authored
-
- Apr 26, 2017
-
-
Monster Iestyn authored
-
- Apr 25, 2017
-
-
Monster Iestyn authored
Addfile directories fix This is a fix for this bug: https://mb.srb2.org/showthread.php?t=42279 See merge request !166
-
Monster Iestyn authored
Falling rocks fix This fixes the rock spawners' rocks not being removed if they rolled down to the ground from a slope rather than bouncing (see https://mb.srb2.org/showthread.php?t=41963) See merge request !162
-
- Apr 24, 2017
-
-
Monster Iestyn authored
DrawFill made not stupid made it more consistent with other drawing functions; doesn't draw off of the sides, and doesn't ignore snapping or widths for reasons that don't make sense (for instance: the green bar in MI's test script showed *above* the blue one in non-green resolutions in 2.1.17) See merge request !173
-