Commit graph

7085 commits

Author SHA1 Message Date
MascaraSnake
4ccb4f5c8a Merge branch 'crossfade-fix' into 'master'
Fix crossfades

See merge request STJr/SRB2Internal!514
2019-11-23 04:14:07 -05:00
toaster
0f164301e1 Do Cobalt's suggestion, because this branch wasn't gonna get merged in its original state anyways. 2019-11-22 16:27:22 -05:00
MascaraSnake
2c85aa9f69 Merge branch 'drtminus' into 'master'
drt minus

See merge request STJr/SRB2Internal!495
2019-11-22 16:09:58 -05:00
toaster
5611f8eff4 I was reading the Sonic 3 Unlocked blog by NeoHazard when I came across a very interesting post.
https://s3unlocked.blogspot.com/2017/12/over-threshold.html

It turns out that in Sonic 3 & Knuckles, the threshold for crossing into the super animation is increased compared to normal gameplay. This makes a lot of sense - however, both Sonic Mania and the Taxman/Stealth mobile remakes missed this. I quickly tested and confirmed that SRB2 had the same issue, so here's the fix.
2019-11-22 21:06:25 +00:00
Jaime Passos
b24c709206 clarify comment 2019-11-22 17:50:05 -03:00
Jaime Passos
faa305a2f2 Fix crossfades
Fixes NoReload using the wrong wipestyle.
Also fixes non-titlemap title screen wipes using the wrong wipestyle.
2019-11-22 17:44:42 -03:00
Jaime Passos
227f69f063 fix missing mmx check 2019-11-22 17:30:53 -03:00
MascaraSnake
6545284eaf Merge branch 'gfz-debris' into 'master'
VAdaPEGA's GFZ debris

