Commit graph

18465 commits

Author SHA1 Message Date
Sally Coolatta
3d6da0ce43 Super random push
Looks better to me, and makes cone have a more pronounced effect
2022-02-14 14:26:40 +01:00
Sally Coolatta
6ef8ddf3ee Let's just convert this in a more sane fashion... 2022-02-14 14:26:40 +01:00
Sally Coolatta
7ce3d5bea0 Oops ... can't use raw angles for P_RandomRange anyway. 2022-02-14 14:26:40 +01:00
Sally Coolatta
fee1ccdc0d Wrong var name oops
I autopiloted
2022-02-14 14:26:40 +01:00
Sally Coolatta
e365b7f0b3 Fix it not using footstep->cone 2022-02-14 14:26:40 +01:00
Sally Coolatta
150f514c80 Remove off by one """"fix"""" 2022-02-14 14:26:40 +01:00
Sally Coolatta
5429fc5dc6 Properly put in the parameters 2022-02-14 14:26:39 +01:00
Sally Coolatta
a7788f1047 Add terrain splashes 2022-02-14 14:26:39 +01:00
Sally Coolatta
895881fc00 Use mobjzmovement for footsteps 2022-02-14 14:26:39 +01:00
Sally Coolatta
97b45612df Add footstep particles 2022-02-14 14:26:36 +01:00
Sally Coolatta
80acc8fe3f Add scale & color parameters to terrain particles 2022-02-14 14:26:06 +01:00
Sally Coolatta
ee8f7468bb Allow "texture" as an alias to "floor"
Since we I'm using it for Tripwire too
2022-02-14 14:26:06 +01:00
Sally Coolatta
1e0f9faf19 Implement bumpy floor 2022-02-14 14:26:06 +01:00
Sally Coolatta
867ddb143d Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag! 2022-02-14 14:26:04 +01:00
Sally Coolatta
c355537676 Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2022-02-14 14:25:38 +01:00
Sally Coolatta
6cc30005b3 Sync mobj->terrain
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2022-02-14 14:25:38 +01:00
Sally Coolatta
e4c04169d7 Implement the sector special-like effects
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2022-02-14 14:25:37 +01:00
Sally Coolatta
4d08194fc7 Liquid terrain functions 2022-02-14 14:25:35 +01:00
Sally Coolatta
595d568b53 You can now link terrain to textures 2022-02-14 14:24:21 +01:00
Sally Coolatta
f6c42f70a7 Friction value is used, implemented DefaultTerrain 2022-02-14 14:24:21 +01:00
Sally Coolatta
57fb65077a Add terrain pointer to mobj_t 2022-02-14 14:24:21 +01:00
Sally Coolatta
9d65e53d73 TERRAIN lump reading
Does not impact gameplay but hey pretty cool
2022-02-14 14:24:19 +01:00
Sally Coolatta
12acd6977b TERRAIN lump mockup 2022-02-14 14:23:43 +01:00
Sally Coolatta
4ff50fe438 Don't use damage hitlag effects on a person when they "win" a ring sting exchange
Only applies to ring sting collision (no other types of damage touching), only applies to the person not getting stung. The person who is getting stung & sting trades are unaffected.
2022-02-14 14:23:43 +01:00
Sally Coolatta
97a503d2c2 Don't do hitlag combo with items with threshold
Prevents instakill ballhog
2022-02-14 14:23:42 +01:00
James R
f0e33d9a36 Let objects receive damage while in hitlag 2022-02-14 14:23:42 +01:00
James R
5192c56d13 Check to sting player before removing one ring 2022-02-14 14:23:42 +01:00
Sally Coolatta
fc8a7a6ca5 Scale gravity with map scale instead of object scale 2022-02-14 14:23:42 +01:00
Sally Coolatta
14ee70624f Fix lap animation interp being reversed 2022-02-14 14:23:42 +01:00
Sally Coolatta
817e6f568a Only calculate string when we need it 2022-02-14 14:23:42 +01:00
Sally Coolatta
0e55de6dcc Interpolate music credits 2022-02-14 14:23:39 +01:00
Sally Coolatta
d959ce02be Purple spark electricity UNCAPPED 2022-02-14 14:22:30 +01:00
Sally Coolatta
0adea2279b Fully fix drop shadows
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2022-02-14 14:22:30 +01:00
Sally Coolatta
6b84557b78 Make drop shadows slightly better in uncapped
They still jitter uphill
2022-02-14 14:22:30 +01:00
Sally Coolatta
f04520f368 Apply the same fix for instashield overlay 2022-02-14 14:22:30 +01:00
Sally Coolatta
843f89cb76 Fix jawz reticule in uncapped 2022-02-14 14:22:30 +01:00
Sally Coolatta
74bac4028b Hack to fix drift spark explosion while keeping its interpolation 2022-02-14 14:22:29 +01:00
Sally Coolatta
b9cc482c53 Rename PitchRoll stuff back
I did a find+replace because I realized the functions I added were named too similar to other ones & to make the purpose more obvious ... but it ended up changing them too anyway! Gah!
2022-02-14 14:22:29 +01:00
Sally Coolatta
bfaefe4ee5 P_InitAngle, to fix angle interpolation on spawning objects 2022-02-14 14:22:29 +01:00
Sally Coolatta
bf2dc739da Add functions to handle interpolation
Much less code duplication
2022-02-14 14:22:29 +01:00
James R
5ed55aca3d Disable wad loading in TESTERS build 2022-02-14 14:22:29 +01:00
James R
7411484bf6 More TESTERS guard 2022-02-14 14:21:47 +01:00
Sally Coolatta
b5e16a5202 Add 4PREADY graphic 2021-12-28 22:16:37 -05:00
Sally Coolatta
d3f8e61591 In-game control shenanigans
- Fix gamekeydown using FRACUNIT instead of JOYAXISRANGE
- Re-add spindash button functionality
- I put custom buttons back ... but they're now called "Lua" buttons A thru C because Custom was a dumb misleading name
2021-12-28 12:49:33 -05:00
Sally Coolatta
a7022af93f Fix cup select & level select to both use the new input handling systems 2021-12-28 12:27:59 -05:00
Sally Coolatta
0179466107 Finalize char select multiplayer
- Add menu control fallbacks.
    - If it could not find a bind using your existing keys, then it looks at default controls.
    - If it could not find it then, and you're P1, then it looks through gamepads, and then lastly settles for keyboard.
    - Changed around the order of operations on the character select menu, to accommodate for this change.
- Added initroutine to menu_t, which is called every time without question when going to a new menu. This solves many, many minor bugs you could experience in the character select menu when changing between menus, due to things only being properly reset when selecting the character select menu option.
2021-12-28 12:02:31 -05:00
Sally Coolatta
0f218b285e Fix menu multiplayer breaking again 2021-12-28 09:02:46 -05:00
Sally Coolatta
3890c06a4d Fix number of players counter breaking when entering as player 1 & then exiting 2021-12-28 08:54:23 -05:00
Sally Coolatta
b1d36496b2 Properly implement joystick axes
NOW it's fully navigable with controller
2021-12-28 08:44:20 -05:00
Sally Coolatta
92aff0b57c Finish some unused SDL hat input support to use events rather than polling all of the time 2021-12-28 08:02:32 -05:00