Commit graph

14505 commits

Author SHA1 Message Date
Sally Coolatta
b9e24d921c Bots reduce their rubberbanding top speed if they're facing the wrong way 2020-04-30 17:28:34 -04:00
Monster Iestyn
a96f0a0df3 Merge branch 'strncpy-brullshit' into 'next'
Fix a few strncpy bullshit

See merge request STJr/SRB2!895
2020-04-30 14:53:46 -04:00
Monster Iestyn
405d5e1fc6 Merge branch 'netarchive-cleanup' into 'next'
Netgame $$$.sav code cleanup

See merge request STJr/SRB2!894
2020-04-30 14:53:22 -04:00
Sally Coolatta
1fcfdd5bae Bot hints
Thing type 2004, adds a map-defined point for bots to gravitate towards or away from.
Angle: Changes radius, defaults to a 32 radius (or 64x64 area) without.
Ambush: When off, makes bots steer towards. When on, makes bots steer away.
Parameter: Changes how much the bot steers away/towards this point. If 0, defaults to 2.

(also, made bots ignore strong offroad if they could take a shortcut)
2020-04-30 14:15:10 -04:00
James R
a1502046cf Merge remote-tracking branch 'origin/master' into resume 2020-04-30 09:32:40 -07:00
Latapostrophe
6bf117300b Add back viewpoint names & fix console inputs in replays 2020-04-30 15:50:30 +02:00
Wolfy
cd11abafa9 Merge remote-tracking branch 'remotes/james/awful-mix-fucked' into awful-mix 2020-04-30 04:40:11 -05:00
Monster Iestyn
edfbd799db Merge branch 'next' into netarchive-cleanup 2020-04-29 15:27:07 +01:00
Monster Iestyn
0ab7d0b4b5 Don't discard const, added missing & 2020-04-29 15:24:28 +01:00
Monster Iestyn
5f3a827609 Whoops the third 2020-04-29 14:45:52 +01:00
Louis-Antoine
4130a30008 Revert "Replace a few instance of strncpy with strlcpy"
This reverts commit b03e0d1289.
2020-04-29 10:55:49 +02:00
Wolfy
c3d34198ef Shader batching additions 2020-04-29 00:03:02 -05:00
James R
2e6e13cc07 Merge remote-tracking branch 'lat/awful-mix' into awful-mix-fucked 2020-04-28 21:56:35 -07:00
Sally Cochenour
174a76f7e8 Merge branch 'master' into pet-robo 2020-04-28 21:10:16 -04:00
Sally Cochenour
fb68e4f164 Merge branch 'master' into pet-robo 2020-04-28 20:20:05 -04:00
Sal
fae498f097 Merge branch 'fof-things-suck' into 'master'
Generic raise things line special, Waypoint Riser and Waypoint Anchor

See merge request KartKrew/Kart!233
2020-04-28 20:19:03 -04:00
Latapostrophe
0897f6f21a Cam lockon, allow viewpoint change during freecam 2020-04-28 23:24:48 +02:00
Louis-Antoine
1f830836ba Optimise number archiving 2020-04-28 23:12:02 +02:00
Louis-Antoine
9ce73e9790 Optimise boolean archiving 2020-04-28 23:11:28 +02:00
Louis-Antoine
6ec3ec4933 Optimise string archiving and allow for longer strings 2020-04-28 22:19:44 +02:00
Sally Cochenour
c06c4049c4 Bots play more careful around damage, insta-kill, and strong offroad 2020-04-28 14:24:09 -04:00
Latapostrophe
28baaa53a6 Add lua toggle for check hud 2020-04-28 17:24:33 +02:00
Latapostrophe
858adbcbfd Merge branch 'awful-mix' of git.magicalgirl.moe:SinnamonLat/Kart-Public into awful-mix 2020-04-28 16:58:48 +02:00
LJ Sonic
355912cf35 Merge branch 'fix-intermission-mouse' into 'next'
Fix mouse being grabbed in intermission and cutscenes

See merge request STJr/SRB2!891
2020-04-28 04:25:32 -04:00
Sally Cochenour
44334602e5 New "wall steering"
Rather than trying to steer away from walls (and failing), just pull the predicted point back and make the radius stricter.

