Commit graph

17988 commits

Author SHA1 Message Date
NepDisk
80a40bf91f Make Terrain loading the same as other texture related things such as brightmaps 2024-09-19 21:44:34 -04:00
NepDisk
ca85f4f94e allow the console anywhere (besides TA) 2024-09-19 20:47:09 -04:00
NepDisk
93c8a62c99 Add K_TerrainInit to partload instead, Exitlevel on Terrain definition load to prevent issues 2024-09-19 19:23:18 -04:00
NepDisk
b60a9d4bae Improve Subtitles a little bit 2024-09-19 18:07:55 -04:00
NepDisk
9321aa6229 fix boss3cap sync 2024-09-18 19:38:23 -04:00
toaster
251a9a4bb4 Make sure MT_LOOPCENTERPOINT doesn't have an invalid stack-allocated spawnpoint pointer
Fixes connecting to a server that's currently on a map with a loop.

Also tidies P_SpawnItemRow, P_SpawnItemCircle to reduce the likelihood of this happening again, and possible crash with Lua-shortcircuited loop spawning
2024-09-18 19:37:14 -04:00
NepDisk
01c015e560 Don't fade kstart 2024-09-18 10:17:35 -04:00
NepDisk
9f79054a01 Clean up video and GL video options menus and show message when GL is disabled
This also makes the change screen function force set the software option to prevent mismatching menus and cvar toggles
2024-09-18 10:17:35 -04:00
NepDisk
fe83886abb clean up 2024-09-18 10:17:35 -04:00
NepDisk
7a1be2aeac Fix terrain friction and rework closer to sector friction 2024-09-18 10:17:35 -04:00
NepDisk
a26f971980 Fix MF_PAIN 2024-09-18 10:17:35 -04:00
NepDisk
92bda9519a Reimplement turn smoothing plus toggle 2024-09-18 10:17:35 -04:00
NepDisk
e3d888b08d Restore old spinout behaviour 2024-09-18 10:17:35 -04:00
NepDisk
dab9108db0
Merge pull request #20 from alufolie91/trysomesoftwarecrap
Mitigate software renderer performance regression
2024-09-18 10:16:12 -04:00
Alug
8604ba2d7e Revert "use d3d11 for windoze and opengles2 for nix sdl render driver"
This reverts commit 15f44c333c.
2024-09-15 12:14:52 +02:00
Wumbo
3ad5d9cd00 Fix follower with ID 0 not appearing on track load 2024-09-14 18:30:06 -04:00
Alug
6a9f8ef273 fix overflow check in R_DrawRepeatMaskedColumn + super smol optimization 2024-09-14 19:02:28 +02:00
Alug
15f44c333c use d3d11 for windoze and opengles2 for nix sdl render driver
speeds things up significantly
falls back to opengl if stuff fails to be set
since thats still better than just software rendering
2024-09-14 18:42:19 +02:00
Alug
e2f79aa308 remove some code duplication + add missing check 2024-09-14 18:29:57 +02:00
Alug
05d07927b8 mititgate software renderer performance hit + cleanup
no its not on the level of before, but you either take the hit or break basically all kart maps visually (well unless you would manually fix all the maps yourself)
2024-09-14 18:12:23 +02:00
NepDisk
55d47c7cf8 Revert Revert Use all your momentum to push back the camera
This reverts commit 696d9a0d4e.
2024-09-14 00:22:55 -04:00
NepDisk
0d7e9fc691 Fix balloon coloring 2024-09-13 22:49:39 -04:00
NepDisk
124bc25cee redisable thing stepup like RR does 2024-09-13 21:20:28 -04:00
NepDisk
1593ba7041 Fix midtexture stepup issue
Thanks Indev!!!!
2024-09-13 15:33:38 -04:00
NepDisk
7277fe1dbf remove mom from lua funcs 2024-09-13 12:12:29 -04:00
Sally Coolatta
b21352d8ac Evict the wall gremlin
Gremlins happened whenever P_TryMove and P_SlideMove/P_BounceMove disagreed on what an object collided with. When TryMove said you collided with a line, but P_BounceMove said that you didn't, then you'd get gremlin'd.

