Commit graph

19657 commits

Author SHA1 Message Date
James R
a003475076 Use mapobjectscale in K_FakeBotResults
Fixes a crash if bot scale is way too small and should be
more consistent?
2022-08-31 16:37:52 -07:00
toaster
0424f0f07c Apply last-used title profile selection when game skips over menus (-warp, -server) 2022-08-31 23:06:14 +01:00
toaster
b0c9fccd2d Rework profile deletion
- O(n) instead of O(4n)
- Actually free the sacrificed profile's memory
- Don't hop to profile 1 after deleting a later profile, to reduce the % of footguns/losing your place in the list.
2022-08-31 22:52:06 +01:00
Oni
9609911e33 Merge branch 'tripwire-blaster' into 'master'
Tripwire Blaster

See merge request KartKrew/Kart!656
2022-08-31 03:50:02 +00:00
VelocitOni
befda8b38e Made states in deh_tables.c match info.h
Copy-pasted from info.h to deh_tables.c, fixes Opulence barrels problem.
2022-08-30 23:41:13 -04:00
toaster
2c91f83a02 Store tripwire pass level on the player
Fixes tripwire leniency fadeout - previously broken two commits ago
2022-08-30 21:22:26 +01:00
toaster
6b8d729b2c Blaster polish
* Use leveltime instead of leniency for flicker, which makes it work as intended
* Make the threshold for tripwire BLASTER 200% (from 180%)
* Always colorize boost/BLASTER when you have a Flame Shield
* Hide boost/BLASTER if you're using flamedash specifically
2022-08-30 19:29:12 +01:00
toaster
97fab1ab20 Levels of tripwire pass conditions.
- Invinc and sneaker can go up to BLASTER.
- Flame shield and momentum make only the boost by themselves.
- Hyuu and grow ignore tripwire so don't make ANY aura without any of the prior also occouring.
2022-08-30 18:16:51 +01:00
Sally Coolatta
c77f9fa558 Add a billion debug prints 2022-08-30 06:26:35 -04:00
Sally Coolatta
1af1b9bd1c Fix wrong function name 2022-08-30 05:33:04 -04:00
Sally Coolatta
f1717a37ef Fix missing zero 2022-08-30 05:30:50 -04:00
Sally Coolatta
8b93c05175 Fix party HUD after selecting profile char 2022-08-30 05:30:13 -04:00
Sally Coolatta
7c20b66782 Fix hold controls prompt 2022-08-30 05:25:59 -04:00
Sally Coolatta
6eb5b2dee9 Make back button properly confirm settings 2022-08-30 05:23:54 -04:00
Sally Coolatta
0fe3e6ceeb Don't allow 2 players to select the same profile
(Excluding the Guest profile, of course.)
2022-08-30 04:42:01 -04:00
Sally Coolatta
abac095d06 Properly use 0 power for the guest player 2022-08-30 04:07:42 -04:00
Sally Coolatta
8228377a0e Save ringprofiles as a "prf" file
It shouldn't be cfg since it's raw data, not a text format.
2022-08-30 03:52:41 -04:00
Sally Coolatta
d5a4954dd3 Profiles handle power level properly now
Overwriting the global power level all the time and not updating any code to use the profile was extremely yikes. This also allows for splitscreen players with power levels.
2022-08-30 03:51:35 -04:00
James R
31835b380b Set tripwire blaster destscale instead of player's 2022-08-30 00:12:08 -07:00
SteelT
ebcb76645b Adjust default camera dist and height
cam_dist is now 190
cam_height is now 75
2022-08-29 20:16:46 -04:00
toaster
bdd786d8ab BLASTER finalisation
- BLASTER >= 180% speed, smaller boost otherwise
- Flickers under 150%
- Invinc-coloured when invincibility
- Ketchup coloured when boosting, invisible otherwise
2022-08-29 18:35:38 +01:00
Sally Coolatta
b9e3bdff94 Better tripwire leniency vfx 2022-08-29 16:26:58 +01:00
Sally Coolatta
d22c7edd30 Show current party on the menus 2022-08-29 06:27:45 -04:00
Sally Coolatta
02a4b18512 Make splitdevice console cvar
This shit has only gotten in my way, and it will absolutely destroy someone just trying to set up the game casually
2022-08-29 04:43:54 -04:00
Sally Coolatta
e8b179f7a1 Switch around maxplayers and ingamecap
- ingamecap is now the new maxplayers
- The old maxplayers is now called maxconnections, but can mostly be left alone
- Insert into match race menu
2022-08-29 04:35:14 -04:00
Sally Coolatta
b388890647 Profile fixes
- Less M_StartMessage spam
- Say "NEW" instead of "EMPTY" for new profile creation
- Use Eggman instead of Sonic for the Guest profile
- Instead of needing to hold X for 3 seconds to exit the test controls menu, you simply press nothing for 5 seconds.
- Add separate back option to controls menu.
- Started on the ability to use prefcolor as your profile color
- Allow guest online because there is literally already mechanics for having a player with no power level :V
2022-08-29 04:08:12 -04:00
Sally Coolatta
2b3d8dccf9 Guest profile always does changes 2022-08-29 02:35:05 -04:00
Sally Coolatta
8ae4bba36d Fix ready explosion sound not playing 2022-08-29 02:16:09 -04:00
Sally Coolatta
7924805d2b Use rotate sounds 2022-08-29 02:05:48 -04:00
Sally Coolatta
4f9fc51b80 Use circle code for followers
Better than list with only 3 entries, will get further improved by categories later
2022-08-29 02:01:37 -04:00
Sally Coolatta
c4ff86a7f3 Scrolling text fixes
- Interpolates properly
- Uses additive and subtractive because it exists now
2022-08-29 01:08:33 -04:00
Sally Coolatta
70c8a33cb2 Merge branch 'master' into new-menus 2022-08-28 23:33:32 -04:00
toaster
7edec43d72 Port Gametype Preference and associated changes
Notably, makes the PWR-based Encore scrambling component of G_SometimesGetDifferentGametype WAY less spaghettified.
2022-08-28 23:36:55 +01:00
toaster
1a53836d6a Compilation warning in D_PickVote 2022-08-28 18:34:33 +01:00
toaster
ac1fb8301d Chose the wrong version of makefile in merge conflict resolution
Partial revert of faulty commit 3f53d768d1
2022-08-28 17:48:33 +01:00
toaster
5abd6b6b44 Rework how the intro behaves in interpolated time
The old way was a mishmash... now the one scene transition is handled in F_IntroTicker alongside all other timed events.

