Commit graph

8603 commits

Author SHA1 Message Date
Monster Iestyn f028bb0219 Fix numoflines calculations in sectorlines_* functions by first typecasting seclines (the sector.lines address) to size_t before doing any math on it, then (after the math) typecast the result to size_t * and dereference it.
And yes, this time I tested it to make sure it works :)
2019-12-16 17:46:27 +00:00
Monster Iestyn 130794cc4d Merge branch 'master' into next 2019-12-16 15:41:47 +00:00
MascaraSnake 79350992df Some more cleanup of map loading code 2019-12-16 00:17:20 +01:00
MascaraSnake bb3440d021 Minor cleanup of virtual resources code 2019-12-16 00:04:48 +01:00
James R 53c7df4818 Merge branch 'map-command-no-mapheaderinfo' into 'master'
Let the map command warp to maps without a level header

See merge request STJr/SRB2!528
2019-12-15 16:59:03 -05:00
James R adc87640d9 Merge branch 'cmake-fixes' into 'master'
Various cmake adjustments

See merge request STJr/SRB2!538
2019-12-15 16:58:45 -05:00
James R 00e2c420f6 Merge branch 'dont-be-mean-to-tails-plz' into 'master'
Don't be mean to Tails plz (Pandora's Box Super cheat fix)

See merge request STJr/SRB2!540
2019-12-15 16:58:24 -05:00
MascaraSnake 230006553d Set mapthing z in OP_CreateNewMapThing 2019-12-15 21:43:50 +01:00
Sryder a093c76cfb Merge branch 'master' of git@git.magicalgirl.moe:STJr/SRB2.git into better-deadzone 2019-12-15 15:47:45 +00:00
Monster Iestyn eb179e4d6a Remove anti-Tails restriction for the Allow super Pandora's Box cheat.
Despite popular belief, this was just some experimenting from 2.2 development that we forgot to remove!
2019-12-15 15:40:56 +00:00
Sryder 76d59330f7 Port the deadzone cvar stuff from kart.
Add menu items for deadzone.
2019-12-15 15:36:13 +00:00
Sryder b17bf5d836 Use Scaled Radial Deadzones, instead of Axial deadzones.
Additionally fixes some weird padscale 0 stuff that was flipped.
This does have gameplay implications in both NiGHTS and regular gameplay. Notably you won't feel like you're locked into up/down left/right when you want to turn, but this can make running perfectly straight a little bit more tricky.
2019-12-15 14:37:30 +00:00
GoldenTails 23b3f5a649 Fix a divide by zero crash when mindash and maxdash were the same.
Props to rumia1 for finding this and Lach for figuring out this was a divide by zero error.
2019-12-15 04:09:56 -06:00
MascaraSnake 8a6e244e60 SpawnEmeraldHunt() -> P_SpawnEmeraldHunt() 2019-12-15 09:49:54 +01:00
Eidolon d63ad82dc5 [cmake] Remove srb2dd target 2019-12-15 00:47:58 -06:00
Eidolon 11f5911943 [cmake] Use same executable names as Makefile 2019-12-15 00:39:04 -06:00
Zachary McAlpin fce6ea0384 Fixed mistake with #endif placement 2019-12-14 19:32:49 -06:00
Zachary McAlpin ee9e72f48b Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2 into new-lua-features 2019-12-14 17:59:21 -06:00
James R 1123b5debd Merge remote-tracking branch 'origin/master' into next 2019-12-14 15:28:25 -08:00
MascaraSnake bcfd9fe504 Cleaned up GetMobjSpawnHeight a bit. Ring-likes no longer ignore MF_SPAWNCEILING, because why should they? 2019-12-15 00:22:17 +01:00
James R 4daf9666a2 Merge branch 'ripple2' into 'master'
Tilted ripple

See merge request STJr/SRB2!524
2019-12-14 17:52:54 -05:00
Jaime Passos 4d87bcca13 Move position of R_PlaneRipple in the file so this looks more organised 2019-12-14 19:50:40 -03:00
Jaime Passos 871ebef332 Merge remote-tracking branch 'origin/master' into ripple2 2019-12-14 19:36:54 -03:00
James R 14674223e8 Merge branch 'opengl-is-a-bad-renderer' into 'master'
OpenGL fixes

