Commit graph

19192 commits

Author SHA1 Message Date
LJ Sonic
9f37c240a4 Fix long chat messages causing net command failures 2022-09-05 16:38:22 +01:00
LJ Sonic
0036559bef Add SKIPSTRINGL macro 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
8558323c44 Add READSTRINGL and WRITESTRINGL macros 2022-09-05 16:38:21 +01:00
LJ Sonic
c7e495bf8b Make byte stream manipulation code easier to read
# Conflicts:
#	src/byteptr.h
2022-09-05 16:38:21 +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
de4eed6af2 Add SKIPSTRINGN macro 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
Sal
1e9b95e546 Merge branch 'fake-bot-results-crash' into 'master'
Use mapobjectscale in K_FakeBotResults

See merge request KartKrew/Kart!658
2022-09-03 14:20:34 +00:00
Sal
1d661a6f9d Merge branch 'just-bot-things' into 'master'
More bot things

See merge request KartKrew/Kart!652
2022-09-03 14:20:12 +00:00
Oni
3f0e3709f2 Merge branch 'new-camera-defaults' into 'master'
Adjust default camera dist and height

See merge request KartKrew/Kart!657
2022-09-03 05:05:57 +00:00
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
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
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
d3a4a6ca81 Remove unused variables 2022-08-28 03:09:13 -04:00
Sally Coolatta
559222f991 Stuff for Ivo's texture crunching
- Flats no longer get applied entirely, they are FULLY DEPRECATED NOW
- Uses AASMELLY instead of REDWALL for missing textures
2022-08-28 00:03:22 -04:00
Sally Coolatta
7d67e02ea3 Bot perfstats
Show how long they take to think on all of their main tasks
2022-08-27 00:04:33 -04:00
Sal
aced12b2b2 Merge branch 'more-makefile-changes' into 'master'
Nifty makefile changes  for exe naming

See merge request KartKrew/Kart!651
2022-08-27 01:30:00 +00:00
Sally Coolatta
0fb26368cc Make drift boost bonus match drift spark rate 2022-08-26 20:55:24 -04:00
Sally Coolatta
754004e07c Fix bots acting weird near the finish line 2022-08-26 20:19:13 -04:00
Sally Coolatta
438e639d46 Merge branch 'master' into just-bot-things 2022-08-26 19:16:43 -04:00
Sally Coolatta
4c6109f62d Fix redundant check from the optimization
The drawsegs x range already filters this case out, so this will never be reached.
2022-08-26 17:08:35 -04:00
James R
ad242cf9b9 Makefile: do not append master branch name 2022-08-26 10:46:02 -07:00
Sally Coolatta
d3cbf0cd6f Oops, properly scale for high-res/splitscreen
prboom-plus uses 320 here always, but that's because it handles high resolutions differently apparently.
2022-08-25 00:31:23 -04:00
Sal
7c5d066684 Merge branch 'clip-sprites-optimize' into 'master'
Sprites clipping against drawsegs optimized, from prboom-plus

See merge request KartKrew/Kart!650
2022-08-25 03:33:58 +00:00
Sally Coolatta
66f120c1b2 Merge branch 'master' into clip-sprites-optimize 2022-08-24 22:23:13 -04:00
Sally Coolatta
8494c30e08 Drawseg clipping optimized, from prboom-plus 2022-08-24 22:03:05 -04:00
Sal
66aa976cc2 Merge branch '14-expedited' into 'master'
Expedited 1.4+ fixes

See merge request KartKrew/Kart!649
2022-08-24 23:10:47 +00:00
James R
dc221caa9f Merge branch 'model-offset-fix' into 'master'
Fix offsets for models

See merge request KartKrew/Kart!647
2022-08-24 23:08:47 +00:00
toaster
851a2094cf Don't even attempt to advertise a non-netgame server.
This appears to be a long-time bug that exists upstream too, but nobody even knew about it before the MS rules alert made it clear this was actually happening!

# Conflicts:
#	src/m_menu.c
2022-08-24 23:54:38 +01:00
James R
41fa7fe14e Rename rendezvousserver to holepunchserver
# Conflicts:
#	src/mserv.c
2022-08-24 23:39:54 +01:00
James R
222b1b9422 Master server: use I_OutputMsg during startup
CONS_Printf calls CON_Drawer during startup, thread
collision stuff.
2022-08-24 23:33:34 +01:00