Commit graph

19509 commits

Author SHA1 Message Date
SinnamonLat
464e4a338a wip: ebrake visuals 2022-05-03 03:35:01 +02:00
SinnamonLat
d843cc5b5c Spindash iframe ring drain based off of speed/weight 2022-05-03 02:16:22 +02:00
SinnamonLat
784a541c09 Spindash charge time rebalance + release thrust 2022-05-03 01:53:20 +02:00
James R
2de756d077 Fix typo 2022-05-01 18:31:17 -07:00
James R
64b8da086f Readjust race item odds for Hyudoro 2022-05-01 14:39:19 -07:00
James R
38ab22f022 Netsave player.hoverhyudoro 2022-05-01 14:04:25 -07:00
James R
2196ccef62 Add k_objects.h 2022-05-01 13:36:17 -07:00
James R
8fd251b54c Revert wrongly committed code 2022-05-01 13:36:01 -07:00
James R
3e8d50a44a Fix/finish hyudoro return delivery
- Fix item detection, matches paper sprite pickups
- Stacked hyudoros deliver item once player is not holding
2022-04-30 00:25:42 -07:00
James R
39ff9ce383 Remove orphaned MT_SHADOW 2022-04-29 23:43:25 -07:00
James R
c6e7fe2d29 Hyudoro object code 2022-04-29 22:02:22 -07:00
James R
910ebe9d0f Add objects subdirectory
For game object-specific code
2022-04-29 22:01:51 -07:00
James R
61399981a2 MT_SHADOW + SPR_NONE, teleports to tracer and renders only a shadow 2022-04-29 21:14:10 -07:00
James R
cd9777f0cb MT_GHOST: dont flicker tracer's DONTDRAW flags 2022-04-29 21:14:10 -07:00
James R
505e2db2c4 Add Hyudoro states 2022-04-29 21:14:10 -07:00
toaster
b88a34e07b Make the "DEVELOPMENT EXE" string on the title screen change in TESTER and HOSTTESTER builds. 2022-04-29 22:16:44 +01:00
toaster
2036a62043 Change when the kstart sound occours, because getting a lag spike at a bad time can still make it happen inaccurately early. 2022-04-29 21:54:22 +01:00
toaster
f13149c061 Merge branch 'droptargetsound' into 'master'
Dynamic sounds for drop target collision

See merge request KartKrew/Kart!575
2022-04-27 19:45:17 +00:00
AJ Martinez
87eed3ed1c Double droptarget sound range 2022-04-25 21:21:53 -05:00
AJ Martinez
4655df9d9e Dynamic sounds for drop target collision 2022-04-25 18:49:08 -05:00
toaster
2fc1770dc0 Merge branch 'sep-decringe' into 'master'
[minor refactor] Sep Decringe

See merge request KartKrew/Kart!573
2022-04-18 16:37:15 +00:00
toaster
2b2ba53e93 Minor refactor: Handle *sep entirely within S_AdjustSoundParams, instead of having a component partly outside. 2022-04-18 17:13:27 +01:00
Sal
346a93475d Merge branch 'split-somethings' into 'master'
Split Somethings

Closes #237 and #233

