Commit graph

378 commits

Author SHA1 Message Date
Anonimus
dc9ee0bc95 Legacy mode for ghost objects 2025-10-10 12:42:46 -04:00
NepDisk
630b75a504 P_DoPlayerExit changes
12ecb1f7a4
2025-09-30 00:01:05 -04:00
NepDisk
4917fcde50 Revert 'Use Path traversal if sweep lines fail'
This reverts commit 89f0ef836b.
2025-09-14 15:39:42 -04:00
NepDisk
d98dd3e2dd Add variables that bake 3D offsets into a sprite
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/63
2025-09-12 11:50:24 -04:00
NepDisk
e1f6fb1b68 AllocateMobj RR port 2025-09-12 00:24:18 -04:00
NepDisk
89f0ef836b Use Path traversal if sweep lines fail
Not very pretty with lots of duped code but it works?
Designed to handle collision line sweep miss edgecases as they occur until line sweeps can be improved
2025-09-08 16:33:06 -04:00
GenericHeroGuy
e8d43ec8a3 Constantinople 2025-08-30 17:06:42 +02:00
NepDisk
ea81fccfb5 Make friction stuff look nicer and add friction loss on waterrun 2025-08-24 21:43:29 -04:00
NepDisk
c61c117168 The Camera is always noclip, why does it slide traverse 2025-08-17 18:32:47 -04:00
NepDisk
478feacd3a Miscellaneous OpenGL Fixes
Cherry-pick of https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2721 and also some base srb2 helper functions
2025-08-13 12:04:44 -04:00
NepDisk
de17315839 Make Natural camera a toggle 2025-08-12 23:58:21 -04:00
NepDisk
5fb122ee44 Update TID stuff 2025-07-22 11:19:08 -04:00
NepDisk
712e2c6dd7 Fix sector special detection being flakey on Dynslopes 2025-07-20 17:32:25 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
Anonimus
27ea5021b4 Add Flipover damage, change Invincibility interactions 2025-06-29 01:30:00 -04:00
Alug
1fb300d355 Small cleanup r_portals 2025-06-27 11:50:12 +02:00
NepDisk
4a29babb66 Inline P_MobjWasRemoved 2025-06-02 11:14:16 -04:00
NepDisk
3163dcf9c4 Remove bird window shake
sorry jartha
2025-05-15 14:35:46 -04:00
NepDisk
c56e66a36c Merge branch 'blankart-dev' into portv1objects 2025-04-13 10:51:23 -04:00
NepDisk
f2bb124ab7 Fix TSR in compatmode 2025-04-13 10:50:36 -04:00
NepDisk
a580bc9433 Port v1 objects pt 4.5: extra stuff 2025-04-09 16:39:58 -04:00
NepDisk
f0a6a112ac Port v1 objects pt 4 2025-04-09 13:45:35 -04:00
NepDisk
f81c764057 Fix Splitscreen freecam
Based on fec0f13419 0b7a6ed7f5
2025-04-01 18:36:40 -04:00
NepDisk
911afb22a6 Move freecam state to camera_t
Based on fa89576f34 p1 still controls both cameras for now.
2025-04-01 13:57:27 -04:00
Alug
9587afa23b let postimg stuff also apply to freecam 2025-03-30 10:41:03 -04:00
Alug
7656b519bf fix postimg data types mismatch
also remove the "postimgflag_t" typedef since its useless
and use smoler type for everything we dont need much space lol
2025-03-30 10:38:36 -04:00
Alug
6b1de73341 move postimg flags to camera struct
- also dont let water and heat be applied on top of each other since it does not look good (water postimg takes priority over heat)
- also save a little time in opengl splitscreen since it does not support heat or wöter effects
2025-03-30 10:33:48 -04:00
James R
872b31563d P_DemoCameraMovement: even out vertical angle after toggling
After turning on freecam, the vertical angle is tilted
slightly downward (this is carried over from normal
chasecam).

