Commit graph

7109 commits

Author SHA1 Message Date
Sally Coolatta
7f04e58665 Use shiny frame as outwards drift 1 2020-05-10 19:28:36 -04:00
Sally Coolatta
4941d0ce0e Typo in comment 2020-05-08 21:43:19 -04:00
Sally Coolatta
c2b18a989c More logic to spinning your wheels
Use "tire spinning" animations when you're moving on the ground and/or holding accelerate!

The two cases that are changed are:
- If you're in the air and not pressing accelerate, your tires won't spin anymore.
- If you're on the ground, but not moving, but you're still pressing accelerate, they will spin in place. (right now only happens for start boosting, later it will be for spindashing)

Isn't really a tell for anything, just thought it'd be fun attention to detail :)

Additionally, we can use drift frames in the air. Just makes sense because we have air sparks now.
2020-05-08 18:27:51 -04:00
Sally Coolatta
9ea37836e2 New kart animations!
- Add unique frames for inward and outward drifting.
- Increase the speed threshold required to reach your "fast driving" frames.
- Use slow driving frames when you're slowing down, even if you're techincally above the fast speed threshold.
- Use frameangle to smooth out the transition into drifting, instead of having "pre-turned" drift frames.
2020-05-08 17:26:27 -04:00
Sal
b99e75c298 Merge branch 'config-lancer' into 'master'
Never worry about config size again

See merge request KartKrew/Kart!253
2020-05-04 21:52:47 -04:00
Sal
ebb3471124 Merge branch 'voting-after-the-vote-ended' into 'master'
Double vote picking and modifying vote after vote ended

See merge request KartKrew/Kart!195
2020-05-04 15:50:02 -04:00
Sal
fdab361827 Merge branch 'pmomz-reset' into 'master'
Reset pmomz after transfer to momz

See merge request KartKrew/Kart!251
2020-05-04 15:20:31 -04:00
James R
67c355e571 Use COM_ImmedExecute to load the config, so the buffer size doesn't matter 2020-05-04 12:19:53 -07:00
lachwright
f796379198 Reset pmomz after transfer to momz 2020-05-05 00:27:53 +08:00
Sal
aa948b1de3 Merge branch 'handling-fix' into 'master'
Handling code clean-up

See merge request KartKrew/Kart!249
2020-05-03 23:01:22 -04:00
Sal
805d7a17c6 Merge branch 'fun-signpost' into 'master'
Fun server signpost

See merge request KartKrew/Kart!248
2020-05-03 22:54:16 -04:00
Sal
b090b03514 Merge branch 'port-port' into 'master'
Random client port 2.2 port