See merge request STJr/SRB2Internal!505
2019-11-22 15:27:11 -05:00
MascaraSnake
e9ca39d3bc Merge branch 'infopoke' into 'master'
MS Info packet tweaks (resolves #300)

Closes #300

See merge request STJr/SRB2Internal!499
2019-11-22 15:21:41 -05:00
sphere
de2a26bf5d Swap statistics and tutorial options in the 1 Player menu. 2019-11-22 21:00:03 +01:00
toaster
c8c5237540 Resolve #310. 2019-11-22 19:51:27 +00:00
sphere
07221c50ce i'm a dumbass 2019-11-22 20:37:35 +01:00
MascaraSnake
ca74636a27 Merge branch 'dsz3target' into 'master'
Sea Egg targeting systems online! (resolves #303)

Closes #303

See merge request STJr/SRB2Internal!501
2019-11-22 14:26:40 -05:00
MascaraSnake
6f82e5197d Merge branch 'rollout-bumps' into 'master'
Add fun™ to rollout rocks

See merge request STJr/SRB2Internal!504
2019-11-22 14:25:39 -05:00
sphere
e3aca4b647 restore secrets = 0, not sure why i changed that 2019-11-22 20:24:57 +01:00
MascaraSnake
44fa076698 Merge branch 'radiomode3' into 'master'
Fix conditionset-based unlocks on the Sound Test (resolves #312).

Closes #312

See merge request STJr/SRB2Internal!508
2019-11-22 14:12:03 -05:00
MascaraSnake
f7c4ec1965 Merge branch 'mapvisitedupdate' into 'master'
Intermission fixes/cleanup

See merge request STJr/SRB2Internal!509
2019-11-22 14:11:31 -05:00
MascaraSnake
18babe3268 Merge branch 'followghost' into 'master'
Followmobj Record Attack fix (resolves #322).

Closes #322

See merge request STJr/SRB2Internal!510
2019-11-22 14:10:59 -05:00
MascaraSnake
e351d629bd Merge branch 'playersall' into 'master'
Players All reliability fix (resolves #301 and #315)

Closes #301 and #315

See merge request STJr/SRB2Internal!500
2019-11-22 14:10:39 -05:00
MascaraSnake
a3a7dc6bed Merge branch 'remove-unused-levelwipes' into 'master'
(Cleanup) Remove unused levelwipes

See merge request STJr/SRB2Internal!507
2019-11-22 09:21:17 -05:00
MascaraSnake
ae8f0b42aa Merge branch 'titlecard-event-fix' into 'master'
Remove D_ProcessEvents call in G_PreLevelTitleCard (resolves #317)

Closes #317

See merge request STJr/SRB2Internal!506
2019-11-22 09:12:02 -05:00
lachwright
3e1c3b04e7 WIP intro graphics update 2019-11-22 20:08:23 +08:00
sphere
514394a4f3 fuck autocomplete 2019-11-22 04:12:38 +01:00
toaster
143d4aa053 Move all the visitation/emblems/record attack update stuff into a single function, and call that function in two different places depending on whether the tally screen is visited or not. 2019-11-21 23:38:33 +00:00
toaster
3798e886ea Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into mapvisitedupdate 2019-11-21 23:16:06 +00:00
toaster
990d9ed40c Correct location of followmobj scale write to match read (resolves #322).
Requires deleting all of RC1's Record Attack replays with followmobj characters, but I think you'll agree that's a reasonable price to pay.
2019-11-21 22:50:04 +00:00
toaster
7ff616b26e Do a whole bunch of cleanup for mapvisited and intermission related things.
* Move the visitation flags, Record Attack/NiGHTS Attack data, and emblem checking to outside of Y_StartIntermission.
* Y_CleanupScreenBuffer never got called for maps which skip the intermission, leading to a small memory leak; this is now fixed by moving it to G_AfterIntermission.
* Y_FollowIntermission was just G_AfterIntermission with modeattacking specific behaviour, but this is desired for all places where G_AfterIntermission is called, so just merge this into G_AfterIntermission.

Notably, these changes are necessary because there are now three maps in the main SP campaign which do not end with traditional intermissions. As a result, this fixes an issue where Black Core's tracks are not available in the Sound Test (due to MV_BEATEN never being applied).

Also, since I was here: Remove "gotperfect" from recorddata_t. This is a duplicate of `mapvisited[gamemap-1] & MV_PERFECT` which uses more memory. I have kept the new spacing in the gamedata for compatibility with RC1 savedatas, but moved it across to the original method everywhere else.
2019-11-21 16:10:28 +00:00
sphere
5a7ebb3ba6 Re-reorganize sound options. 2019-11-21 16:53:37 +01:00
sphere
b37c3a414a Remove unneeded HAVE_MIXERX checks. 2019-11-21 16:35:27 +01:00
MascaraSnake
f13e67bf8f Merge branch 'gametype-out-of-range' into 'master'
Prevent gametype changes being out of range

See merge request STJr/SRB2Internal!503
2019-11-21 09:31:05 -05:00
MascaraSnake
9db5c5875c Merge branch 'hi-lj' into 'master'
Fix issue with strcasestr that causes a map command crash

See merge request STJr/SRB2Internal!502
2019-11-21 09:30:18 -05:00
MascaraSnake
f1ab6783c2 Merge branch 'subtitlesubterfuge' into 'master'
Subtitle subterfuge (resolves #306)

Closes #306

See merge request STJr/SRB2Internal!498
2019-11-21 09:29:13 -05:00
MascaraSnake
3b2b8ab80f Merge branch 'ptzcrash' into 'master'
Fix crash in new fireflower (resolves #305).

Closes #305

See merge request STJr/SRB2Internal!497
2019-11-21 09:28:35 -05:00
toaster
7c7eec4b9a Fix conditionset-based unlocks on the Sound Test. 2019-11-21 13:12:54 +00:00
Jaime Passos
248306ccb0 Remove D_ProcessEvents call in G_PreLevelTitleCard 2019-11-21 02:16:09 -03:00
sphere
f021d35e7e Move tutorial to the bottom of the 1 Player menu. 2019-11-21 02:43:07 +01:00
sphere
74987beb1f Reword some evaluation sentences. 2019-11-21 02:24:12 +01:00
sphere
48c454553f Move SP and MP down if extras aren't unlocked yet. 2019-11-21 02:19:31 +01:00
sphere
9608021824 Rename "secrets" to "extras". 2019-11-21 01:34:32 +01:00
sphere
f587069d0e Reorganize sound options. 2019-11-21 01:14:09 +01:00
sphere
2d509eff47 Move the main menu options around. 2019-11-21 00:34:58 +01:00
lachwright
35f2572e29 Correct sound for GFZ debris (copy-paste oversight) 2019-11-21 01:26:53 +08:00
lachwright
c5d085d333 Add missing GFZD spriteset 2019-11-21 01:14:24 +08:00
lachwright
ac3924c9c8 Add GFZ debris; reorganize wood debris index 2019-11-21 01:05:22 +08:00
lachwright
cdc7a88b04 Add bump sounds to rollout rock & add Newton's third law to jumping off them 2019-11-20 23:45:34 +08:00
toaster
abf0c5e632 resolve #315 2019-11-20 14:34:19 +00:00
Jaime Passos
e0a9b3d695 Merge remote-tracking branch 'origin/subtitlesubterfuge' into remove-unused-levelwipes 2019-11-19 21:49:45 -03:00
Louis-Antoine
032f53ce07 Prevent drowning after completing the level 2019-11-19 22:44:33 +01:00
James R
6ffb18c4b1 Warn if gametype number is out of range to map command 2019-11-19 12:32:02 -08:00
James R
9b96964cbb Check for out of range gametype on map change 2019-11-19 12:25:50 -08:00
toaster
7645d0417a Further cleanup. 2019-11-19 20:24:44 +00:00
James R
c5d73e37bb Fix strcasestr SIGSEGV in the case of only upper case strchr returning NULL 2019-11-19 11:16:17 -08:00
Monster Iestyn
d1d1098f7c fix object type restrictions for popping monitors
(MT_BOUNCERING to MT_GRENADERING are actually the ammo pickups, MT_THROWNBOUNCE to MT_THROWNGRENADE are what actually want here)
2019-11-19 12:31:20 -05:00
toaster
2bba25c1e1 As selected by Nev3r, implement option 2: Proximity Bastard for the Sea Egg to resolve #303. 2019-11-19 15:59:24 +00:00
toaster
86f343b84b Make the All Players linedef exectutor activator sector type more reliable for FOFs that span multiple sectors (resolves #301). 2019-11-19 14:09:24 +00:00
toaster
f5885f84f0 lmao how did i forget a null terminator 2019-11-19 13:40:07 +00:00
toaster
ef1aeb2ff6 MS Info packet tweaks.
* Report a completely uppercase map title in SERVERINFO, as per the MS previously expected (resolves #300).
* Ignore colour codes in map titles in SERVERINFO, since those now function like with console font.
* Modulo the skin number provided in PLAYERINFO by 3 in DEVELOP builds, so it's safe to test with certain characters on the MS (AS LONG AS IT'S NOT A RELEASE BUILD).
2019-11-19 13:36:33 +00:00
toaster
3add9a9bd2 Make the SPEEDING OFF TO ZONE text that appears while loading:
* Use a mixed case "Zone" to match the mixed case level titles.
* Have V_TRANSLUCENT to not stick out too much against pure black/white backgrounds. (Can revert this aspect if necessary, but I think you'll agree it's a good balance between readable and aesthetic.)
2019-11-19 13:00:37 +00:00
toaster
2ac44240db Fix the coords of the subtitle. 2019-11-19 12:59:01 +00:00
toaster
340e2e48f9 Fix crash in new fireflower. (resolves #305)
Also, correct indentation on bounce ring fuse since I was here.
2019-11-19 11:53:45 +00:00
Jaime Passos
99d4db956c change vertical alignment 2019-11-18 21:45:30 -03:00
Jaime Passos
8de7ff0c86 fix subttl 2019-11-18 21:44:02 -03:00
James R
1db9e312a6 P_MobjFlip does not return boolean 2019-11-18 15:55:21 -08:00
James R
f3e66f7b58 dist is unused 2019-11-18 15:53:30 -08:00
James R
1febf8cb4b Mixed code... 2019-11-18 15:52:14 -08:00
James R
eefc285b5c locvars not needed 2019-11-18 15:48:29 -08:00
Jaime Passos
8de06a93f9 remove UINT8 wipecolorfill 2019-11-18 20:07:37 -03:00
MascaraSnake
2418e33a00 Merge branch 'cobalt-ai' into 'master'
CobaltBW's Tails AI

See merge request STJr/SRB2Internal!358
2019-11-18 17:26:28 -05:00
Jaime Passos
1e4060af8c remove unused levelwipes 2019-11-18 19:22:46 -03:00
MascaraSnake
3df0afb7db Merge branch 'f_wipes' into 'master'
Colormapped fades

See merge request STJr/SRB2Internal!469
2019-11-18 17:21:09 -05:00
MascaraSnake
7dc3484e5d Merge branch 'dragonbomber' into 'master'
Dragonbomber

See merge request STJr/SRB2Internal!489
2019-11-18 17:10:30 -05:00
Jaime Passos
1698e2d986 adjust duration 2019-11-18 19:08:04 -03:00
toaster
5eaa3fc3f8 Left this in by mistake. 2019-11-18 22:07:29 +00:00
toaster
ab70512253 As requested by MotorRoach and doublechecked with MascaraSnake, DrT's Minus resprite. 2019-11-18 22:05:05 +00:00
Jaime Passos
8a05afa1aa Merge remote-tracking branch 'origin/master' into f_wipes 2019-11-18 18:48:19 -03:00
toaster
1fdcc270d8 Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into cobalt-ai
# Conflicts:
#	src/p_map.c
2019-11-18 21:33:51 +00:00
MascaraSnake
8adc5bd876 Merge branch 'titlecards' into 'master'
Titlecards

See merge request STJr/SRB2Internal!492
2019-11-18 16:22:32 -05:00
MascaraSnake
1365ef49b3 Merge branch 'jester-fireball' into 'master'
Mario fireball by Jester (resolves #296)

Closes #296

See merge request STJr/SRB2Internal!487
2019-11-18 15:56:33 -05:00
Jaime Passos
aa659836ee Merge remote-tracking branch 'origin/master' into titlecards 2019-11-18 17:55:47 -03:00
Steel Titanium
8d9ef84970
Merge branch 'master' of git.magicalgirl.moe:STJr/SRB2Internal 2019-11-18 15:41:57 -05:00
MascaraSnake
baaec6f191 Merge branch 'nightstail' into 'master'
NiGHTS tail

See merge request STJr/SRB2Internal!482
2019-11-18 15:41:52 -05:00
Steel Titanium
efac76f833
Merge branch 'public_next' into 'master' 2019-11-18 15:39:41 -05:00
MascaraSnake
2001cad144 Merge branch 'capsuletweaks' into 'master'
Egg Capsule tweaks

See merge request STJr/SRB2Internal!474
2019-11-18 15:24:13 -05:00
MascaraSnake
1210545a8e Merge branch 'fhzenemytweaks' into 'master'
Hardcode DrT's FHZ improvements (resolves #295).

Closes #295

See merge request STJr/SRB2Internal!483
2019-11-18 15:21:59 -05:00
MascaraSnake
7a48a8d72d Merge branch 'poledance' into 'master'
Make ACZ3's slapstick signpost taller (resolves #267).

Closes #267

See merge request STJr/SRB2Internal!473
2019-11-18 15:14:48 -05:00
MascaraSnake
233ff8bd27 Merge branch 'exit-move-lj' into 'master'
Post-exit movement

See merge request STJr/SRB2Internal!486
2019-11-18 15:10:15 -05:00
MascaraSnake
5649365c19 Merge branch 'titlecard-lowercase-support' into 'master'
Lowercase support in titlecards

See merge request STJr/SRB2Internal!481
2019-11-18 15:05:02 -05:00
MascaraSnake
98f2ee598d Merge branch 'endingmus' into 'master'
Ending music and associated

See merge request STJr/SRB2Internal!475
2019-11-18 14:33:22 -05:00
toaster
508fdb493b compilation fixes (no review yet, currently just about to have dinner) 2019-11-18 19:22:51 +00:00
MascaraSnake
3e7e749327 Merge branch 'reset-rollangle' into 'master'
Reset rollangle

See merge request STJr/SRB2Internal!494
2019-11-18 14:11:32 -05:00
MascaraSnake
881524a2d7 Merge branch 'signpost-cleanup' into 'master'
Signpost camera cleanup

See merge request STJr/SRB2Internal!490
2019-11-18 14:00:05 -05:00
MascaraSnake
778543af08 Merge branch 'pingimprovements' into 'master'
Better ping implementation.

See merge request STJr/SRB2Internal!488
2019-11-18 13:58:41 -05:00
MascaraSnake
dbdbc116c7 Merge branch 'metalbwarp' into 'master'
Fix Metal Sonic not correctly flipping with gravity (Resolve #289).

Closes #289

See merge request STJr/SRB2Internal!472
2019-11-18 13:39:22 -05:00
Jaime Passos
dc70a24b30 restore zigzags 2019-11-18 15:32:48 -03:00
Jaime Passos
b7f2b74d9a V_PERPLAYER did exactly what I did not want it to do so I'll disable these elements 2019-11-18 15:18:27 -03:00
Jaime Passos
29792c7a2b missing prototype 2019-11-18 15:13:31 -03:00
Jaime Passos
cf24b57d8f perplayer 2019-11-18 15:12:55 -03:00
Jaime Passos
5c55c86dd2 invert conditional 2019-11-18 15:06:07 -03:00
MascaraSnake
9da5932d88 Merge branch 'damnnothere' into 'master'
Disable the GL sprite shadows behind a #define.

See merge request STJr/SRB2Internal!485
2019-11-18 13:05:43 -05:00
MascaraSnake
535aa79418 Merge branch 'firefuck' into 'master'
Firefuck (resolves #291).

Closes #291

See merge request STJr/SRB2Internal!476
2019-11-18 13:05:00 -05:00
Jaime Passos
85f1b847e9 LF_WARNINGTITLE 2019-11-18 15:04:40 -03:00
MascaraSnake
3e7242af3c Merge branch 'papersign3' into 'master'
I fucked up papersigns (Resolve #288).

Closes #288

See merge request STJr/SRB2Internal!471
2019-11-18 13:03:46 -05:00
Jaime Passos
444953d0bb oh sh 2019-11-18 14:32:34 -03:00
Jaime Passos
6920d20a0f map header option 2019-11-18 14:08:47 -03:00
Jaime Passos
e40bf85a6f lua 2019-11-18 13:50:44 -03:00
Jaime Passos
4ea3513076 Organize 2019-11-18 12:56:41 -03:00
lachwright
f786a8dbf6 Important fixes & mine lob speed reduction 2019-11-18 22:57:26 +08:00
Jaime Passos
9d17614c55 arg 2019-11-18 11:42:45 -03:00
Jaime Passos
6c98dde736 stuff 2019-11-18 11:39:54 -03:00
lachwright
280d151d76 Allow positive momentum retention when jumping off rollout rocks 2019-11-18 22:36:25 +08:00
toaster
0e71edeb50 In the absence of a proper revamp of the badnik, give the Deton the SPB sound from Kart when it sees the player, as a teaching shorthand and/or easter egg. 2019-11-18 13:27:02 +00:00
lachwright
27fcaf0f93 Whoops, deleted a little too much by accident 2019-11-18 16:26:15 +08:00
lachwright
4c432c376e Make camera use signpost's ground z coordinate instead of the player's z coordinate 2019-11-18 16:22:12 +08:00
lachwright
f682de3f1b Fix controllable flight ending when player hits the ground while being carried by Tailsbot 2019-11-18 15:55:55 +08:00
lachwright
bb67b24143 Add flight indicator 2019-11-18 15:17:27 +08:00
Steel Titanium
5ad00ccd2e
Add Azeonus/SwitchKaze's name 2019-11-18 01:16:44 -05:00
lachwright
70051bd794 Don't let the bot decide to fly if it doesn't have the ability to fly 2019-11-18 13:37:09 +08:00
lachwright
52a24e0bc4 Allow AI Tails to carry the player 2019-11-18 13:30:07 +08:00
lachwright
bf4dbead74 Update to latest script version 2019-11-18 11:22:27 +08:00
Jaime Passos
8a7b3d7022 Merge remote-tracking branch 'origin/master' into titlecards 2019-11-17 23:57:18 -03:00
James R
4439d29ed7 Shift showping display up a bit 2019-11-17 18:54:23 -08:00
James R
b05dec5294 Shift ping display in scores HUD up, so it aligns with the bottom of player name 2019-11-17 18:53:17 -08:00
James R
22421b1031 Snapping for showping, so it doesn't jump way up on non-green 2019-11-17 18:52:05 -08:00
lachwright
ac7d07c9da Prevent mines from sliding upon touching the ground 2019-11-18 10:35:56 +08:00
Louis-Antoine
b4987636fe Add missing checks for PF_FINISHED in HUD code 2019-11-18 03:27:39 +01:00
lachwright
76831595ce Merge branch 'master' into cobalt-ai 2019-11-18 10:13:16 +08:00
Steel Titanium
2584241a44
Better ping implementation. 2019-11-17 20:22:47 -05:00
Jaime Passos
635e121bfc Restore old sound effect 2019-11-17 21:33:59 -03:00
Jaime Passos
64939816fb Fireball 2019-11-17 21:25:17 -03:00
Louis-Antoine
24744d07e4 Disable exitmove by default 2019-11-17 23:52:51 +01:00
Louis-Antoine
688bf0158d Disable Tails carrying for players who completed the level
To avoid trolls...
2019-11-17 23:46:34 +01:00
Louis-Antoine
6c98a150be Show the exit icon for finished players 2019-11-17 23:44:48 +01:00
toaster
4cc1b2b327 Disable the GL sprite shadows behind a #define.
Reasoning:
* They're horribly broken (they completely ignore slopes).
* A similar final demo GL-only feature (coronas) has been completely disabled.
* Nobody's going to bugfix them before release because not even the devteam's resident GL users use them.
* They look ugly.
2019-11-17 22:18:46 +00:00
lachwright
cf53e255eb Remove tester console prints 2019-11-18 05:31:26 +08:00
lachwright
5cafed5c72 Make rollout rocks more friendly 2019-11-18 05:30:14 +08:00
lachwright
b721c035f8 Add Dragonbomber enemy 2019-11-18 05:23:59 +08:00
sphere
440515e3af whoops 2019-11-17 22:13:38 +01:00
toaster
ef5558af97 Hardcode DrT's FHZ improvements. Puttin' the FREEZE in feature freeze amirite haha 2019-11-17 20:34:25 +00:00
toaster
0c98fb746c Add some NiGHTS animations which default to normal player sprite2s to the existing player->panim set list, which makes Tails' tails appear due to how P_DoTailsOverlay is coded (assuming the skin is Tails, requiring them to have SPR2_NFLY available). 2019-11-17 18:04:02 +00:00
toaster
8ce054a7c8 Align to base rather than top. 2019-11-17 15:55:22 +00:00
toaster
5909b85627 Fix overlapping on You Can Now Become Super Sonic screen. 2019-11-17 15:20:20 +00:00
toaster
76897b560f Update end tally and sound test to accomodate new title font. 2019-11-17 14:56:05 +00:00
toaster
fdd681ab72 Since I had to tweak this branch to do the scrapped changing-to-title-music-at-a-different-time thing (since it was too late, and too late is WAY worse than too early): Have the credits music fade out over a shorter time when going to the title screen (vs going to evaluation), as opposed to stopping entirely. 2019-11-17 14:14:38 +00:00
Nev3r
5dc494da16
Mapname lowercase support (#146)
*  Moved levelname parsing to before where uppercase conversion occurs.
*  Extended titlecard font range.
*  Replaced misc. "ZONE" strings with "Zone" for titlecard purposes.
*  Don't convert to uppercase when rendering the titlecard name.


Signed-off-by: Nev3r <apophycens@gmail.com>
2019-11-16 20:36:25 -05:00
MascaraSnake
144502729a Merge branch 'sprinfo-bruh-moment' into 'master'
Freed before read, oops!

See merge request STJr/SRB2Internal!470
2019-11-16 12:54:21 -05:00
MascaraSnake
8adf564c41 Merge branch 'clearer-nodes-command' into 'master'
Make the "nodes" command clearer

See merge request STJr/SRB2Internal!477
2019-11-16 12:53:31 -05:00
MascaraSnake
d3fe116298 Merge branch 'fix-default-snac' into 'master'
defaultname, defaultskin and defaultcolor changes

See merge request STJr/SRB2Internal!479
2019-11-16 12:52:48 -05:00
James R
82ad6685a6 Remove defaultname, since players are probably sure on their name change 2019-11-15 17:32:43 -08:00
James R
6595d20709 Move setting from defaults to M_FirstLoadConfig, so it triggers even when the title screen doesn't start 2019-11-15 17:31:53 -08:00
Louis-Antoine
8b3e4d122b Show player number instead of node when someone joins 2019-11-16 01:42:02 +01:00
James R
53f5d7ffc3 Don't confuse node with player in commands
(cherry picked from commit 17bdf39dc8372ed9c6c31fa8d00eba03396a55bf)
2019-11-15 16:07:15 -08:00
Jaime Passos
12e8c11382 Update hw_main.c 2019-11-15 19:40:58 -03:00
Jaime Passos
55c42d9cb7 Small mistake 2019-11-15 19:36:25 -03:00
Jaime Passos
5b0730839b Move scope of wipelumpname 2019-11-15 19:09:02 -03:00
Jaime Passos
41835e07ea I don't get it 2019-11-15 19:04:40 -03:00
Jaime Passos
7ba7620059 Shadowed declaration and unused parameters 2019-11-15 18:58:45 -03:00
Steel Titanium
aff55ee27b
Fix crash when using the -connect startup paramater (Resolves #292) 2019-11-15 16:57:47 -05:00
Jaime Passos
f55b0f52ca Accidental missing (void) 2019-11-15 18:53:32 -03:00
Jaime Passos
c15ee65015 LEVELWIPES 2019-11-15 18:21:12 -03:00
Louis-Antoine
29501a992b Merge branch 'master' into exit-move-lj 2019-11-15 19:35:47 +01:00
Louis-Antoine
d95a1e2ff3 Make the "nodes" command clearer
Because literally anyone who isn't a dev has
no idea what those fucking numbers even mean...

Before:
$nodes
00 - Sonic - 01 - 666.66.420.42:5029
01 - Tales - 00 - self
02 - Nukes - 255
03 - Ammie - 255
04 - Fangs - 255
05 - Metal - 255

After:
$nodes
00 - Sonic - node 01 - 666.66.420.42:5029
01 - Tales - node 00 - self
02 - Nukes
03 - Ammie
04 - Fangs
05 - Metal
2019-11-15 17:50:40 +01:00
toaster
98712ad703 Resolve #291. 2019-11-15 16:39:30 +00:00
toaster
efa609d366 Ending music and associated.
* Play the good or bad ending track, instead of perfect silence.
* Fade out the credits music over 5 seconds when the credits go to the evaluation (timed to have finished just before the "you unlocked this!" jingle).
2019-11-15 15:58:25 +00:00
toaster
52bd4b05e1 * Make the Egg Capsule only explode for one second, but have the number of explosions (and flickies) multiplied 1.5 times.
* If the player is spindashing when the level is exited, they will un-spindash. (Currently you get stuck in charging)
2019-11-15 15:20:36 +00:00
toaster
892f6eca27 Make ACZ3's slapstick signpost taller (resolves #267). 2019-11-15 14:52:34 +00:00
Louis-Antoine
ff62a0732a Let players move after completing the level
This only takes effect in co-op,
and can be disabled with "exitmove off"
2019-11-15 15:35:28 +01:00
toaster
d91d07da5b Fix Metal Sonic not correctly flipping with gravity. (Doesn't require a new Metal recording.) 2019-11-15 13:10:41 +00:00
toaster
66001cc73c Resolve #288.
* Fix off-by-one error I caused in the skin randomisation selection.
* Clean up signcolour set to never go outside of valid entry range.
* Fix the preventing-console-spam mechanism for invalid sprites viewed in-game by only setting the state's sprite/frame to S_UNKNOWN's if the object's sprite/frame is currenly equal to the state's.
2019-11-15 12:47:21 +00:00
James R
56e5e3a01e Deobfuscate the R_ParseSpriteInfo call 2019-11-14 19:56:26 -08:00
James R
aa158cccd9 Freed before read, oops! 2019-11-14 19:28:33 -08:00
Jaime Passos
88fb22d688 Yeah, yeah... 2019-11-14 22:14:40 -03:00
Jaime Passos
76488d835f F_WipeColorFill 2019-11-14 21:31:20 -03:00
Jaime Passos
cc5c70ce7b Merge remote-tracking branch 'origin/master' into f_wipes 2019-11-14 20:50:09 -03:00
toaster
d0fac1988a Merge branch 'rotsprite_toast' into 'master'
Fix incorrect offsets of cached rotsprites

See merge request STJr/SRB2Internal!468
2019-11-14 18:49:12 -05:00
Steel Titanium
b287cc90a7 Merge branch 'master' into next 2019-11-14 18:41:57 -05:00
Jaime Passos
6be45ec241 Merge remote-tracking branch 'origin/master' into f_wipes 2019-11-14 20:24:42 -03:00
toaster
46e8bf2f30 Fix incorrect offsets of cached rotsprites 2019-11-14 23:22:18 +00:00
Steel Titanium
a5ac342c5f Merge branch 'ferror-you-were-lied-to' into 'master'
Fix false file error reporting

See merge request STJr/SRB2!514
2019-11-14 18:20:34 -05:00
James R
d36086ba33 Clang warning 2019-11-14 15:12:50 -08:00
MascaraSnake
80fd112009 Merge branch 'papersign2' into 'master'
Paper sign tweaks

See merge request STJr/SRB2Internal!460
2019-11-14 18:07:34 -05:00
MascaraSnake
6c6d89ca57 Merge branch 'flickies_not_in_walls' into 'master'
Flickies not in walls

See merge request STJr/SRB2Internal!461
2019-11-14 18:07:19 -05:00
MascaraSnake
031a352f72 Merge branch 'titleflash' into 'master'
Improved title screen flashes

See merge request STJr/SRB2Internal!462
2019-11-14 18:07:05 -05:00
MascaraSnake
3d8043ff64 Merge branch 'map-by-name' into 'master'
LJ saved me from self destruction by bad code

See merge request STJr/SRB2Internal!463
2019-11-14 18:06:52 -05:00
MascaraSnake
b0786f12de Merge branch 'coop-item-respawn' into 'master'
Allow item respawn in co-op again

See merge request STJr/SRB2Internal!466
2019-11-14 18:06:32 -05:00
Jaime Passos
d95a93b537 Merge remote-tracking branch 'origin/master' into f_wipes 2019-11-14 19:57:51 -03:00
MascaraSnake
07ea748d96 Merge branch 'soundsystemfix' into 'master'
Sound system startup fix

Closes #281

See merge request STJr/SRB2Internal!465
2019-11-14 17:50:41 -05:00
MascaraSnake
8f6890025c Merge branch 'secretstuff' into 'master'
The letter

See merge request STJr/SRB2Internal!438
2019-11-14 17:49:23 -05:00
Louis-Antoine
f4beb4a56f Disable monitor respawning in co-op 2019-11-14 22:27:02 +01:00
Louis-Antoine
18dc6013ed Disable item respawn in NiGHTs levels 2019-11-14 21:21:42 +01:00
MascaraSnake
3352f914d7 Merge branch 'rotsprite_i' into 'master'
Sprite rotation (resolves #183)

Closes #183

See merge request STJr/SRB2Internal!430
2019-11-14 14:58:13 -05:00
toaster
15da6c153a Woops, condition was accidentially inverted... but also I decided this looks nicer instead. 2019-11-14 19:09:17 +00:00
Louis-Antoine
cccf1c8a7b Disable perfect bonus in multiplayer 2019-11-14 19:25:19 +01:00
toaster
278ddcf770 Merge branch 'rotsprite_i' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into rotsprite_toast 2019-11-14 17:15:34 +00:00
Jaime Passos
8506d420a6 Optimise 2019-11-14 14:12:36 -03:00
toaster
afe28b0a0a * Remove the 22(!!) NiGHTS sprite2s that no longer get used in ROTSPRITE builds (which should be our main builds going forward).
* Rename `SPR2_NGT0` to `SPR2_NFLY`, and `SPR2_DRL0` to `SPR2_NDRL` to account for this. (requires modifying player.dta)
2019-11-14 17:03:02 +00:00
Jaime Passos
10d1b63ff2 Merge remote-tracking branch 'origin/master' into rotsprite_i 2019-11-14 12:49:03 -03:00
Jaime Passos
cb4820c505 Oh. Sorry. 2019-11-14 12:42:45 -03:00
Louis-Antoine
ffd9cfebe6 Allow item respawn in co-op again
Why was it even disabled anyway.
2019-11-14 16:37:09 +01:00
Jaime Passos
4292c5fc0b Other things I missed. Also added SF_NONIGHTSROTATION. Do I even have to keep the old behaviour? I have no idea. 2019-11-14 12:27:22 -03:00
toaster
261041dc69 Resolve #281. (Might have problems with non-SDL interfaces, but definitely good for what we're shipping with.) 2019-11-14 14:19:13 +00:00
toaster
da1b4f2277 Disable menu input on the title screen for the first second (ie, before the flash), to guarantee people won't start the menu the very first tic after the fade and ruin the animation. (Console and gif/screenshot recording still works, for the impatient.) 2019-11-14 12:52:34 +00:00
James R
b38a1ec313 Save bans when cleared too
(Why doesn't it work for I_Quit?)
2019-11-13 17:37:53 -08:00
toaster
761bd41eb5 I'm a dumbass who makes extremely consequential typoes (and since the typo is no longer in effect, the supergold can be brightened some more)
https://cdn.discordapp.com/attachments/244035368595357697/644316971738857483/srb20060.gif
2019-11-13 23:27:01 +00:00
James R
7776c59cdd Warn if the gametype is not valid at all! 2019-11-13 14:31:44 -08:00
James R
359d8a2c25 Optimizations from LJ and generic functions 2019-11-13 14:26:28 -08:00
toaster
3afe152a86 Sev wanted no darkness during the initial animation... I think this is an acceptible compromise!
https://cdn.discordapp.com/attachments/428262628893261828/644295409283497995/srb20058.gif
2019-11-13 22:02:06 +00:00
toaster
39d80e1cba https://cdn.discordapp.com/attachments/244035368595357697/644293089049182218/srb20057.gif
* Make the white flash a little easier on the eyes by putting the full-screen fade behind the title wing/ring, then drawing multiple overlaid colormapped versions of them on top of each other.
* Darken the pre-flash screen.
2019-11-13 21:52:35 +00:00
toaster
a3de6d21c4 * Add a "moveforward" param to P_InternalFlickySpawn, which controls whether to spawn the flicky a little in front or behind of the object making it.
* Expose this via additional upper-16-bits flags of A_FlickySpawn.
* Use this to make Snailers not spawn their flicky inside the wall they're attached to.
* Make the behaviour of Egg Capsules more consistent mechanically regarding the flicky spawning, using the above as one relevant element.
2019-11-13 20:14:08 +00:00
MascaraSnake
14477748be Merge branch 'stopclock' into 'master'
Stop the clock!

See merge request STJr/SRB2Internal!450
2019-11-13 14:39:59 -05:00
MascaraSnake
7cfc7b38c5 Merge branch 'forceskin_bs' into 'master'
MP Charsel menu fixes

See merge request STJr/SRB2Internal!457
2019-11-13 14:00:11 -05:00
MascaraSnake
750e826310 Merge branch 'skinusablua' into 'master'
Skin UsabLua

See merge request STJr/SRB2Internal!458
2019-11-13 13:59:36 -05:00
MascaraSnake
1d7ce8d955 Merge branch 'radiomode2' into 'master'
Radio Mode fixes

See merge request STJr/SRB2Internal!459
2019-11-13 13:58:26 -05:00
MascaraSnake
510f36fbdf Merge branch 'map-by-name' into 'master'
New map command

See merge request STJr/SRB2Internal!424
2019-11-13 13:45:36 -05:00
toaster
ec44b24f72 Ok, I'm really paying for my hubris. Corrected a faulty optimisation in my fix. 2019-11-13 17:06:54 +00:00
toaster
527195c214 I should be more careful when commiting, lmao. (Just a little bit of tying off loose ends for peace of mind.) 2019-11-13 16:59:29 +00:00
toaster
fc8392dac4 Typo (my fault). 2019-11-13 16:54:51 +00:00
toaster
b4da50b7fb When you have the skin to set to in A_SignPlayer be "next skin", it's possible the initial skin to pick is a not-available character. This commit prevents that. 2019-11-13 16:51:50 +00:00
toaster
471ae8ecb4 Paper sign tweaks.
* Add "twinkling" and "landing sounds to paper signpost.
* Fix whitespace on definitions.
* It says locvar2 is unused in the comment for A_SignSpin, but it's used for the "doesn't have a spawnpoint" thing. Make it deathstate instead, so the object doesn't disappear.
2019-11-13 16:33:53 +00:00
Jaime Passos
9caf98aa0b nevermind 2019-11-13 13:20:55 -03:00
Jaime Passos
69fe096140 reset rollangle 2019-11-13 13:03:02 -03:00
Jaime Passos
c51e116c7d actually, 2019-11-13 13:00:57 -03:00
Jaime Passos
fc3edc3558 make S_PLAY_NIGHTS_PULL use A_RollAngle 2019-11-13 12:57:22 -03:00
Jaime Passos
a9183b474b rename rollaxis to rotaxis 2019-11-13 12:47:30 -03:00
Jaime Passos
b54f6181c3 Rotation axis (will rename internally later) 2019-11-13 12:36:44 -03:00
toaster
a7f2931b47 Update SFX definition to credit VAdaPEGA specifically, given we've made most credits more specific now too. 2019-11-13 15:02:06 +00:00
toaster
7b640bc81e * Prevent (extremely unlikely) wraparound of patch frame calculation for the epynomous Radio (sigsegv prevention).
* Use thinstring for Authors field on the screen.
2019-11-13 13:44:00 +00:00
MascaraSnake
d591554a5d Merge branch 'radiomode' into 'master'
Radio mode

See merge request STJr/SRB2Internal!443
2019-11-13 04:16:38 -05:00
James R
c9aad2d186 Warn if the first argument is an option 2019-11-12 18:29:42 -08:00
James R
46fbed8b71 Get map name from multiple arguments
(This means you don't need quoting.)
2019-11-12 17:42:54 -08:00
Jaime Passos
245881ec55 Merge remote-tracking branch 'origin/master' into rotsprite_i 2019-11-12 21:38:02 -03:00
James R
5fd6561d46 So you don't like macros? 2019-11-12 16:10:00 -08:00
Jaime Passos
3354169769 Merge remote-tracking branch 'origin/master' into f_wipes 2019-11-12 20:36:06 -03:00
MascaraSnake
c87297e3df Merge branch 'a_skullattack-hang' into 'master'
GFZ3's boss hangs when dodging

See merge request STJr/SRB2Internal!403
2019-11-12 18:25:58 -05:00
MascaraSnake
d9558fb724 Merge branch 'atz-hazards' into 'master'
Azure Temple Zone hazards, round 2

See merge request STJr/SRB2Internal!437
2019-11-12 18:05:44 -05:00
toaster
5729ba3cd2 Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into metalrecording
# Conflicts:
#	src/p_user.c
2019-11-12 21:56:46 +00:00
MascaraSnake
66123b8165 Merge branch 'internal-md3-vanilla-c' into 'master'
Internal MD3 merge 2 good riddance glBegin

See merge request STJr/SRB2Internal!362
2019-11-12 15:44:20 -05:00
MascaraSnake
17c302e4a3 Merge branch 'texture-flats-optimization' into 'master'
Texture flat optimization

Closes #257

See merge request STJr/SRB2Internal!405
2019-11-12 15:42:04 -05:00
MascaraSnake
17013bf1b7 Merge branch 'jingle-fixes' into 'master'
Fix some jingle resuming behavior when also changing base level music

See merge request STJr/SRB2Internal!415
2019-11-12 15:41:53 -05:00
MascaraSnake
bffa281d91 Merge branch 'titlemap-on-connect' into 'master'
Render title map on connecting to server screen too (closes #166)

Closes #166

See merge request STJr/SRB2Internal!416
2019-11-12 15:41:07 -05:00
MascaraSnake
b04452f7de Merge branch 'nonightsbot2' into 'master'
Properly fix bot showing up in NiGHTS stages (resolves #261 for real).

Closes #261

See merge request STJr/SRB2Internal!417
2019-11-12 15:41:01 -05:00
MascaraSnake
6b567bfb5c Merge branch 'dashmodecut' into 'master'
Dashmode polish

Closes #266

See merge request STJr/SRB2Internal!418
2019-11-12 15:40:46 -05:00
MascaraSnake
857dbd8488 Merge branch 'knuxstuff' into 'master'
Knuckles changes: the fixes

See merge request STJr/SRB2Internal!428
2019-11-12 15:40:15 -05:00
Jaime Passos
91a01be891 Merge remote-tracking branch 'origin/master' into rotsprite_i 2019-11-11 14:41:55 -03:00
Jaime Passos
4e6513b583 Merge remote-tracking branch 'origin/master' into texture-flats-optimization 2019-11-11 14:05:03 -03:00
MascaraSnake
3580977eb3 Merge branch 'elementalgoop' into 'master'
THZ goop and Elemental (Resolve #260, I hope?)

Closes #260

See merge request STJr/SRB2Internal!419
2019-11-11 11:42:19 -05:00
MascaraSnake
049e599f2e Merge branch 'spinny-sign' into 'master'
Papersprite end signpost

See merge request STJr/SRB2Internal!442
2019-11-11 11:39:56 -05:00
MascaraSnake
4cdabb2aaf Merge branch 'fuck-globals' into 'master'
I_Error if memory allocation size overflows

See merge request STJr/SRB2Internal!426
2019-11-11 11:38:07 -05:00
MascaraSnake
aa5a3a46e8 Merge branch 'gamedata-param' into 'master'
Custom gamedata parameter

See merge request STJr/SRB2Internal!423
2019-11-11 11:36:53 -05:00
MascaraSnake
41b95437da Merge branch 'rvz-cleanup' into 'master'
RVZ1 lag reduction

See merge request STJr/SRB2Internal!445
2019-11-11 11:29:53 -05:00
MascaraSnake
d1e800e1a8 Merge branch 'inflivesfix' into 'master'
Prevent infinite lives rollover to extremely negative numbers.

See merge request STJr/SRB2Internal!446
2019-11-11 11:25:20 -05:00