Commit graph

19015 commits

Author SHA1 Message Date
James R
58b9b00e8e Line 460: animate rings, toggle ring boost cap
Uses K_AwardPlayerRings so rings can be overloaded.
2022-06-10 00:05:22 -07:00
James R
f6a445c281 Add K_AwardPlayerRings, adds to player->superring 2022-06-10 00:03:05 -07:00
Sal
7a8f3ee88b Merge branch 'minimum-forward-trick' into 'master'
Use constant minimum speed for tricks

Closes #245

See merge request KartKrew/Kart!622
2022-06-08 13:08:12 +00:00
Sal
892211bcae Merge branch 'fix-line-80' into 'master'
Fix line 80

Closes #181

See merge request KartKrew/Kart!616
2022-06-08 13:07:08 +00:00
Sal
70806af101 Merge branch 'fix-opengl-relative-skybox' into 'master'
Fix OpenGL skybox centerpoint translation

Closes #241

See merge request KartKrew/Kart!623
2022-06-08 13:05:39 +00:00
Sal
d01453b136 Merge branch 'no-op-zero-length-sounds' into 'master'
Do not play NULL sfx data

Closes #226

See merge request KartKrew/Kart!624
2022-06-08 12:58:28 +00:00
Sal
09e4918842 Merge branch 'autosave-testers-replays' into 'master'
Force replays to auto save in testers build

Closes #243

See merge request KartKrew/Kart!618
2022-06-08 12:58:09 +00:00
James R
7e9dcffdf7 Do not play invalid sfx 2022-06-07 20:54:10 -07:00
James R
3f05f9ee13 Fix OpenGL skybox centerpoint translation
Blame eda9b36455
2022-06-07 20:04:06 -07:00
James R
d25af26eda Tricks: use constant minimum speed 2022-06-07 19:09:33 -07:00
Sal
5f86c93021 Merge branch 'snap-spectator-hud' into 'master'
Snap spectator hud to bottom left

Closes #244

See merge request KartKrew/Kart!619
2022-06-07 20:37:45 +00:00
Sal
d70a1d6c49 Merge branch 'spectate-reset-items' into 'master'
Remove items from player when spectating

Closes #230