Done in this branch because it uses the v1 version of interpolation as a primary reference.
2022-08-28 17:43:14 +01:00
toaster
1a814885da Interpolate the Phantom Ruby floating animation.
A recommit and not a cherry-pick because the other current uses won't be relevant in new-menus.
2022-08-28 17:27:37 +01:00
JugadorXEI
f17f6b7525 banishing hell map forcing
# Conflicts:
#	src/d_netcmd.c
#	src/y_inter.c
2022-08-28 17:11:19 +01:00
toaster
8931522627 If the client has caught up to the server -- say, during a wipe -- make GetLag return a ping of zero
Should fix the momentarily large ping bug.
2022-08-28 16:59:52 +01:00
James R
c9035c3f91 Send ASKINFO packet after hole punching
Time spent in I_NetRequestHolePunch no longer counts
toward ping measurement in the server list.

# Conflicts:
#	src/d_clisrv.c
2022-08-28 16:59:23 +01:00
James R
295880351a Do not query DNS for holepunchserver more than once per tic 2022-08-28 16:57:36 +01:00
toaster
0c1e311331 Fail loudly when config isn't writable
Forwardport of Kart/Kart-Public/!279 because it had JUST enough inexplicable conflicts to discourage cherry-picking
2022-08-28 16:57:06 +01:00
Ashnal
243bc67e5b Increase Mobj Freeslot limit to 1024 from 512 2022-08-28 16:47:55 +01:00
Ashnal
3887a47dc3 Upgrades P_PatchInfoTables to use 4 digit tempnames, suppoing up to 9999 freeslots 2022-08-28 16:47:31 +01:00
Ashnal
45a357bea0 Small logging improvements for addon loading
Adds back the "Loading file" message when a file is loaded
Adds individual file errors for things loaded with W_InitMultipleFiles (-file param)
Errors for a given file will now appear between "Loading file" and
the "Added file" or "not adding file" messages, making troubleshooting easier

# Conflicts:
#	src/w_wad.c
2022-08-28 16:46:56 +01:00
Ashnal
5227d3f8c4 Switched checking files mode to use a progress bar
Changed the confirmation prompt use MB if >=10MB
Changed the ovearall progress bar to use MB if >=10MB
2022-08-28 16:43:05 +01:00
Ashnal
47ce32cfc9 Properly detach rocket sneakers when the player dies
This includes both death pits and spectating
2022-08-28 16:42:06 +01:00
Ashnal
a58ae6c472 Discord joins now force menu close and title demo stop
This prevents wierdness from ahving the menu open on teh connection screen
It also prevents the connect command from erroring due to being in a demo
2022-08-28 16:41:26 +01:00
JugadorXEI
904f1703c5 Fix duplicated matchgenericflags (was causing crash)
# Conflicts:
#	src/p_mobj.c
2022-08-28 16:40:50 +01:00
JugadorXEI
aa505823f5 Simply return address, don't allow self_ip to be possibly written as something else 2022-08-28 16:36:23 +01:00