toaster
3d40e83700
S_SoundTestPlay: Exit early into S_SoundTestStop if current entry is NULL
2023-03-28 01:31:39 +01:00
James R
cdd9ae2644
Merge branch 'refactor-k-collide' into 'master'
...
Refactor K_PvPTouchDamage
See merge request KartKrew/Kart!1108
2023-03-28 00:03:10 +00:00
toaster
53b24067ee
Accidentially committed extras_tutorial to this branch
2023-03-28 00:43:37 +01:00
Oni
3463f0e5be
Merge branch 'bubble-invincibility-clash' into 'refactor-k-collide'
...
Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup
See merge request KartKrew/Kart!1109
2023-03-27 22:10:03 +00:00
James R
7f0cb6aa94
Merge branch 'respawn-line-debug' into 'master'
...
Add perspective to debugfinishline; highlight Respawn Lines
See merge request KartKrew/Kart!1089
2023-03-27 12:12:39 +00:00
James R
06f58486a5
Merge branch 'emerald-timer' into 'master'
...
Add fuse to Emeralds in Battle
Closes #126
See merge request KartKrew/Kart!1091
2023-03-27 12:12:17 +00:00
James R
0cad27d7fe
Merge branch 'pad-diagnostics' into 'master'
...
Gamepad GUID and Name logging, gamecontrollerdb.txt
See merge request KartKrew/Kart!1092
2023-03-27 12:10:58 +00:00
James R
2547ba6d6b
Merge branch 'fix-faulty-references-false-positive' into 'master'
...
Fix false positive P_RemoveThinkerDelayed warning
See merge request KartKrew/Kart!1087
2023-03-27 12:07:40 +00:00
James R
9e25472a97
Merge branch 'bot-replay-camera' into 'master'
...
Use bot mo angle in demo chasecam (fixes #494 )
Closes #494
See merge request KartKrew/Kart!1103
2023-03-27 12:07:15 +00:00
James R
2966db2dcc
Merge branch 'P_SpawnMobjFromMobjUnscaled-lua' into 'master'
...
Expose P_SpawnMobjFromMobjUnscaled to Lua
See merge request KartKrew/Kart!1104
2023-03-27 12:06:06 +00:00
James R
78c0926e20
Always set wipeoutslow when bouncing
...
This fixes PvP wipeout damage not getting wipeout friction
because of the order of operations: K_KartBouncing first,
then K_SpinPlayer.
2023-03-27 04:58:45 -07:00
James R
cb963fe81e
Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup
...
- K_BubbleShieldCollide now calls K_KartBouncing and
K_PvPTouchDamage
- Lets players get knocked around by Bubble blowup
- Lets all clash conditions apply to Bubble blowup too
- Bubble blowup now does wipeout damage
2023-03-27 04:54:37 -07:00
James R
b1f0cca519
k_collide.cpp: refactor K_PvPTouchDamage to deduplicate code
2023-03-27 04:43:20 -07:00
James R
022e6ed5fa
player_t: change pflags type to UINT32
...
Avoids invalid conversion compiler errors when using
bitwise operators on pflags from C++ code.
2023-03-27 04:43:20 -07:00
James R
70310eaed6
Rename k_collide.c to k_collide.cpp
2023-03-27 04:43:20 -07:00
James R
61abb7a82e
Add MF_DRAWFROMFARAWAY flag, renders objects up to 2x drawdist
2023-03-26 22:01:25 -07:00
James R
629614710c
Free MF_AMBIENT
2023-03-26 21:52:31 -07:00
James R
6b02836c22
Do not run any thing collision for respawning players whatsoever
...
Adds MF_NOCLIPTHING to players while respawning.
2023-03-26 20:45:18 -07:00
James R
2dd29dd15f
lua_baselib.c: expose P_SpawnMobjFromMobjUnscaled
2023-03-26 20:44:43 -07:00
AJ Martinez
fa60a3a20c
Use bot mo angle in demo chasecam
2023-03-26 15:28:09 -07:00
toaster
6e48a671ee
extras-1.c - convert magic numbers for Extras menu listings to enums
...
Makes this code much less fragile to changing entries.
2023-03-26 21:54:33 +01:00
James R
28c9c3cc7d
Tie Battle fuse for item drops and Emeralds to GTR_CLOSERPLAYERS instead of GTR_BUMPERS
2023-03-26 07:01:19 -07:00
James R
6d5cb50755
cv_debugencorevote: force an encore scramble
...
Useful for debugging the random chance encore vote.
2023-03-26 06:55:22 -07:00
James R
a5aefa5b29
Fix vote encore scramble getting overridden by cvar
2023-03-26 06:55:22 -07:00
James R
6bc785c099
I_Error if ENCORE/TWEAKMAP has an incorrect size
...
Prevent memory errors if the lump is too large.
2023-03-26 06:55:22 -07:00
toaster
954127d533
Merge branch 'fix-addfile-double-error' into 'master'
...
Fix networked addfile command erroring twice for already added files
See merge request KartKrew/Kart!1100
2023-03-26 13:30:35 +00:00
toaster
8b02b7efd4
Merge branch 'skip-skybox-precip' into 'master'
...
software: Skip precip mobjs in sky portal renders
See merge request KartKrew/Kart!1096
2023-03-26 13:28:23 +00:00
toaster
34eb1110a3
Merge branch 'net-update-less' into 'master'
...
Only call NetUpdate once in D_SRB2Loop
See merge request KartKrew/Kart!1069
2023-03-26 13:14:08 +00:00
Sally Coolatta
43156f63dd
Only call NetUpdate once
...
This doesn't need to be in a bunch of rendering code, simply only run it in TryRunTics.
Worst case scenario: if this sucks then it means dedicated servers have also sucked the whole time and we should come up with a new solution to fix both of them.
More likely scenario: nothing changes and we now aren't doing networking inside of the renderer.
2023-03-26 14:12:01 +01:00
James R
4934263871
Let debugfinishline highlight Respawn Lines too
...
- Finish Lines now render with black & yellow instead of
red & white
- Respawn Lines render with red & white
2023-03-26 05:27:58 -07:00
James R
92bf2d0989
Add specialized drawing loop for debugfinishline
...
- Cache DBGLINE texture
- Draw this texture at horizon (player's eye level)
- Draw this texture at max brightness
- Do not slope skew this texture
- Use R_DrawColumn_Flat_8 to colorize the this texture
2023-03-26 05:27:58 -07:00
James R
1fa98a08d6
Revert debug line drawing for R_RenderMaskedSegRange
...
Reverts parts of b7ef8275c
2023-03-26 05:27:58 -07:00
James R
08b5bf8c4c
Merge branch 'refactot-render-masked-seg-range' into 'master'
...
Refactor parts of R_RenderMaskedSegRange
See merge request KartKrew/Kart!1088
2023-03-26 12:26:50 +00:00
James R
7367353516
r_segs.c: inline R_OverflowTest
2023-03-26 05:26:03 -07:00
James R
a04381ac45
Refactor parts of R_RenderMaskedSegRange
...
Seperates some subroutines:
- R_CheckBlendMode
- R_OverflowTest
- R_RenderMaskedSegLoop
2023-03-26 05:25:16 -07:00
James R
4475823058
Fix networked addfile command erroring twice for already added files
2023-03-26 02:32:44 -07:00
Eidolon
04a6132f66
software: Skip precip mobjs in sky portal renders
2023-03-25 22:47:12 -05:00
toaster
8f592c196f
Stereo mode
...
- Minimum viable implementation
- New horizontal menu
- FUTURE WORK: visuals are extremely basic
- Accessible from both Extras and in-game Pause if SECRET_SOUNDTEST is unlocked
- Rather than the Shadow-the-Hedgehog style free select of SRB2's Sound Test, it's a Best Of The Hacks And Fan Music Sega CD player.
- Back
- Exit menu
- Stop
- Stops Stereo music entirely
- Pause
- Pauses Stereo music without losing place in sequence
- FUTURE WORK: This should probably just pause the actual player ala minimised viewport
- Play
- Begins Stereo music on non-NULL musicdef entry
- Track
- For NULL soundtest entry:
- Switches between sfx
- For musicdefs with multiple tracks:
- Switches between them
- Prev and Next
- Changes musicdef entry
- FUTURE WORK: This is extremely naive and doesn't respect the following
- Cup order
- Unlocks
- Overrides all game-requested music changes when in Play or Pause mode
- This makes it an actual fun in-game feature as a menuification of the `tunes` command, not just a pure novelty.
2023-03-25 23:37:07 +00:00
toaster
afff038e34
s_sound.c: Only call P_RestoreMusic in GS_LEVEL
...
This function isn't supposed to be called outside of it
2023-03-25 22:43:54 +00:00
toaster
42cc95f6ed
menubehaviourflags_t / (menu_t).behaviourflags
...
- MBF_UD_LR_FLIPPED
- Genericisation of the control flip for PAUSE_PlaybackMenuDef
- MBF_SOUNDLESS
- Do not create sound for default menu actions
2023-03-25 22:39:07 +00:00
toaster
a0fa45bcec
S_PlaysimMusicDisabled
...
Simplifies/unifies conditions that except regular music play other sections of the game can modify
2023-03-25 22:16:58 +00:00
Chromatian Keiske
aab248b25c
Merge branch 'fix-remotes-HEAD' into 'master'
...
Don't let remote HEAD show up as HEAD in version info, use actual branch name
See merge request KartKrew/Kart!1080
2023-03-25 05:55:03 +00:00
Chromatian Keiske
77117bbc9f
Merge branch 'fix-retry' into 'master'
...
Fix retry life/rank farming + fix buffered retry
Closes #475
See merge request KartKrew/Kart!1083
2023-03-25 05:50:06 +00:00
Gunla
45903adf28
Merge branch 'heighted-ufo' into 'master'
...
Obj_PlayerUFOCollide: Apply height checks even when boosting
See merge request KartKrew/Kart!1086
2023-03-25 00:51:15 +00:00
Gunla
954409fa2f
Merge branch 'unnerf-missiles' into 'master'
...
Add player speed to thrown items, no mention of top speed
Closes #434
See merge request KartKrew/Kart!1050
2023-03-25 00:50:53 +00:00
Eidolon
8cc6e9a4f0
rhi: Add texture wrap modes
...
They cannot be changed after creation, for simplicity.
2023-03-24 16:43:41 -05:00
Eidolon
70c375f9db
rhi: Remove color attachment pixel formats
...
Color attachment must always be an RGBA texture
2023-03-24 16:11:11 -05:00
Eidolon
c31df8a0bb
rhi: Repurpose Renderbuffer for depth-stencil
2023-03-24 16:06:30 -05:00
toaster
86bf07b118
Merge branch 'battle-test' into 'master'
...
Add battletest cvar, force Battle mode instead of Prisons in FREE PLAY
See merge request KartKrew/Kart!1090
2023-03-24 20:09:26 +00:00
Eidolon
28f5afac40
rhi: Remove depth textures
2023-03-24 14:23:16 -05:00