Commit graph

1397 commits

Author SHA1 Message Date
Sryder
7f48bfc19a Slight refactor of getting distance to finish line for players. 2019-06-15 13:11:45 +01:00
Sryder
4dfd81568d Get distance to finish line using waypoints/pathfinding.
Update player position using distance from finish line.
Minor Bug: At the start of a race for a split second the leading players will be last.
Proposed Fix: Start on lap 0 and Force a lap count update when crossing the finish line
2019-06-14 23:55:10 +01:00
TehRealSalt
6f66ef20bf Merge branch 'master' into new-items 2019-06-03 19:09:46 -04:00
James R
8ee25a7c8a Begin using the font system 2019-06-03 14:57:58 -07:00
Sryder
622c2eac07 Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart.git into waypoints
# Conflicts:
#	src/k_kart.c
2019-06-02 18:15:30 +01:00
Sryder
96f92f8183 Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart.git into rings_slopechange
# Conflicts:
#	src/k_kart.c
2019-05-31 22:29:32 +01:00
TehRealSalt
24feb81671 Improve shadow code yet again by testing highest value of slopes
This makes it follow the sprites a bit better on slopes. Also split into a sub-function so that Banana doesn't need the duplicated code anymore.

The accuracy can be further improved on by doing the calculation 3 extra times for every surface, for each corner of the hitbox -- it wouldn't be THAT much more expensive, but it would only make subtle differences on sector boundaries that we usually zoom past anyway, so I figured it wasn't worth it. (It'll be easy enough to do so if we decide that we want the uber-accuracy)
2019-05-31 01:08:04 -04:00
TehRealSalt
9a24f65cb8 Merge branch 'master' into model-gradients 2019-05-30 02:00:06 -04:00
TehRealSalt
d7374d33d6 missed a parathesis 2019-05-29 22:53:31 -04:00
TehRealSalt
4e24831e33 Reduce kartspeed increase to draftpower 2019-05-29 22:38:08 -04:00
TehRealSalt
31534fe96b Merge branch 'master' into versus-record 2019-05-29 22:23:17 -04:00
TehRealSalt
189c2d06fd Merge branch 'rings' into new-items 2019-05-29 22:17:51 -04:00
TehRealSalt
e8edfb03fb Merge branch 'master' into rings 2019-05-29 22:15:05 -04:00
TehRealSalt
f0ff7e7b05 Merge branch 'master' into model-gradients 2019-05-29 22:10:45 -04:00
TehRealSalt
0bfe8249d4 Fix Garden having a few steel blues from improper conversion
This has been bothering me for a while
2019-05-29 21:53:21 -04:00
TehRealSalt
792b41c406 Merge branch 'v1' into master 2019-05-29 21:50:14 -04:00
TehRealSalt
c6a0a41d1a Model tilts
- Add modeltilt variable, for more manual control of the model tilting. By default this just copies standingslope, but doesn't get cleared in the air.
- Shadows & trailing bananas now tilt to match the ground they are on.
- Rocket Sneakers & afterimages now tilt to match the player's current orientation.
2019-05-28 17:21:22 -04:00
TehRealSalt
cedbed20b3 Draft speed increases with kartspeed 2019-05-28 12:48:54 -04:00
wolfs
6b568e4f43 Merge branch 'v1-lua-stuff' into 'v1'
V1 lua stuff

See merge request KartKrew/Kart!155
2019-05-28 07:59:45 -04:00
wolfy852
1a038ad463 Don't guard the return 2019-05-28 06:56:35 -05:00
TehRealSalt
c90bdc1c37 Longer flash period, but quicker deflate 2019-05-26 21:54:35 -04:00
TehRealSalt
068db36368 Bubble blowup has a brief mercy period before it shoots 2019-05-26 21:14:26 -04:00
wolfs
93a91e222d Merge branch 'spinout-angle' into 'v1'
Spinout angle change when boosting

See merge request KartKrew/Kart!153
2019-05-26 20:10:56 -04:00
Latapostrophe
1bcebaadfd Lua fixes + new drawOnMinimap function 2019-05-26 15:05:10 +02:00
Latapostrophe
142c6aacac Merge branch 'lua-battlefullscreen-expose' into v1-lua-stuff 2019-05-26 11:18:00 +02:00
TehRealSalt
dca1a05a7f Gradient skincolors for MD2 blend textures 2019-05-26 03:41:18 -04:00
Latapostrophe
d97a0ce2b4 Move the friction change out of the offroad check 2019-05-25 14:13:35 +02:00
Latapostrophe
8628a543a5 give friction to brakes 2019-05-25 13:51:19 +02:00
Sryder
43936013f7 Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart.git into waypoints
# Conflicts:
#	src/d_netcmd.h
#	src/k_kart.c
#	src/p_setup.c
2019-05-25 12:09:47 +01:00
Latapostrophe
ccd0ec96a4 let angle be changed while spun out and boosting 2019-05-25 13:08:38 +02:00
TehRealSalt
bb794ffac9 SHOOT bubbles forward 2019-05-22 19:26:43 -04:00
TehRealSalt
f615ff3b6b Ignore bumping ring effects for shielded players 2019-05-22 13:54:32 -04:00
TehRealSalt
a2f61c8f2b Reel force SPB distance back in a bit 2019-05-21 18:15:08 -04:00
TehRealSalt
75d7bf675e Update item table 2019-05-21 18:13:46 -04:00
TehRealSalt
26065e9983 Bubble Shield updatin's
- Bigger hitbox
- Waves start smaller, grow up the old size near the end of the inflation
- Waves follow the shield slightly better
- Bubble Shield gives more base weight (this may not actually impact anything)
- Reduced slowdown from bubble trap
- Recoded bubble reflecting to ignore player held shield items
- Added more sound effects
- Increased Bubble max size
2019-05-21 18:02:21 -04:00
TehRealSalt
02bd05ff2b Bubble Shield waves 2019-05-21 15:46:42 -04:00
TehRealSalt
f26deae97c Update item table to make Shields more common 2019-05-21 01:20:08 -04:00
TehRealSalt
8abfee5dd0 Increase SPB force distance 2019-05-21 01:18:08 -04:00
TehRealSalt
1fc9009bd3 Put these special cases behind RaceGametype 2019-05-21 01:10:54 -04:00
TehRealSalt
99ed66ac46 Bubble Shield, Flame Shield changes 2019-05-21 01:01:29 -04:00
TehRealSalt
52bd194c69 Flame Shield updatin's 2019-05-20 15:39:33 -04:00
TehRealSalt
1e7b79144d Nice things
- Fix off-by-one error in shieldout code
- Added KartItemCVars array for anything to use
- More I_Asserts in item logic
2019-05-20 14:17:16 -04:00
TehRealSalt
480d56838f Add cvars to prevent issues 2019-05-20 00:50:44 -04:00
Sryder
7756620028 Merge branch 'rings' of git@git.magicalgirl.moe:KartKrew/Kart.git into rings_slopechange
# Conflicts:
#	src/k_kart.c
2019-05-17 22:39:01 +01:00
wolfy852
519a289373 Fix the permanent instashield bug 2019-05-17 08:06:18 -05:00
TehRealSalt
4e5fdc1fa2 Merge branch 'rings' into new-items 2019-05-14 23:12:49 -04:00
TehRealSalt
1e2c7e3461 Update combi-band colors 2019-05-14 23:00:15 -04:00
TehRealSalt
bb6fe9fc54 Merge branch 'master' into rings 2019-05-14 22:26:22 -04:00
TehRealSalt
407344299c Rename colors
My attempt at compromise didn't work, so I'll just have it my way
2019-05-14 21:00:40 -04:00
TehRealSalt
ddaf5658d5 Finish skincolors
The only thing remaining is super colors, but I'm not too fussed about that for a merge request because
2019-05-13 23:21:07 -04:00