Commit graph

19529 commits

Author SHA1 Message Date
Sally Coolatta
6e8e0ad0f5 Lightning Shield fixs
- Rename to Lightning Shield (it keeps fucking me up when I want to kartgiveitem it to myself)
- Fix inflictors causing damage being considered damage hitlag. Fixes the player using Lightning Shield being in damage hitlag state (most notable in the DI branch because hurting someone with it lets you DI afterwards, which also fucks with your turning)
- Rewrote attack function to use custom blockmap search instead of P_NukeEnemies.
- It can no longer attack below you, only above & around you.
- Increased the attack radius, so that it actually lines up with the sprites...
- Fixed extremely inconsistent ring blockmap search by moving it to playerafterthink (don't ask me why)
- Rings get joulsted by Lightning Shield when you pass by them without
- Added MAXRADIUS to the blockmap checks for lightning shield & mines, to reduce blockmap inconsistencies
2022-05-20 18:12:34 -04:00
SinnamonLat
479d1b1ffc Fix character switching mid game 2022-05-20 22:34:04 +02:00
SinnamonLat
30aec86479 Allow P1 to add splitscreen players on command, allow console in menus 2022-05-20 21:36:43 +02:00
SinnamonLat
95e4bc21ff Allow P1 to retain controller usage when playing alone even if they started charsel with keyboard 2022-05-20 20:07:25 +02:00
SinnamonLat
f4b6c55148 Fix crash trying to draw skins that aren't there on profile charsel 2022-05-20 17:18:31 +02:00
SinnamonLat
3f201c4609 Don't allow creating new profiles mid-game 2022-05-20 17:10:19 +02:00
SinnamonLat
60449b8a26 Fix crash when editing profile character with existing follower 2022-05-20 16:47:03 +02:00
SinnamonLat
54b7e8e78e Disable p1 exclusive keyboard fallback when there are other local players 2022-05-20 14:39:26 +02:00
Sally Coolatta
56c23339be Directional Influence
Pretty much just copy+pasted from Snap the Sentinel!!
- Hold left/right to adjust the momentum angle after hitlag, up to 22.5 degrees. (Only angle can be adjusted, so you can't adjust your speed, only your direction.)
- It's relative to your angle, so sometimes you need to use forward/back, or even diagonals (forward/back throws now store full analog data for this to work)
- Bananas flip DI direction, to make them not baby easy mode
- Tumble has x3 DI (so angle adjustments of 67.5!!), and hitlag on each bounce to allow even more control.
2022-05-20 01:45:16 -04:00
Eidolon
8dc3890e11 Make character cursor framerate-independent 2022-05-19 21:10:35 -05:00
SinnamonLat
926b210108 Cleanup some leftovers 2022-05-20 01:30:16 +02:00
SinnamonLat
26199dc284 Add enter and esc for menu navigation on default profile 2022-05-20 01:28:09 +02:00
SinnamonLat
65fcfbbb2e For now, remove visual device warnings on control menu 2022-05-20 01:20:38 +02:00
SinnamonLat
d0db7e4381 rethink input mapping menu (again (again)) 2022-05-20 01:15:29 +02:00
Sally Coolatta
5ae8664b70 Try putting lagless camera stuff back 2022-05-19 16:51:26 -04:00
Sally Coolatta
76b4804e44 Use double instead of precise_t for FPS counter
Makes the displayed FPS more accurate to what it's actually displaying.

Also removed HUDTRANS from it -- stop it fading out during level transitions, it's annoying when I actually want to see the FPS during those bits.
2022-05-19 16:44:26 -04:00
Sally Coolatta
852e9b8ce9 Rebrand all console / window stuff 2022-05-19 15:10:47 -04:00
Sally Coolatta
4a9cf76f37 Remove old kart title screen sounds 2022-05-19 14:51:13 -04:00
Sally Coolatta
a83504c1a4 WIP title screen 2022-05-19 03:19:33 -04:00
Eidolon
64d0649c90 Defensively recreate title drawlist
Avoids a crash when connecting to a server in the Intro
2022-05-18 21:06:46 -05:00
SinnamonLat
0ee02ce1e1 slight oversights 2022-05-18 14:31:05 +02:00
SinnamonLat
d5d34f9b99 profiles may now be deleted from data options 2022-05-18 14:20:19 +02:00
Eidolon
2c36a8cefe Don't interpolate during net lag 2022-05-17 20:04:26 -05:00
SinnamonLat
51d21ec388 Select profile after title screen 2022-05-18 02:24:29 +02:00
toaster
ee21b2493a Merge branch 'powerup-clash' into 'master'
Add FX for powerup clash collision (implements #250)

Closes #250

See merge request KartKrew/Kart!587
2022-05-17 23:31:11 +00:00
toaster
a9f6897618 Merge branch 'fast-addfile' into 'master'
Improve addfile performance

See merge request KartKrew/Kart!500
2022-05-17 23:30:28 +00:00
toaster
0f0786617f Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into new-menus
# Conflicts:
#	src/m_menu.c
2022-05-17 22:04:42 +01:00
toaster
a044ea76f7 I made skin loading 2/15ths faster on my machine by inverting this jump conditional 2022-05-16 21:47:20 +01:00
toaster
80c14cd6ac use missingnum instead of re-calling W_GetNumForName 2022-05-14 19:18:57 +01:00
toaster
8593074d19 ANIMDEFS now only reports the "flats are disabled" warning for ANIMDEFs in the most recently loaded file.
Notably, this means there are no warnings produced if an added file contains no errors, reducing even MORE of the friction the addons menu has been experiencing in devbuilds lately.
2022-05-14 15:43:50 +01:00
toaster
884064049e * Allocate the "MISSING" patch only once, statically, at first boot via missingpat, and prevent it from being freed.
* Rework HU_UpdatePatch to HU_UpdateOrBlankPatch with a "required" boolean.
    * If desired graphic is not present in resources:
        * If required is true, return `missingpat`.
        * If false, return NULL as before (font compatibility).
    * Add an alias with the previous function signature, so you don't need to add a million `true`s everywhere.
* Remove a ton of irrelevant graphics the game attempts to cache only because of code inherited from vanilla SRB2.
* Remove the unused hudinfo system, also inherited from vanilla SRB2.
2022-05-14 14:56:02 +01:00
toaster
ea6aaa3321 Merge branch 'master' into fast-addfile
# Conflicts:
#	src/k_hud.c
2022-05-14 13:41:59 +01:00
AJ Martinez
d837961c7b This table is not a place of honor 2022-05-13 16:07:43 -05:00
AJ Martinez
dd48ec2df5 Add FX for powerup clash collision 2022-05-12 17:54:12 -05:00
Sally Coolatta
9795f21c33 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart 2022-05-12 17:35:17 -04:00
Sally Coolatta
4e740ea683 WHY IS IT NOT ON BY DEFAULT 2022-05-12 17:35:14 -04:00
James R
11f97049b1 Merge remote-tracking branch 'origin/master' into uncapped-absolution 2022-05-11 17:09:59 -07:00
James R
7568e84f2e Merge branch 'fix-wrong-mainwads' 2022-05-11 17:09:31 -07:00
James R
900d9e0276 Merge branch 'tiny-try-move-16' into 'master'
Cap TryMove radius to 16x map scale

See merge request KartKrew/Kart!586
2022-05-12 00:05:36 +00:00
James R
d541651937 Merge branch 'brake2' into 'master'
Brake dust

See merge request KartKrew/Kart!585
2022-05-12 00:05:18 +00:00
James R
b89bf775df DEVELOP: don't let clients download mainwads 2022-05-11 17:04:18 -07:00
James R
6fe36193a2 Scale brake drift sparks up to 3x 2022-05-11 15:40:09 -07:00
James R
86cea709ef Fix brake dust double scaling 2022-05-11 15:34:22 -07:00
James R
1f73f98e7a Remove fullbright from Brake Dust 2022-05-11 13:09:18 -07:00
James R
266f1c9a65 Cap TryMove radius to 16x map scale 2022-05-11 12:45:00 -07:00
James R
730e00ab19 Brake dust
- Spawns outward from both front wheels, from outer wheel
only if brake-drifting.
- Scales with speed, up to 200%. Also applies to drift
sparks.
2022-05-11 12:34:42 -07:00
James R
364651ac39 Remove Brak Eggman 2022-05-11 12:25:58 -07:00
toaster
e28295635c Merge branch 'gcc-12-warnings' into 'master'
Fix GCC 12 warnings

See merge request KartKrew/Kart!584
2022-05-11 19:24:53 +00:00
James R
7579cf1b10 Fix misc warnings for GCC 12 2022-05-11 12:21:18 -07:00
Roberto Ierusalimschy
199c40a14d useless test removed (pointed by lint) 2022-05-11 12:17:49 -07:00