Commit graph

1366 commits

Author SHA1 Message Date
TehRealSalt
b8a752e40a Merge master 2019-09-18 21:47:11 -04:00
TehRealSalt
b174f15260 Waiting for the roulette gives you Orbinaut x3 instead of just one
Should reduce the amount of waiting, and make banana vs orbis more of a decision
2019-09-15 23:40:50 -04:00
TehRealSalt
1ef09699d1 Functional gameplay
- Capsules get spawned in the proper scenarios
- Level ends when all capsules are busted
- Time gets used on the leaderboard instead of score

Also split a handful of Battle code into k_battle.c. Lots of other code could probably get moved here later
2019-09-15 20:19:48 -04:00
TehRealSalt
16bd11f53f Wrong var name 2019-09-15 00:32:58 -04:00
TehRealSalt
004bae45c5 Buff drift-steering during the grease period 2019-09-15 00:27:28 -04:00
TehRealSalt
5fd6d86b41 Merge branch 'rings_slopechange' into greased-horizontals 2019-09-12 02:01:52 -04:00
TehRealSalt
d3f1b4f82c Greased horizontals 2019-09-12 02:01:30 -04:00
TehRealSalt
e0a177e612 Horizontal springs, bigger hitboxes, springs use the meatier Sonic 3 sound effect 2019-09-11 23:33:33 -04:00
Latapostrophe
0505a6f0cc fix rewind, fix sound local sound playing in freecam 2019-09-09 22:15:50 +02:00
Latapostrophe
1d66d8e213 replay freecam + enhancements 2019-09-05 23:24:23 +02:00
James R
094c926fd0 Apply hud translucency to FREE PLAY 2019-08-11 13:09:03 -07:00
Sryder
19a2962413 Just remembered there's supposed to be a flag to determine if a waypoint can be spawned at 2019-06-30 22:14:20 +01:00
Sryder
20f8037351 Respawn at waypoints once first crossing the finish line. 2019-06-29 11:05:35 +01:00
Sryder
6eca35aae1 SPB Now follows the track.
You better watch out, You better watch out, You better watch out!
2019-06-28 22:43:34 +01:00
Sryder
10adecb4a6 Improvements to player finish distances
Figure out the circuit length on map load
player->distancetofinish is now a total distance on circuit maps
some hacky alterations around circuit finish lines to correctly calculate distancetofinish
2019-06-28 21:11:26 +01:00
Sryder
991cef9163 Get distance to first by using the distanceofinish variable for roulette 2019-06-16 22:15:36 +01:00
Sryder
6bcc283d3b Reimplement system for specials that activate when crossing a linedef from DOOM
Used for the finish line, crossing it the correct way increments the lap count, the wrong way decrements it
Remove usability of the sector special for the finish line
Undo another check of numstarposts to force all of them to need passing to complete the stage
player laps start from 0 now, it goes to lap 1 when you initially cross the start line.
2019-06-16 22:03:57 +01:00
Sryder
49a8b0ac38 Add player's nextwaypoint to the player struct
Network synchronised(?) nextwaypoint in player struct
Make the waypointheap actually a heap and not allocate memory for every individual waypoint.
No need to store id in the waypoint struct, since it can be gotten from the waypointheap now.
2019-06-16 17:58:28 +01:00
Sryder
530214aa87 Remove now unused waypoint player variables. 2019-06-15 17:04:16 +01:00
Sryder
d8f81ab4b9 Add function header comments to my new functions. 2019-06-15 15:47:23 +01:00
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
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