Not an ideal solution compared to what the other method was trying to go for, but this has a better success rate -- and even in cases where false positives come up (like many instances Ezo pointed out), they will no longer be incapacitated by it.
2020-04-27 17:06:36 -04:00
MascaraSnake
34c379b479 Merge branch 'raisethinker' into 'next'
Make P_AddRaiseThinker more configurable via function parameters (needed for UDMF)

See merge request STJr/SRB2!899
2020-04-27 15:04:37 -04:00
Sally Cochenour
be70afcbbd Object steer polishing
Notably, looks in an oval area instead of a circle
2020-04-27 13:42:01 -04:00
MascaraSnake
8e5646d708 Replace P_FindLineFromLineTag with P_FindLineFromTag 2020-04-27 14:34:42 +02:00
MascaraSnake
c2cf8d57d0 Remove P_FindSectorFromLineTag 2020-04-27 14:31:37 +02:00
MascaraSnake
398ee65646 Store "no bosses" setting for lasers in thinker instead of checking sourceline. 2020-04-27 13:09:57 +02:00
MascaraSnake
0dbcd8766b Pass thwomp settings to P_AddThwompThinker 2020-04-27 13:01:31 +02:00
MascaraSnake
40d0fb714d Store tag instead of sourceline in raise thinker 2020-04-27 12:54:08 +02:00
MascaraSnake
0b38dae561 Make P_AddRaiseThinker more configurable via function parameters (needed for UDMF) 2020-04-27 11:19:07 +02:00
wolfs
214e5d6566 Merge branch 'sal-lighting-port' into 'awful-mix'
'sal-lighting' code ports from v2

See merge request SinnamonLat/Kart-Public!14
2020-04-27 04:52:58 -04:00
James R
bad06eba17 Match MAXSERVERLIST to MAXNETNODES, increase MAXNETNODES
Each server in the server list requires a node. It's also MAXNETNODES-1 because
the first node is yourself.
2020-04-26 20:46:33 -07:00
Sally Cochenour
80b59382f4 Tighten up radius slightly 2020-04-26 22:41:00 -04:00
Sally Cochenour
6846d7c3a1 Bring back strong rubberbands now that they can properly predict 2020-04-26 20:36:57 -04:00
Sally Cochenour
6b3e7c8e16 Adjust prediction future sight based on the bot's handling 2020-04-26 20:36:40 -04:00
Steel Titanium
3a4a8cd948 Fix window icon being reset when switching renderers on non-Windows platforms 2020-04-26 18:46:43 -04:00
Monster Iestyn
bc2f478b43 Merge branch 'planethinker-followup' into 'next'
Clean up the plane thinker cleanup

See merge request STJr/SRB2!897
2020-04-26 13:22:49 -04:00
Sally Cochenour
4ec61a2e11 Subtract your distance to the nextwaypoint from the distance to predict ahead
Helps the GHZ turn out a LOT, and other instances with waypoints far apart from each other
2020-04-26 13:06:53 -04:00
MascaraSnake
2d860cd362 Make new thinker loading functions set floordata/ceilingdata where necessary 2020-04-26 18:54:03 +02:00
MascaraSnake
ee2ee674d9 Deprecate the camera scanner effect and print a warning when it's used 2020-04-26 18:42:31 +02:00
MascaraSnake
bd40d8df9e Remove obsolete stuff from elevator_t 2020-04-26 18:38:45 +02:00
MascaraSnake
5a3883648d Accidentally changed the wrong SaveElevatorThinker call to SaveCrumbleThinker 2020-04-26 18:31:39 +02:00
MascaraSnake
38a3be00d0 T_StartCrumble refactoring, part 1 2020-04-26 16:51:14 +02:00
MascaraSnake
62ab099b6f Make T_StartCrumble use its own thinker data structure 2020-04-26 11:55:10 +02:00
James R
908013f02e Download mismatched md5sum with http
This is from 7176aaf3
2020-04-26 01:29:40 -07:00
James R
9640cb1635 Fallback you doofus! 2020-04-26 01:28:01 -07:00
Wolfy
f35bdf3bb7 Revert basically every attempted join passwords fix 2020-04-26 01:20:46 -07:00