Interpolate that angle back to normal while moving
forward. This makes it so you don't need to manually
adjust the vertical angle, since it would cause forward
movement to send you into the ground.
2025-03-30 09:02:15 -04:00
James R
c84d9f24fd P_DemoCameraMovement: don't let A button press from menu carry over to rise camera 2025-03-30 09:01:29 -04:00
James R
e0a191f4d5 Replace spectator movement with demo freecam 2025-03-30 08:55:40 -04:00
James R
6531cc065e Fix sound handling in demo freecam
- Object sounds are audible from the location of the
  camera
- Certain HUD sounds should no longer be audible
  - For instance, lap complete sfx
2025-03-30 08:44:56 -04:00
NepDisk
9ca6075a9e Fix thundershield not killing the spb and add DMG_VOLTAGE
Ported the fix from RR since it made the most sense
2025-03-18 01:11:28 -04:00
NepDisk
76ec93f957 Allow Mobjs to waterrun
Waterrunning has been moved over to flag2 MF2_WATERRUN
Applying the flag allows to stand/move on water.
2025-03-17 14:16:44 -04:00
NepDisk
ec6a3d2716 Small turn code refactor 2025-03-07 11:50:10 -05:00
James R
05e926f540 Merge branch 'overlay-offsets' into 'master'
MT_OVERLAY exception flags

See merge request KartKrew/Kart!878
2025-02-27 12:49:23 -05:00
NepDisk
0d4c4a74f6 Merge branch 'blankart-dev' into bortsport 2025-02-22 22:21:09 -05:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
NepDisk
51154e346c rename tm to g_tm to fix C conflict 2025-02-22 01:24:53 -05:00
toaster
b4dcc12e4f Support for user-specified minimap bounds
The totally-not-a-secret reason I made this branch.
- doomednum 770 (associated with polyobject anchors 760/761 and skybox centerpoint 780)
- Place exactly two in a map to draw an implicit rectangle.
    - Supports top-left/bottom-right AND bottom-left/top-right placements.
    - I_Errors if you place too many (or only one).
- You don't *have* to have these, this is just a bonus if you're a map like Power Plant or CDSS1 negatively affected by your skybox.
2025-02-18 23:48:18 +01:00
toaster
8ed510ca88 Precalculate as much shared minimap/automap data on level load as possible
- `P_InitMinimapInfo`
    - Writes to `p_local.h` extern struct
    - Handles everything previously distributed across multiple K_drawKartMinimapIcon calls (and most of AM_findMinMaxBoundaries)
- Reduces complexity of drawKartMinimapIcon significantly
- Last prerequisite before implementing user-placable minimap boundaries...
2025-02-18 23:48:18 +01:00
NepDisk
122b269601 Step up code shit again 2025-02-12 21:29:47 -05:00
NepDisk
a5f4a85ce0 Implement stplyrnum and refactor K_drawBattleFullscreen to use it
Thanks Saturn and GHG as per usual
2025-02-09 11:58:15 -05:00
GenericHeroGuy
a27f90c717 Fix the elevator in Diamond Square 2025-01-25 00:34:54 +01:00
Sally Coolatta
713ac093bf devmode cheat online 2025-01-10 11:36:04 -05:00
NepDisk
0ee728c1eb Fix speedpad and spring angle updates online 2025-01-09 10:14:21 -05:00
James R
5cb20f5480 P_TryMove: sweep collided lines to find nearest normal 2024-12-25 13:30:59 -05:00
NepDisk
4b1324da69 Remove Battle capsule stuff and turn it into Item Breaker
You have to smash every itembox in a map as fast as you can. When you mash you get a pogospring and waiting gives a sneaker
2024-12-17 00:24:20 -05:00
NepDisk
83fc4e8342 Port some callfuncs from base SRB2 ACS merge
This could be handy for all sorts of stuff
2024-11-25 11:40:20 -05:00
NepDisk
b5c21c8d88 Read-only mapthing_t 2024-10-16 13:11:13 -04:00
toaster
bdc50487b7 thinker_era
A first pass in attempts to fix crashes when ACS causes map changes.
Frustratingly still got a crash, but I think this is definitely the right foundation to work with.
2024-10-15 22:15:30 -04:00