See merge request KartKrew/Kart!617
2022-06-07 20:36:07 +00:00
Sal
0905f55cf9 Merge branch 'sprint-finish' into 'master'
Disable bot controls after sprint map finish (resolves #260)

Closes #260

See merge request KartKrew/Kart!613
2022-06-07 20:35:22 +00:00
Sal
b3cddc1d1c Merge branch 'spb-hitlag' into 'master'
Make SPB match its target's hitlag

See merge request KartKrew/Kart!614
2022-06-07 20:34:55 +00:00
Sal
e75cb04a44 Merge branch 'bounce-followers' into 'master'
Add bouncing followers

See merge request KartKrew/Kart!611
2022-06-07 20:34:05 +00:00
James R
401a10ee04 Snap spectator hud to bottom left
Fixes non-green resolutions.
2022-06-07 01:26:12 -07:00
James R
9270e53975 Force replays to auto save ifdef TESTERS 2022-06-07 01:22:18 -07:00
James R
e2c64699d0 Strip items when spectating 2022-06-07 01:15:22 -07:00
James R
70e55a0911 Run line 80 (raise things to FOF) after things spawn
Blame 3cad7398f0
2022-06-07 00:56:56 -07:00
AJ Martinez
79cf985380 Allow bot control if knocked backwards after sprint finish 2022-05-31 21:00:59 -05:00
Sally Coolatta
3164199512 Reset state when bouncing 2022-05-31 21:53:19 -04:00
AJ Martinez
bf976a7bca Make SPB match its target's hitlag 2022-05-31 17:04:41 -05:00
AJ Martinez
12563d254a Disable bot controls after sprint map finish (resolves !260) 2022-05-31 16:40:00 -05:00
Sally Coolatta
c3bb2c8539 Add bouncing followers
Set `BobAmp` on a ground follower to set its bouncing velocity.
2022-05-31 07:28:30 -04:00
Sal
30f60585be Merge branch 'colour-persistence' into 'master'
Player colour persistence (resolves #255).

Closes #255

See merge request KartKrew/Kart!610
2022-05-30 21:58:07 +00:00
toaster
80f2111f00 Correct player colour persistence, *actually* resolving #255.
An explanation for the approach: I started writing a whole system where an extra pflag would be defined for "colour is not currently the player's ACTUAL colour". Then I looked at the actual code flow that would be affected by it - the single line guarded by `if (forcereset)` - and decided it was simpler to just do an extra write in this once-per-player-per-frame function instead of increasing across-the-board complexity.
2022-05-30 16:37:01 +01:00
Sally Coolatta
286f1c34a5 Prevent bots crash when there's no waypoints 2022-05-28 03:58:49 -04:00
James R
f1e119527d Merge branch 'draw8uno' into 'master'
draw8 cleanup

See merge request KartKrew/Kart!598
2022-05-27 23:04:42 +00:00
Sally Coolatta
d5c384bf02 Fix even slope lighting being inconsistent 2022-05-27 18:34:52 -04:00
Sal
ea96a33e41 Merge branch 'bot-rubberband-edit' into 'master'
Drastically simplified bot rubberbanding

See merge request KartKrew/Kart!604
2022-05-27 06:49:51 +00:00
Sally Coolatta
8b8933fa1a Fix incorrectly gotten bot controller line ID 2022-05-27 02:49:36 -04:00
Sal
1a4a599d96 Merge branch 'slope-lighting' into 'master'
Directional Lighting

See merge request KartKrew/Kart!608
2022-05-27 05:17:13 +00:00
Sally Coolatta
828e5e7c81 Rival bot in GP gets x2 tether power increment 2022-05-26 00:29:51 -04:00
Sally Coolatta
2cbcc8f914 Adjust acceleration for rubberbanding
Since your acceleration is tied to your top speed, we need to do this to ensure we're ONLY increasing the top speed, and not how fast they make it to that top speed.
2022-05-26 00:25:54 -04:00
Sally Coolatta
8815b065b3 Merge branch 'master' into bot-rubberband-edit 2022-05-25 23:29:04 -04:00
Sally Coolatta
f05ac93633 Fix the two big problems with the lighting
- FULLY fix light offset still being applied on full bright walls
- Fix ceiling lighting being reversed
2022-05-25 16:16:20 -04:00
Sally Coolatta
1b5c9e47c5 Fix 255 / 0 prevention not working on lines 2022-05-25 05:08:35 -04:00
Sally Coolatta
8d8650c5f1 Merge branch 'master' into slope-lighting 2022-05-25 04:06:25 -04:00
James R
0bcabbb88a Merge branch 'grow-adjustments' into 'master'
Minor Grow scale corrections

See merge request KartKrew/Kart!605
2022-05-25 08:05:40 +00:00
Sally Coolatta
bc3a82b610 Merge branch 'master' into slope-lighting 2022-05-25 04:04:38 -04:00
James R
1f54579c03 Merge branch 'blockmap-cock' into 'master'
Fix blockmap WILD inconsistency when it's not PIT_CheckThing

See merge request KartKrew/Kart!601
2022-05-25 08:03:01 +00:00
James R
dac2f4495e Merge branch 'hyu' 2022-05-25 00:43:32 -07:00
Sal
675cb12dba Merge branch 'tester-text' into 'master'
Tester text

See merge request KartKrew/Kart!603
2022-05-25 07:37:17 +00:00
Sal
e3a0945566 Merge branch 'eggbox-cinders' into 'master'
Eggman Mark cinder fix

See merge request KartKrew/Kart!600
2022-05-25 07:37:08 +00:00
Sally Coolatta
ec02e75f0d Implement directional lighting
(Sloped ceilings are reversed and not sure what to do about it)
2022-05-25 02:51:08 -04:00
Sally Coolatta
b6ed17d9fc Allow adjusting map contrast 2022-05-24 23:04:48 -04:00
Sally Coolatta
dc890caef3 Add slope lighting
Makes slopes at a great enough steepness able to match the contrast of walls.

COMING SOON: Directional lighting & contrast modifier, as options for map header.
2022-05-24 22:23:04 -04:00
Sally Coolatta
ea477cb69a Make OpenGL use hwLightOffset instead of calculating every time
Fake contrast setting is no more
2022-05-24 20:09:32 -04:00
Sally Coolatta
b777b3f96a Don't apply wall light offsets on brightness 255 or 0
Makes skyboxes look better
2022-05-24 19:24:57 -04:00
Sally Coolatta
abb5cf71b8 Waypoint sight improvements
- Reorganized bot traversal
- Blocking line traversal includes tripwire
- Next waypoint detection uses blocking line trace now (this means bots can't sit outside of a tripwire wanting to go through it)
2022-05-24 17:30:42 -04:00