To fix this, P_TryMove now can edit a struct to contain information on what it collides with. P_SlideMove and P_BounceMove no longer try to detect walls on their own and now requires this result from P_TryMove. If a slide/bounce is needed without moving the object, then you'd want to use P_CheckMove to get the result.

Nep Note: I tried implementing lua support, its probably shit lmao
2024-09-13 11:49:12 -04:00
Sally Coolatta
e4534dcf50 P_RestoreTMStruct 2024-09-13 11:32:41 -04:00
Sally Coolatta
97dc236522 Reference count tm.floorthing and tm.hitthing 2024-09-13 11:31:31 -04:00
Sally Coolatta
55a8643dd3 Put tm* variables into a struct
This makes it significantly easier to save/restore the state of these variables, whenever we need to do so for calling movement functions in the middle of other movement functions. This will also make it easier to move it out of global variable hell if desired later.
2024-09-13 11:29:30 -04:00
NepDisk
a95b4cc902 Forgot thing for sonic loops 2024-09-13 00:17:47 -04:00
NepDisk
4d2e611765 Fix the flip/step up fix 2024-09-13 00:16:02 -04:00
NepDisk
6816173d98
Merge pull request #19 from WumboSpasm/followers
Follower improvements. Thanks Wumbo!
2024-09-12 23:17:27 -04:00
Wumbo
0dbecfdcf3 Improve presentation of followers on player setup screen
- Animation speed is now framerate-independent
- Render height is no longer all over the place
- Ground followers now bounce
2024-09-12 22:37:28 -04:00
NepDisk
3a1633e02a Experimental fix to fix flipping 2024-09-12 22:24:12 -04:00
NepDisk
696d9a0d4e Revert Use all your momentum to push back the camera
This reverts commit e52d569c58.
2024-09-12 18:28:13 -04:00
NepDisk
922ea1235e Revert "Merge branch 'natural-camera-outrun' into 'master'"
This reverts commit 57e69603a4, reversing
changes made to 542e0b88df.
2024-09-12 18:25:38 -04:00
NepDisk
03ba9629bc
Merge pull request #18 from alufolie91/fixmidnightcaves
fix issues with R_PointOnSide on kart maps + big optimization. Thanks Alug
2024-09-12 17:28:42 -04:00
NepDisk
a5844b36cb Disable camera lookback during loops.
c4154470b9
2024-09-12 16:23:55 -04:00
Alug
ddc4356fd7 fix issues with R_PointOnSide on kart maps + big optimization 2024-09-12 22:18:39 +02:00
NepDisk
ca8062edec fix loopcam jerk 2024-09-12 16:18:16 -04:00
NepDisk
0f9c385697
Merge pull request #17 from alufolie91/fixcullcrap
Fix some Rendering issues + slight cleanup. Thanks Alug!
2024-09-12 16:08:59 -04:00
Alug
e76852e932 fix fof renderflags on kart maps in software 2024-09-12 21:54:55 +02:00
Alug
ac7ca78e25 fix issues with fofflags on kart maps in ogl 2024-09-12 21:47:07 +02:00
Alug
71772fcef1 smal cleanup + refactor HWR_RenderBSPNode
og code was pain
2024-09-12 21:41:41 +02:00
Alug
97f9426a7a fix ogl culling stuff on polyobjects 2024-09-12 21:32:27 +02:00
James R
410419c852 Add player_t.cameraOffset, offset chasecam Z position 2024-09-12 15:11:19 -04:00
Alug
52e3a399ee fix ogl water shader ripple
is a float, and also gets divided by ticrate earlier
2024-09-12 21:00:22 +02:00
Wumbo
b4ec4ef691 Make first follower selectable again 2024-09-12 13:38:31 -04:00
James R
5290e3fcd8 Loop camera: do not pan with drifts
This would offset the camera in loops. Bad since they
sometimes have very specific parameters.
2024-09-12 13:07:02 -04:00
James R
1189720220 Loop camera: do not reverse panning direction based on player camera 2024-09-12 13:06:55 -04:00