Commit graph

496 commits

Author SHA1 Message Date
toaster
db95e3144d Re-add mid-game rankings
- gc_rankings, bound to TAB by default
- Now a toggle, rather than a hold behaviour
- Rearrange HU_Drawer to have chat (and cecho/music credits) render over everything else (like, say, tab rankings)
- Update PROFILEVER to 2 so we can add the new control to old profiles
2022-11-25 17:59:18 +00:00
toaster
bd87ce70d6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into filestuff-16 2022-11-12 17:55:10 +00:00
James R
c216cc6988 Fix buffer overflow when pasting into chat 2022-11-07 20:30:14 -08:00
toaster
893cc0fd9b Remove debug print 2022-11-05 12:44:51 +00:00
toaster
c4fd7d74dd P_AddWadFile partial stages port from SRB2Kart 1.6
Originally written by x.organic, flattened rewrite due to massive changes between RR and SRB2Kart codebase
Notable changes:
- p_adding_file has been reworked into partadd_earliestfile to allow for final setup to use
- much like the public version required removing TEXTURE SOCs, this one required removing Flats support from ANIMDEFS
2022-11-04 16:15:53 +00:00
toaster
243f38227c Rework time limit a bit
- Make timelimitintics handled a bit more like gamespeed, encore, frantic, etc - update on mapload/starttime, not during gameplay
    - Use default setting if can't change rules - this is a surprise tool that will help us later
- Have it properly update when adjusting gametype from the menu
    - Cleaned up SV_StartSinglePlayerServer to do this
- Remove CV_SAVE to prevent time limit bruh moments
2022-10-11 23:00:44 +01:00
James R
7ab84ebd2f Merge remote-tracking branch 'origin/chat-flood-fix' 2022-09-28 19:06:38 -07:00
toaster
ff629a4c78 Merge branch 'kill-nonet' into 'master'
Kill last of NONET, DJGPP (DOS), WATTCP (also DOS?), _WINDOWS (DirectDraw)

See merge request KartKrew/Kart!704
2022-09-26 17:02:55 +00:00
toaster
37214c32dd Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into chat-flood-fix
# Conflicts:
#	src/hu_stuff.c
2022-09-26 12:56:50 +01:00
James R
f6a5ed9c6c Remove NONET 2022-09-24 19:22:04 -07:00
toaster
abb567ab81 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers 2022-09-21 23:06:24 +01:00
AJ Martinez
51d46a2a8a Remove debug print 2022-09-20 21:32:45 -07:00
AJ Martinez
8525dfb502 Allow netgame clients to display and be affected by mindelay 2022-09-20 21:21:51 -07:00
AJ Martinez
87b92a7127 Bump ping tiers by 1 tic 2022-09-20 20:05:00 -07:00
AJ Martinez
e242207d10 Mindelay: Oni suggestions rollup 2022-09-20 19:01:54 -07:00
toaster
1a284ec7c6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers
# Conflicts:
#	src/d_netcmd.c
2022-09-17 13:57:26 +01:00
toaster
46441092dc Address initial review comments + associated cleanup
- Grab thumbnail and minimap pictures even for base game maps
- Repair modified game event for replacement map load
- PU_STATIC thumbnail and minimap, freed on new file load lump discovery
- Fix W_CheckNumForMap to not SIGSEGV if no match
- Reduce the number of pointless map lump hunts, we've already got it stored
- Prevent use-after-free for map pictures on voting screen
- Cache "BLANKLVL" patch once
- Draw minimap on the time attack menu

Unfortunately cups are still broken and I'm not sure where to start on that, or if it's just not having a sample wad to test with that includes cups
2022-09-16 15:01:49 +01:00
VelocitOni
8a5707ad83 Merge branch 'master' into hostcode 2022-09-13 17:08:15 -04:00
Sal
94d7c497b0 Merge branch 'hooklib-port' into 'master'
Hooklib refactor ported and (mostly) squashed