See merge request STJr/SRB2!519
2019-12-14 16:48:50 -05:00
James R b121bc2b3b Merge branch 'fix-shield-hover' into 'next'
Stop characters from being able to activate their abilities when doing a shield ability!

See merge request STJr/SRB2!522
2019-12-14 16:48:12 -05:00
James R 64eb89fc56 Merge branch 'portalcullsector' into 'master'
Restore portal culling code that went gone by pure accident

See merge request STJr/SRB2!523
2019-12-14 16:47:51 -05:00
James R e5714db75c Merge branch 'software-drawers-refactor' into 'master'
Optimize Software drawers

See merge request STJr/SRB2!533
2019-12-14 16:47:27 -05:00
James R 65a17a8f09 Merge branch 'customexitvars-rework' into 'next'
Rework G_SetCustomExitVars to allow skipstats 2

See merge request STJr/SRB2!534
2019-12-14 16:47:18 -05:00
Steel Titanium b3d678a252 Merge branch 'master' into next 2019-12-14 16:44:56 -05:00
James R c1d54007e4 Fix C90 error from NOHW 2019-12-14 13:30:10 -08:00
Zachary McAlpin 87b816e408 Added PlayerThink hook 2019-12-14 15:28:24 -06:00
James R 2a22adaa60 Oops C90 2019-12-14 12:55:11 -08:00
James R 8a23ff0bc8 Handle log file in parent properly 2019-12-13 16:51:49 -08:00
James R 553ad46c74 Add this back for Windoodoo because I'm an idiot 2019-12-13 15:04:31 -08:00
Jaime Passos 4c13190b48 Merge remote-tracking branch 'origin/master' into software-drawers-refactor 2019-12-13 19:22:47 -03:00
Jaime Passos 7f092b884b Initialise the variable, obviously 2019-12-13 19:04:36 -03:00
Jaime Passos a27a225a81 Remove SPANDRAWFUNC_MMX, as it's not needed anymore. 2019-12-13 19:02:36 -03:00
Steel Titanium ad776e560c Rework G_SetCustomExitVars to allow skipstats 2 2019-12-13 16:36:33 -05:00
Jaime Passos 6720279969 Separate non-powers-of-two draw routines into its own file 2019-12-13 13:11:56 -03:00
Jaime Passos fa58c1fb26 stuff 2019-12-13 12:26:47 -03:00
James R 14f4fa2e9c Merge branch 'tatsuru-amyhugfix' into 'next'
Make Amy only hug players at the same Z height

See merge request STJr/SRB2!521
2019-12-13 01:58:32 -05:00
James R c415d80e19 Merge branch 'dashmode-shader' into 'master'
Add TC_DASHMODE color shader

See merge request STJr/SRB2!526
2019-12-13 01:58:18 -05:00
James R d64a7defed Merge branch 'toomanyflats-fix' into 'master'
Fix Ploadflat closing the game with "Too many flats in level" error message

See merge request STJr/SRB2!529
2019-12-13 01:57:55 -05:00
James R 8bea7f6dbc Rename signal caught message to be more obvious 2019-12-12 22:01:16 -08:00
James R 838850ffc1 Fix signal handler setup error reporting 2019-12-12 21:57:54 -08:00
James R 35053adfb2 Rename I_StartupKeyboard to I_RegisterSignals and call it in a sane place 2019-12-12 21:30:35 -08:00
James R 72ee91702c Kill child when wait fails, so I_Error exits both 2019-12-12 21:21:25 -08:00
James R f34886850f Fix idiot mistake 2019-12-12 21:20:51 -08:00
Jaime Passos b0ffe7ed70 Update v_video.c 2019-12-12 23:30:09 -03:00
Jaime Passos 4e814cd424 FINALLY, COLORCUBIUM 2019-12-12 23:18:39 -03:00