See merge request KartKrew/Kart!572
2022-04-18 15:19:51 +00:00
toaster
dfbff49a52 Delete accidentially-committed whitespace 2022-04-17 23:50:43 +01:00
toaster
440203ff89 Resolve #233 - Sounds with non-NULL sources now work when two or more players are near the sound origin. 2022-04-17 23:22:48 +01:00
toaster
8563074ee0 Resolve #237 - water ripple effects no longer show garbage in splitscreen. 2022-04-17 21:57:06 +01:00
SinnamonLat
62b6b7ea8f Update controls in real time in control setup, allow testing controller mappings 2022-04-13 03:03:58 +02:00
SinnamonLat
66c62b38da Various fixes in charsel / charswitch menus 2022-04-13 00:53:27 +02:00
SinnamonLat
4f919f883d Bandaid fix for trigger mapping, not super consistent but it helps most of the time... 2022-04-12 16:38:40 +02:00
SinnamonLat
1d4ee40758 Remove unecessary button associations in menu. X is now Back 2022-04-12 11:46:50 +02:00
SinnamonLat
7132a1be10 Profiles: Followers support 2022-04-12 00:58:57 +02:00
SinnamonLat
6db54f77d8 Force menus to use default controls for now. Update device in realtime in control setup menu 2022-04-11 14:50:51 +02:00
Sally Coolatta
358cc9f215 Bad function declaration 2022-04-02 15:24:19 -04:00
Sally Coolatta
5ffba0a678 review 2022-04-02 15:24:18 -04:00
Sally Coolatta
6bdd11533c Don't replace bots on the final race. 2022-04-01 21:48:28 -04:00
Sally Coolatta
59cd9e6157 Harder rubberbanding
The old one is too difficult, the new one is too easy ... let's get an inbetween.
2022-04-01 21:47:50 -04:00
Sally Coolatta
0eb5c29448 Don't do for tire grease again, but for the opposite reason. 2022-04-01 17:33:41 -04:00
Sally Coolatta
18dc75e6ca Make more accurate to how it used to work 2022-04-01 17:23:27 -04:00
Sally Coolatta
56875c59e9 Improve bot friction rubberbanding 2022-04-01 16:39:24 -04:00
Sally Coolatta
1a25fcee4e Improve spindash conditions 2022-04-01 16:05:49 -04:00
Sally Coolatta
3fb1ebbbb0 Fix Sub Zero Peak opening
Bots adjust their speed caluclations with slopes, so they anticipate moving faster going downhill and will stop sooner. They also EBrake instead reversing when trying to reverse up a hill.
2022-04-01 16:00:28 -04:00
toaster
8b88284b32 Fix in-game ticcmds being generated with your inputs while a menu is supposed to be eating them. (we can no longer rely on the ev_ system eating them before they get processed, so just add extra exceptions... 2022-04-01 20:54:15 +01:00
toaster
ff5992e3c4 Rework the entire G_PlayerInputAnalog system.
* Previous control checking flow:
    * Current controller/keyboard (userbound controls).
    * If on a menu:
        * Current controller/keyboard (default controls).
        * All controllers not in use by a player (default controls).
* New control checking flow:
    * Current controller/keyboard (userbound controls).
    * If player 0 and just checked a controller, check keyboard (userbound controls).
    * If on a menu:
        * Check all controllers not in use by a player (userbound controls).
        * If keys are inaccessible/unbound and keybind is necessary to navigate menus, repeat eveyrhting with default controls.
* Instead of duplicated code, control the flow in a finer fashion.
* Now able to detect if gamepad inputs are possible to recieve (via checking deviceID), instead of assuming they are.
* If a keybind is set but inaccessible by the above metric, make it flash on the Profile Controls screen.
* Fix out-of-order key mappings for a given bind being invisible on the Profile Controls menu.
2022-04-01 20:51:37 +01:00
toaster
e3f9a925d8 Fix a fresh profile not having kickstartaccel zeroed out. 2022-04-01 20:32:48 +01:00
Sally Coolatta
af3499c024 Make bots RETIRE when they NO CONTEST
They get replaced with another bot when they NO CONTEST, swapping their skin and resetting their difficulty & points.
2022-03-31 18:21:03 -04:00
Sally Coolatta
76bb14bd3e Scale some bot speed calculations with friction
Makes them handle better on ice.

Also includes some code to do the same with slopes, but it didn't work for subzero, so I gave up on it.
2022-03-31 17:02:12 -04:00
Sally Coolatta
d9b1bdb851 Remove bots without GTR_BOTS 2022-03-31 15:45:50 -04:00
Sally Coolatta
9475c80b9a Fix typo preventing reversing from working 2022-03-31 15:45:18 -04:00
Sally Coolatta
85c03a51d6 Add perfstats for bot ticcmd
Cuz bot ticcmd generation is kinda chunky, and was curious how much time it takes. (It's actually a lot less than I thought ... still pretty hefty though)
2022-03-30 22:38:07 -04:00
Sally Coolatta
46dad4b7dd Start on better bot position 2022-03-30 20:28:08 -04:00