See merge request KartKrew/Kart!662
2022-09-11 06:30:07 +00:00
James R
37c3a55dda Fix conflicts 522467a88 2022-09-05 11:56:30 -07:00
toaster
e9d7c2eee3 Fix regressions in merge process
- Re-replace `hu_font` with `fontv[HU_FONT].font`
- Re-init hu_keystrokes
2022-09-05 16:38:23 +01:00
LJ Sonic
d5367d2e65 Fix message sending code using hardcoded buffer size 2022-09-05 16:38:23 +01:00
LJ Sonic
9f37c240a4 Fix long chat messages causing net command failures 2022-09-05 16:38:22 +01:00
LJ Sonic
32e7442d00 Revert "Fix long chat messages causing net command failures"
This reverts commit 13778247990d60c2ad8aa5729bc0397ab764eaaa.
2022-09-05 16:38:22 +01:00
LJ Sonic
75e4f07e12 Fix say command and its variants using hardcoded buffer size 2022-09-05 16:38:22 +01:00
LJ Sonic
d3d2205932 Fix long chat messages causing net command failures 2022-09-05 16:38:21 +01:00
LJ Sonic
47c7351928 Support delete key in chatbox 2022-09-05 16:38:21 +01:00
LJ Sonic
94f691f216 Fix long chat messages crashing the game 2022-09-05 16:38:20 +01:00
LJ Sonic
bc62dc8214 Fix single-letter messages not being sent 2022-09-05 16:38:20 +01:00
LJ Sonic
cf6dfecc6a Cleanup chat event handling
# Conflicts:
#	src/hu_stuff.c
2022-09-05 16:38:20 +01:00
LJ Sonic
5d406375a8 Cleanup and fix chat deleting and pasting
# Conflicts:
#	src/hu_stuff.c
#	src/hu_stuff.h
2022-09-05 16:38:19 +01:00
LJ Sonic
4c59bb3b2b Turn HU_queueChatChar into HU_sendChatMessage
# Conflicts:
#	src/hu_stuff.c
2022-09-05 16:38:19 +01:00
LJ Sonic
4fc770aa7b Group related chat stuff together
# Conflicts:
#	src/hu_stuff.c
2022-09-05 16:38:19 +01:00
LJ Sonic
2ccb222914 Cleanup chat code a little
# Conflicts:
#	src/hu_stuff.c
2022-09-05 16:38:19 +01:00
LJ Sonic
58a40b7439 Cleanup chatbox sanitizing code 2022-09-05 16:38:18 +01:00
LJ Sonic
cdb809a434 Cleanup chatbox reset code
# Conflicts:
#	src/hu_stuff.c
2022-09-05 16:38:18 +01:00
LJ Sonic
0e3a3b2fac Cleanup blank chatbox checking code 2022-09-05 16:38:18 +01:00
Sally Coolatta
107622968e Merge branch 'master' into new-menus 2022-08-27 22:36:58 -04:00
James R
a477182ea7 Draw PINGD before delay number 2022-08-24 21:43:21 +01:00
James R
795aa4b73f Ping counter: change patch name PINGF to PINGD
# Conflicts:
#	src/config.h.in
#	src/hu_stuff.c
2022-08-24 21:43:04 +01:00
Sally Coolatta
2fdd8c1e13 Implement shout commands
- shout command to create a server message, with its own special sound cue & color
- shoutname to control the nametag, by default this is "SERVER"
- shoutcolor controls the color of the message. By default it's red, but there's also a option for player colored.
- autoshout makes any message sent by a admin/server automatically turn into a shout
- Unlike HOSTMOD shout, integrated it with the dedicated server say behavior -- using say on dedicated server is always a shout.
2022-08-24 21:02:39 +01:00
Sally Coolatta
70c48fc0e9 Ping measured in frame delay instead of milliseconds
The part of HOSTMOD ministats that I wanted. Can go back to ms using the pingmeasurement cvar.

If Tyron wants to bring ministats fully in I think it'd be better to bring its ideas to replace the current HUD instead, ideally using the existing ping gfx, so they should bring it up with Oni
2022-08-24 21:02:37 +01:00
Sally Coolatta
ebb34ff9d4 Lap based power level 2022-08-14 06:00:37 -04:00
SinnamonLat
d5e9283c2e Allow selecting profile with no changes to speed up charsel process 2022-07-20 19:35:51 +02:00
SinnamonLat
9b2fe3182d Can open chat again. Also fix missing braces in menudef... 2022-05-24 01:07:15 +02:00
toaster
54b9f3b7cc Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into new-menus
# Conflicts:
#	src/Sourcefile
#	src/f_finale.c
#	src/m_menu.c
#	src/y_inter.c
2022-05-22 17:22:49 +01:00
toaster
48d451cfef Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into new-menus
# Conflicts:
#	src/d_ticcmd.h
#	src/deh_soc.c
#	src/deh_soc.h
#	src/deh_tables.c
#	src/dehacked.c
#	src/f_finale.c
#	src/g_game.c
#	src/m_menu.c
2022-05-21 18:57:46 +01:00
toaster
38e6cba181 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into uncapped-absolution
# Conflicts:
#	src/f_finale.c
#	src/sdl/i_video.c
#	src/st_stuff.c
2022-05-21 13:40:20 +01:00
toaster
80c14cd6ac use missingnum instead of re-calling W_GetNumForName 2022-05-14 19:18:57 +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