Commit graph

5721 commits

Author SHA1 Message Date
toaster
0e3b95873f Missed a spot. Turns out this probably needed a minor refactoring, too. 2019-04-19 17:55:36 +01:00
toaster
f269097180 Don't adjust lightlevel EVERY splitsprite loop, only the ones where lightlevel is modified. 2019-04-19 17:46:42 +01:00
toaster
0b667406fb Swap FF_GLOBALANIM and FF_RANDOMANIM's values to reflect priority of behaviour. 2019-04-18 14:01:53 +01:00
toaster
e676cd89ea * Add FF_SEMIBRIGHT.
* Ranges between full brightness to half-brightness (50% of fullbright effect).
    * Has both software and GL support (I think - GL needs to be doublechecked, but I think it's just GL being murky in general).
    * Used by Rings.
* Backport FF_GLOBALANIM and FF_RANDOMANIM extensions to FF_ANIMATE from 2.2.
    * Rings use the former instead of their own hacky solution to the problem.
* Also backport FF_VERTICALFLIP, because why not.
    * Inverts sprite relative to gravity. I remember wanting this for the flipped death sprite for Jawz, but then Oni drew his own frame for that, so it doesn't matter.
* Refactor vissprite struct a tad, given I did so in internal where I pulled most of these improvements from.
    * Should be no in-game affect; let me know if you notice any regressions.
2019-04-17 18:46:35 +01:00
TehRealSalt
6733a485cf wip ring sparkles 2019-04-12 23:29:32 -04:00
TehRealSalt
b5645a81b9 Remove shitty game speed dependent sneaker boosts 2019-04-11 11:19:31 -04:00
TehRealSalt
68ac9080f3 New ring debt indicator & SPB ring lock animations 2019-04-10 23:33:01 -04:00
TehRealSalt
8e40707c9e Swap position & momentum angle cones for drafting 2019-04-09 14:39:42 -04:00
TehRealSalt
18db196e7e Make the temporary HUD a bit more obivous 2019-04-09 14:22:35 -04:00
TehRealSalt
f67e2b5ce1 Add a ring debt indicator for other players 2019-04-09 14:13:34 -04:00
TehRealSalt
25dd4b7b44 Bring back Eggman detonation 2019-04-09 13:13:53 -04:00
TehRealSalt
3b352bceea Better SPB ring locking
Now triggers when locked on instead of when out, and has a temporary HUD colorize animation when ring pickup is locked.

also:
- SPB spawns rings more frequently
- There's only a chance for Super Ring while in debt if you mashed at all
- Added Battle fallback items when alone, for the future Break the Capsules
2019-04-09 13:11:55 -04:00
TehRealSalt
583b3bb4a7 2 more tweaks
- Ring pickup is disabled while SPB is locked onto you (HUD animation to signify this is not implemented yet)
- Ring afterimages only spawn while in the air, to reduce lag
2019-04-09 12:25:11 -04:00
TehRealSalt
5228f85fee Reduce shrink timer 2019-04-09 11:18:46 -04:00
TehRealSalt
7c85b6f75f Ring boosts no longer work in offroad 2019-04-08 18:51:08 -04:00
TehRealSalt
2d92fcee46 Better speedometer
Better graphics, appears in Battle, and has a new percentage mode ala Sonic Drift 2
2019-04-08 16:39:06 -04:00
TehRealSalt
ed0267d7d8 Various more tweaks
- Ring attraction is now much more preformant. Instead of each ring checking for all players for a shield & then doing a distance check, players with an attraction shield already will do a blockmap check around them for rings.
- Draft leeway period is longer, from 10 tics to 1 second
- During the draft leeway period, your draft sparkles will still be attached to the last player you drafted, but transparent
- Scale drafting speed requirements, distances, and visuals with player scale instead of map scale. While shrunk, this will make it so you need to be closer to draft, but don't need to be moving as fast.
2019-04-08 14:30:27 -04:00
TehRealSalt
94fbb2c783 Merge master 2019-04-07 14:54:10 -04:00
TehRealSalt
3dd89eb7c8 Extra touches
- Re-enable ring respawn
- Make Attraction Shield chasing rings faster
- Combi-band is invisible to non-affected players
- Used rings animate faster
- Sync ring animation to a global timer
2019-04-07 14:49:51 -04:00
TehRealSalt
23948c14ec Use more ring frames on the spawned in ones 2019-04-02 17:20:58 -04:00
Alam Arias
edd8598628 Merge remote-tracking branch 'upstream/master' 2019-03-19 01:05:54 -04:00
Alam Ed Arias
727d9cae23 CMake: check if CMAKE_SIZEOF_VOID_P is defined on Mac? 2019-03-19 00:04:14 -04:00
Alam Ed Arias
4cb71746a7 Revert "Update CMakeLists.txt, remove CMAKE_SIZEOF_VOID_P check"
This reverts commit 7d14342a8f.
2019-03-18 23:58:31 -04:00
Alam Ed Arias
7d14342a8f Update CMakeLists.txt, remove CMAKE_SIZEOF_VOID_P check 2019-03-18 16:50:17 -04:00
fickleheart
5c6f142da1 LAT 2019-03-17 21:44:11 -05:00
Sryder
03f762bd56 Merge branch 'next' of git@git.magicalgirl.moe:KartKrew/Kart-Public.git 2019-03-17 22:59:08 +00:00
fickleheart
1a27ad4105 Merge branch 'version-prep' 2019-03-17 17:55:38 -05:00
Sryder
8d1372bec8 Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart-Public.git into next 2019-03-17 22:54:28 +00:00
fickleheart
bd5c8f0ce5 Merge remote-tracking branch 'remotes/james/move-changeviewpoint' into version-prep 2019-03-17 16:37:01 -05:00
fickleheart
6555802dc0 Merge remote-tracking branch 'remotes/james/unpause-resume-sounds' into version-prep 2019-03-17 16:36:52 -05:00
James R
81669c9372 Resume sounds on unpausing after a window re-focus 2019-03-16 15:50:16 -07:00
James R
52deb3ea74 Move change viewpoint control checking so it doesn't take precedence
Notably over chat.
2019-03-16 15:42:18 -07:00
fickleheart
344b43d151 Merge branch 'netarchive-fix' into version-prep 2019-03-16 15:00:02 -05:00
fickleheart
8670de1398 Merge branch 'colormap-caching-workaround' into version-prep 2019-03-16 14:59:55 -05:00
fickleheart
93bd5b61c9 Fix bad merge in map data archiving code 2019-03-16 14:56:56 -05:00
fickleheart
e590659603 Don't free this cached colormap! 2019-03-16 12:22:11 -05:00
fickleheart
0f658555c4 Merge branch 'lua-ticcmd-latency' into version-prep 2019-03-16 02:41:19 -05:00
fickleheart
2f2f136da4 Merge branch 'colormap-caching-workaround' into version-prep 2019-03-16 02:41:14 -05:00
fickleheart
272640f49a Allow reading ticcmd latency 2019-03-16 02:19:43 -05:00
fickleheart
1b02ac10e2 Remove dumb special case 2019-03-16 01:29:13 -05:00
fickleheart
932f73a171 Cache colormaps everywhere to avoid memory leaks 2019-03-16 00:39:52 -05:00
fickleheart
95179ed1f3 Update patch.kart hash again 2019-03-16 00:35:13 -05:00
fickleheart
22b02ed7b3 Merge branch 'kartstuff-fix' into version-prep 2019-03-16 00:02:40 -05:00
TehRealSalt
b0ae2f1cfa Finishing touches 2019-03-15 00:29:12 -04:00
TehRealSalt
e3434cf724 Merge branch 'doubled-boost' into draft 2019-03-14 19:45:33 -04:00
TehRealSalt
f2bbcbefa2 Drafting 2019-03-14 19:43:58 -04:00
TehRealSalt
45fb64c578 Fix item menu using wrong cvars 2019-03-14 17:35:13 -04:00
Sal
0942793cf5 Merge branch 'kartstuff-fix' into 'master'
Add missing deh entry for k_starpostflip

See merge request KartKrew/Kart!127
2019-03-14 17:32:22 -04:00
fickleheart
6456754c1b Oh, this was already here... 2019-03-12 08:39:25 -05:00
fickleheart
b76201a0df Add missing deh entry for k_starpostflip 2019-03-12 07:34:47 -05:00