See merge request KartKrew/Kart!250
2020-05-03 22:51:32 -04:00
James R
8cb58fb394 -clientport (it's back!) and -serverport, which is an alias to -port
If you ever need to, you can change the client port number.

(cherry picked from commit 843d9b9f0a345330d97c579e94f208eb2b65c156)
2020-05-03 18:35:52 -07:00
James R
5c0566d906 Use a pointer for port_name
Using strcpy is stupid because we don't know how long the argument would be.
There's no need for a buffer anyway.

(cherry picked from commit 4e321012894b2aa87e312597f19be26b30545a8b)
2020-05-03 18:35:51 -07:00
James R
77ddf635a5 Use a random port when connecting
(cherry picked from commit f584b61c93a97e1a9852f306acba673ced21e03a)
2020-05-03 18:35:51 -07:00
Sally Coolatta
b9ff3403a9 Add missing netxcmdnames from james stuff 2020-05-03 21:32:12 -04:00
James R
d11d0546db Merge remote-tracking branch 'origin/master' into voting-after-the-vote-ended 2020-05-03 18:28:26 -07:00
Sal
25ba7e386f Merge branch 'conveyor-camera-jitter' into 'master'
Fix camera jitter after leaving a conveyor

See merge request KartKrew/Kart!245
2020-05-03 21:28:02 -04:00
Sal
765227d380 Merge branch 'speed-pads-tweaks' into 'master'
Speed pads tweaks

See merge request KartKrew/Kart!246
2020-05-03 21:27:54 -04:00
Sally Coolatta
cc87418db8 Handling code clean-up
- Cleans up multiple FixedMul instances, ensuring only fixed_t numbers are ever passed in.
- Prevents speed values from overflowing by giving it a maximum. This both gives you more control when moving above 200% top speed, and fixes the bug which corrupted your turn inputs (turning wrong direction, turning without pressing anything, etc) when moving too fast.
2020-05-03 21:26:57 -04:00
Sal
5a56271392 Merge branch 'more-debug' into 'master'
More item debug

See merge request KartKrew/Kart!185
2020-05-03 21:16:58 -04:00
Sal
98f33790f8 Merge branch 'fucking-spring-fix' into 'master'
Fix items vs springs crash

See merge request KartKrew/Kart!247
2020-05-03 21:03:06 -04:00
Sally Coolatta
48ba151d98 Rather than showing random added skins, show random other players in the server on the signpost! 2020-05-03 20:58:12 -04:00
Sally Coolatta
c9b2396efb Fix items vs springs crash 2020-05-03 20:12:01 -04:00
Sally Coolatta
d4efbb710b Lost fix 2020-05-03 19:45:59 -04:00
Sal
bd9c68183a Merge branch 'resume' into 'master'
Music resuming/fading

See merge request KartKrew/Kart!222
2020-05-03 19:35:46 -04:00
James R
e52d569c58 Use all your momentum to push back the camera 2020-05-02 19:10:38 -07:00
James R
01cdc1af49 Also preserve player angle on speed pads 2020-05-02 19:10:05 -07:00
James R
652b7bbb9e Retain drift on speed pads 2020-05-02 19:10:04 -07:00
James R
a1502046cf Merge remote-tracking branch 'origin/master' into resume 2020-04-30 09:32:40 -07:00
Sal
fae498f097 Merge branch 'fof-things-suck' into 'master'
Generic raise things line special, Waypoint Riser and Waypoint Anchor

See merge request KartKrew/Kart!233
2020-04-28 20:19:03 -04:00
Sal
c50670752a Merge branch 'prevent-div-by-zero' into 'master'
Prevent divide by zero in slopes code

See merge request KartKrew/Kart!243
2020-04-25 01:37:54 -04:00
James R
48b7c75e47 Why is this still here 2020-04-24 20:39:54 -07:00
James R
4b2c13da0c Merge remote-tracking branch 'origin/master' into fof-things-suck 2020-04-24 20:36:30 -07:00
Sal
720ec3ba8a Merge branch 'scroll-back-and-front' into 'master'
Line special 507 - Scroll front and back textures of tagged lines by front and back texture offsets

See merge request KartKrew/Kart!239
2020-04-24 20:54:23 -04:00
Sally Cochenour
e26bb897d6 Prevent divide by zero in slopes code
Not exactly sure why this happens, or if this is the correct way to fix it
2020-04-23 14:18:43 -04:00
Sal
c53b09c48c Merge branch 'update-cmakelists' into 'master'
Add new files to src/CMakeLists.txt

See merge request KartKrew/Kart!242
2020-04-23 12:48:43 -04:00
Sal
dca2193121 Merge branch 'misc-camera' into 'master'
Camera tweaks

See merge request KartKrew/Kart!241
2020-04-22 16:42:19 -04:00
Sal
4a198c0bfa Merge branch 'version-change' into 'master'
No more modulo bullshit in VERSION

See merge request KartKrew/Kart!238
2020-04-22 16:41:17 -04:00
Sal
17e2cea517 Merge branch 'bananas-are-items' into 'master'
Move all of the item destroy sector code to one place

See merge request KartKrew/Kart!240
2020-04-22 16:40:56 -04:00
Sal
e23027d678 Merge branch 'let-there-be-var' into 'master'
Change netvars in replays

See merge request KartKrew/Kart!234
2020-04-22 16:40:29 -04:00
Sal
9671090d06 Merge branch 'distance-to-finland' into 'master'
More consistent finish line distance & positions

See merge request KartKrew/Kart!237
2020-04-22 16:40:19 -04:00
lachwright
4040698e24 Add new files to src/CMakeLists.txt 2020-04-22 23:24:25 +08:00
lachwright
dd126494b3 [Everyone disliked that.] (revert camera zoom) 2020-04-22 22:59:57 +08:00
James R
fd51bf10b0 Thing type 2003, MT_WAYPOINT_ANCHOR - Adjust waypoint's radius
The distance from the waypoint to the anchor will be the new radius.
2020-04-21 00:36:45 -07:00
James R
02f30814eb Do some cleanup 2020-04-21 00:35:06 -07:00
lachwright
c92634c71e Make lookback instantaneous 2020-04-21 05:24:48 +08:00
lachwright
6905cfb064 Revert camtilt splitscreen hacks 2020-04-21 03:32:06 +08:00
lachwright
263c31f5df Improve camera tilt 2020-04-21 02:38:08 +08:00
James R
feceb97df0 C90 moment 2020-04-19 22:08:37 -07:00