Alam Ed Arias
cebc1d46f0
All C files should a newline at the end
2019-08-07 12:39:51 -04:00
Alam Ed Arias
4e78617c29
fix PARANOIA builds
2019-08-07 12:39:04 -04:00
mazmazz
688fdf35f9
Use strtok instead of strtok_r
2019-08-07 01:29:05 -04:00
MascaraSnake
aac9592e31
Set Fang's minimum bounce strength to 1.5 times jump strength
2019-08-06 23:35:20 +02:00
MascaraSnake
842b503d90
Don't zero out momz when landing on slopes.
...
This fixes Fang's bounce on slopes and doesn't seem to make a difference otherwise, but there's still a non-zero chance this broke something.
2019-08-06 23:18:53 +02:00
toaster
3add792986
Fix spindashing on a moving surface causing you to change state to rolling instead of spindashing.
...
(MI said I could commit to master since it was only a single line.)
2019-08-04 19:11:58 +01:00
toaster
b06af59907
Merge branch 'revert_revert_musicplus' into 'master'
...
Revert "Revert MusicPlus"
See merge request STJr/SRB2Internal!282
2019-08-04 13:58:01 -04:00
toaster
5585059f6b
Merge branch 'ringsparkle' into 'master'
...
New ring sparkles
See merge request STJr/SRB2Internal!271
2019-08-04 11:46:40 -04:00
Steel Titanium
153ed82849
Last min changes
2019-08-04 11:34:55 -04:00
toaster
1fbd3eff40
* Fix the thing where you "roll" in run/walk frames if you hold spin after jumping.
...
* Fix the thing where you don't go through super transformation frames when starting NiGHTS.
2019-08-04 15:25:13 +01:00
toaster
015abfc970
Revert "Revert "Fix MIDI Soundfont code shadowing a global variable.""
...
This reverts commit 99dbcb9f65
.
2019-08-04 12:04:01 +01:00
toaster
384dc0674e
Revert "Revert "Merge branch 'musicplus-aug2019-b' into 'master'""
...
This reverts commit 603d5805f7
.
2019-08-04 12:03:57 +01:00
toaster
603d5805f7
Revert "Merge branch 'musicplus-aug2019-b' into 'master'"
...
This reverts commit 56bfdb7113
, reversing
changes made to c29cfbef9b
.
2019-08-04 11:32:55 +01:00
toaster
99dbcb9f65
Revert "Fix MIDI Soundfont code shadowing a global variable."
...
This reverts commit 3591e3d092
.
2019-08-04 11:28:04 +01:00
toaster
3591e3d092
Fix MIDI Soundfont code shadowing a global variable.
2019-08-04 10:28:10 +01:00
toaster
a87e1b8aa6
Fix inadvertent fallthrough and associated whitespace.
2019-08-04 10:27:36 +01:00
toaster
48e09d56bf
Fix HWR_DrawConsoleFill.
2019-08-04 10:27:09 +01:00
mazmazz
cdb7250da4
Merge branch 'musicplus-feature-postboss' into musicplus-aug2019-b
2019-08-04 03:22:36 -04:00
mazmazz
ce39341c31
Merge branch 'musicplus-sdlmixerx' into musicplus-aug2019
2019-08-04 02:52:33 -04:00
mazmazz
bddafbeece
Merge branch 'internal-musicplus-jingle' into musicplus-aug2019
2019-08-04 02:41:37 -04:00
mazmazz
fd4d3a6a69
Mixer X menu touchup
2019-08-04 02:30:34 -04:00
mazmazz
fbaf5106fd
Revert djgppdos fade function inadvertent merge
2019-08-04 02:09:35 -04:00
mazmazz
91265379df
Revert MUSSERV code removal from S_LoadMusic
...
(but we'll probably purge it later, anyway...)
2019-08-04 02:04:02 -04:00
mazmazz
6f50faf161
Fix HWR_DrawConsoleFill call extra input
2019-08-04 01:33:06 -04:00
mazmazz
d373b101fc
Merge branch 'gcc7-fixes-aug2019' into musicplus-sdlmixerx
2019-08-04 01:10:34 -04:00
mazmazz
b99f06c0c9
Merge remote-tracking branch 'origin/master' into musicplus-sdlmixerx
2019-08-04 01:10:21 -04:00
mazmazz
353fefbd42
Slight refactor for jingle resume lapse time
2019-08-04 00:59:32 -04:00
mazmazz
81d0840301
Jingle resume: Don't set music position when music is replaced
2019-08-04 00:56:17 -04:00
mazmazz
da55b4b82a
Fix 1up intermission jingle not playing
2019-08-04 00:15:31 -04:00
mazmazz
6ecc062c6a
Fix HWR_DrawConsoleFill call extra input
2019-08-04 00:15:15 -04:00
mazmazz
8a41b530b3
Merge branch 'gcc7-fixes-aug2019' into internal-musicplus-jingle
2019-08-03 23:44:06 -04:00
mazmazz
dd9efebab5
Merge remote-tracking branch 'origin/master' into internal-musicplus-jingle
2019-08-03 23:38:49 -04:00
mazmazz
5b284c8170
gcc7 compile fixes (Fall through; spr2 var comparison)
2019-08-03 23:01:10 -04:00
mazmazz
07d1363da9
gcc7 compile fixes (Fall through; spr2 var comparison)
2019-08-03 23:00:21 -04:00
mazmazz
5f2a45befd
Merge remote-tracking branch 'origin/master' into musicplus-feature-dying-fp
2019-08-03 22:49:20 -04:00
mazmazz
a9b66109fc
Fix titlemap music bug
2019-08-03 22:49:12 -04:00
mazmazz
efc8e42083
Fix titlemap music bug
2019-08-03 22:48:40 -04:00
mazmazz
1b59b224c0
Merge branch 'master' into musicplus-feature-dying-fp
2019-08-03 22:22:39 -04:00
Steel Titanium
00c3329ba9
Ring sparkle mirroring
2019-08-03 18:28:53 -04:00
Steel Titanium
26689e168e
Merge branch 'master' of git.magicalgirl.moe:STJr/SRB2Internal into ringsparkle
2019-08-03 17:33:28 -04:00
toaster
8a0f1e7ed4
Merge branch 'ending' into 'master'
...
ENDINGS
See merge request STJr/SRB2Internal!264
2019-08-03 16:23:51 -04:00
toaster
9f34a7aa82
Merge branch 'bossenable' into 'master'
...
Boss enable linedef (type 449)
See merge request STJr/SRB2Internal!272
2019-08-03 16:23:22 -04:00
toaster
97072d9faa
Merge branch 'snaptoground-fix' into 'master'
...
Snap to ground fix
Closes #165
See merge request STJr/SRB2Internal!274
2019-08-03 16:22:47 -04:00
toaster
5ef190fc69
Merge branch 'mpspec_cleanup' into 'master'
...
MP/Old Special Stage ring stuff
See merge request STJr/SRB2Internal!276
2019-08-03 16:22:23 -04:00
toaster
8f729c33d3
Merge branch 'linedef-award-rings' into 'master'
...
New award rings linedef executor
See merge request STJr/SRB2Internal!263
2019-08-03 16:21:58 -04:00
Monster Iestyn
f9037509a1
Remove commented out P_CheckSector calls and add extra comments explaining the situation
2019-08-03 19:06:45 +01:00
Monster Iestyn
dff544404d
Merge branch 'master' into snaptoground-fix
2019-08-03 18:23:09 +01:00
Monster Iestyn
38ecd00ac9
Merge branch 'speciallosesound' into 'master'
...
Fix old Special Stage failure sounds not always playing
See merge request STJr/SRB2Internal!275
2019-08-03 13:18:40 -04:00
Monster Iestyn
c82c2ee815
Merge branch 'titlemaplua' into 'master'
...
Titlemap Lua
See merge request STJr/SRB2Internal!270
2019-08-03 13:14:46 -04:00
toaster
f3baac8577
Fix the minor issues since steel's busy
2019-08-03 08:04:02 -04:00
toaster
544a160fc3
Add a condition to bail on the HUD's ring counting down calculation if nummaprings is 0 or -1.
2019-08-03 12:25:46 +01:00
toaster
105df2395d
MI made a good argument for bossdisabled not being conditional on fromnetsave.
2019-08-03 12:09:18 +01:00
toaster
876f87e793
Have the ring bonus in MP Special Stages be based on the shared sum of all players'.
2019-08-02 23:56:25 +01:00
toaster
16c541ef1b
Add rings to old/MP special stage HUD + make both them and spheres (in old special stage only) count down rather than up, to match s3k
2019-08-02 23:51:22 +01:00
toaster
c4f0fdb783
Perfect bonus support for non-NiGHTS special stages
2019-08-02 22:52:53 +01:00
toaster
8d56133425
Fix old Special Stage failure sounds not always playing.
2019-08-02 20:02:55 +01:00
Monster Iestyn
af38c0e227
Merge branch 'bustables_misc' into 'master'
...
Bustables and landing events
Closes #157 and #162
See merge request STJr/SRB2Internal!262
2019-08-02 13:16:53 -04:00
Monster Iestyn
94c1873b8c
Merge branch 'anglestuff' into 'master'
...
Spring angles and ring angles
See merge request STJr/SRB2Internal!266
2019-08-02 13:10:23 -04:00
Monster Iestyn
8520243ab6
Merge branch 'emeraldfixes' into 'master'
...
Special stage related fixes
See merge request STJr/SRB2Internal!269
2019-08-02 13:08:20 -04:00
Monster Iestyn
146271e49d
Merge branch 'maniaspheresfix' into 'master'
...
MANIASPHERES de-hardcode
See merge request STJr/SRB2Internal!268
2019-08-02 13:06:52 -04:00
Monster Iestyn
ee64d98e39
Merge branch 'spring-things' into 'master'
...
Additional spring flags
See merge request STJr/SRB2Internal!256
2019-08-02 13:06:38 -04:00
Monster Iestyn
2503c2f392
Merge branch 'followmobj_scale' into 'master'
...
Smiles tail scale
See merge request STJr/SRB2Internal!273
2019-08-02 13:05:50 -04:00
Monster Iestyn
aab3a029f2
Merge branch 'diagonalrings' into 'master'
...
Diagonal spring ring fixes
See merge request STJr/SRB2Internal!267
2019-08-02 13:03:11 -04:00
Monster Iestyn
42a36de459
Modify P_CheckSector with a modified version of Sal's attempted proper fix for polyobjects crushing, so that we only need to check the polyobject's control sector directly in the waypoints code.
...
This time I've definitely fixed that teleport to ground issue I'm pretty sure, I don't get it in my tests at least.
2019-08-02 16:51:44 +01:00
sphere
d2c3b88020
Merge remote-tracking branch 'origin/master' into spring-things
2019-08-02 15:11:13 +02:00
toaster
f2349c5ce4
fixed sphere's CA2_MELEE stasis issue
2019-08-02 13:18:57 +01:00
Monster Iestyn
ac058529c5
Whoops the second
2019-08-01 20:48:24 +01:00
Monster Iestyn
67f7c9d7d9
Whoops, forgot this part
2019-08-01 20:17:15 +01:00
Monster Iestyn
0821f7fb21
Add openfloorrover and openceilingrover vars so that PIT_CheckLine can update tmfloorrover and tmceilingrover properly via P_LineOpening
...
...which should hopefully stop that issue where you just teleport back to the ground. Assuming this works as expected.
Also this is untested lol.
2019-08-01 18:56:00 +01:00
toaster
8fa0641e99
Instead of checking whether mobj->spawnpoint->extrainfo is in the correct range every tic, have a lua error for trying to set it outside (since there'll no doubt be other consequences to being outside the range too)
2019-08-01 18:12:26 +01:00
toaster
39c15e71b0
Was reviewing old merge requests as a procrastination technique, and discovered that the followmobj's scale was being inaccurately handled for Smiles' tails! Fixed that...
2019-08-01 08:01:29 -04:00
toaster
f0fd9f7656
Ok, now the MobjThinker Lua hook is neutralised properly as well.
2019-08-01 11:35:04 +01:00
Steel Titanium
e2cd85d4da
I dunno how that got here
2019-07-31 20:57:08 -04:00
Steel Titanium
3177b27a11
Changes
...
Kill off the hack
2019-07-31 20:51:55 -04:00
toaster
7cb02985f4
* Added boss enable linedef (type 449).
...
- Frontside x offset = boss ID (determined via parameter for all bosses)
- Noclimb flag = disable mode
- Bosses don't do a fuckin' THING - no state updates, no player searches, no sounds, no lua, no nothin' - and it's all totally netsynced.
- The only thing they WILL do is flash infinitely if you hurt them, but this is designed for stuff where you're not meant to be in the same room as the boss til it's activated.
- All bosses of all IDs are automatically enabled on mapload, then if an enable mode version of this linedef is present in the map for a specific boss id, that boss id is automatically disabled.
* Add multi-boss support via parameter for:
- All bosses' MT_BOSSFLYPOINT search
- Boss 5's waypoint search
- Oldbrak's waypoint search (this one's for you, jood)
2019-07-31 23:17:17 +01:00
Steel Titanium
d6dacaaab2
ALL CAPS
...
Woops forgot to do this
2019-07-31 00:49:14 -04:00
Steel Titanium
58b56b2867
New ring sparkles
2019-07-31 00:47:42 -04:00
toaster
2ae07bdf3b
Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into bustables_misc
...
# Conflicts:
# src/p_user.c
2019-07-30 18:14:52 +01:00
toaster
7bff305672
* Strip the word "function" from INLEVEL error messages, since they're now shared between access and function cases.
...
* Move it into lua_script.h, so it's available to everything that needs it.
2019-07-30 17:57:57 +01:00
toaster
69e573517f
Fix lua scripts erroring on the title screen because they're run there but it's not counted as GS_LEVEL (aka #168 ).
2019-07-30 17:48:13 +01:00
toaster
d541bb7ead
* Fix something I neglected earlier when fixing Ghosts and Replays for 2.2 - the fact that the player's skin will change if they don't have NiGHTS sprites like Sonic does not being accomodated.
2019-07-30 17:24:21 +01:00
toaster
18e43a5cef
* Fix "exitlevel" being counted as a special stage success despite not giving you an emerald by inverting stagefailed's default value, since there's only a limited number of ways you can WIN at a special stage.
...
* Correct a potential source of desync in P_GiveEmerald.
2019-07-30 16:44:40 +01:00
Alam Ed Arias
b77780e1e7
Fix building with MSVC
2019-07-29 19:02:45 -04:00
Alam Ed Arias
e50dc7c779
Merge branch 'public_next' into private
2019-07-29 18:31:01 -04:00
Alam Ed Arias
963d2f5da3
Merge branch 'master' into next
2019-07-29 18:05:33 -04:00
Alam Ed Arias
66f84efd02
SDL2: fixed compiling mixer interface with MSVC
2019-07-29 17:56:35 -04:00
toaster
f141220e82
Added escape pod. Okay, now I'm truly done with this branch. https://cdn.discordapp.com/attachments/249925765423038464/605506507345362964/srb20033.gif
2019-07-29 22:13:24 +01:00
toaster
deaee586ed
Make MANIASPHERES' #define'd away stuff also recreatable with SOC, since I want to release it publically if the team don't want it.
2019-07-29 21:06:17 +01:00
toaster
a6a3048c8f
* Fix diagonal spring ring assortments being forced up/down with slopes.
2019-07-29 21:03:28 +01:00
toaster
62c708e64a
Two one liners related to angles, so doin' em in a single branch.
...
* If a spring has vertical speed AND horizontal speed, always set the player's angle when touching it.
* If you have less than 32 rings and spill them, they now get launched away from the player's motion, rather than in the direction of the camera.
2019-07-29 20:29:02 +01:00
toaster
47554b57e4
* Made the evaluation screen even more attractive.
...
* Fixed an unused variable warning in lua_skinlib.c.
- fixed post-level cutscenes playing when you get game over in MP (still kinda on-topic)
Also with apologies to MI:
- golden egg statue mode for tutorial, since the grey doesn't contrast enough with the blue and lime green
- fixed closed captions for replaced player sounds being incorrect
- fixed closed captions overlapping tutorial text
2019-07-29 14:55:36 +01:00
toaster
5dc095a47d
Further improvements on MI's request, just to be safe.
2019-07-28 22:53:27 +01:00
toaster
1d799630af
Made it possible to just call EV_CrumbleChain(rover)
in Lua
2019-07-28 22:45:20 +01:00
Monster Iestyn
18e2c2461f
Merge branch 'wavingflag' into 'master'
...
New CEZ scenery
See merge request STJr/SRB2Internal!257
2019-07-28 15:44:00 -04:00
toaster
384533165c
* Fix crash error in GL.
...
* Re-enable the perplayer stuff in V_DrawFadeFill - not worth having it disabled when it'll just have to be re-enabled later.
* Remove some "consistency with software" stuff in hw_draw.c that already has equivalents
2019-07-28 17:47:57 +01:00
toaster
f47c3f40d1
Smoothen emerald rotation a tad. (Not gonna upload a new test exe, it's basically identical...)
2019-07-28 14:59:42 +01:00
toaster
bebaf6f984
* Add comments for maintenence.
...
* Fix not-guaranteed-to-be-set-to-zero-ness of sparklloop
* Add blackrock sparkles to good ending.
* Don't have emerald sparkles be randomised.
* Adjust credits to include Sal (credits sprites + four merged internal MRs and a bunch of public ones) and a few other known contributors, plus remove oni's name (he requested i do it a whiiile ago)
2019-07-28 11:40:19 +01:00
toaster
7569e0b184
Good morning, fix three little things.
...
* Made the black rock animate backwards through its anim again, to match the 2.1 and earlier intro.
* Rid branch of mixed code declaration warnings.
* Other cleanup.
2019-07-28 10:41:00 +01:00
toaster
063e350c63
A good and bad ending cutscene now exist.
...
Also:
* SPR2_XTRA - instead of defining lumpnames in S_SKIN, those kinds of assets can just be bundled into the spriteset. Required for ending cutscene stuff, I guess, but also done for HUD life icon and character select image (aside from Sonic&Tails, still SOC'd in).
* Minor oversights in SPR2 support corrected.
* Better evaluation, featuring ending assets.
* Intro has warping-in blackrock, reusing ending assets.
* Cutscene text now supports lowercase (intro and custom).
* Disable the asset-fucking "gamma correction" I put in over two years ago when implementing colour cube. (This is the only thing I could move into another branch if you MUST, but it's basically invisble in the diff so w/e.)
* Don't blank the screen if the top left pixel of a screen-covering patch is transparent. (Checked via nonzero topdelta for first column)
Bugs:
* OPENGL ONLY: The first ~20 frames of both endings are fucked. A little help here? Might be HWR_DrawFadeFill's fault, which I just created. OR it could be in f_finale, but I doubt it, since it doesn't appear in Software.
2019-07-28 00:32:57 +01:00
Steel Titanium
39f348f853
Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal into linedef-award-rings
2019-07-24 21:18:45 -04:00