Commit graph

18005 commits

Author SHA1 Message Date
Sally Coolatta
caa5314866 Get past some taglist stuff 2021-02-28 22:58:30 -05:00
Sally Coolatta
420a6ccccb Fix Dehacked loading 2021-02-28 22:39:47 -05:00
Sally Coolatta
7f912e1558 Remove unused cv_freedemocamera
Not relevant to kart
2021-02-28 21:28:18 -05:00
Sally Coolatta
20e2c78331 Delete seenames code
We had SEENAMES disabled before, and vanilla removed the define, so I went ahead and removed it. Repurposed the old seenames console variable for our nametags.
2021-02-28 21:27:23 -05:00
Sally Coolatta
4c9aceded1 Merge remote-tracking branch 'srb2/next' into 22-merge-again 2021-02-28 21:03:09 -05:00
Sally Coolatta
23ed607d11 Handle angleturn conflict
Since Sryder mentioned it, the main difference is:

- player->angleturn is the absolute angle, like vanilla, but it's now an angle_t, so it doesn't need shifted.
- cmd->turning modifies player->angleturn relatively, instead of absolute angles being stored in the cmd (makes the system less cheatable for kart)
- Because the absolute angle is no longer stored in the cmd, all of the pre/post angleturn values that vanilla has basically just need to be flat-out removed.
2021-02-28 21:02:14 -05:00
James R
0bd0b98909 Fix dependency file trying to be made for SRB2.res and not for interface/blua/hardware files 2021-02-28 17:02:08 -08:00
James R
2a9cb311b3 I forgot to add the dep directory 2021-02-28 16:14:54 -08:00
Jaime Ita Passos
049b50a791 Change I_Error message 2021-02-28 17:47:12 -03:00
Jaime Ita Passos
f71281b498 Fix translation colormap cache rebuilding using the old translation enumerations
This was causing a buffer underwrite too. Lovely.
2021-02-28 17:05:25 -03:00
Jaime Ita Passos
95c6139b32 Fix thing scale mismatch in R_DrawVisSprite 2021-02-28 16:23:40 -03:00
sphere
943b7b5aab Merge branch 'fix-implicit-tablecheck' into 'next'
Fix "implicit declaration of function 'DEH_TableCheck'" warning

See merge request STJr/SRB2!1419
2021-02-28 12:14:28 -05:00
sphere
3fe8e01a4e Merge branch 'udb-config-bruh' into 'master'
Nice UDB config there, SRB2.

See merge request STJr/SRB2!1354
2021-02-28 11:57:30 -05:00
GoldenTails
4a0c907d34 Make it more async-signal-safe 2021-02-27 18:07:47 -06:00
GoldenTails
9a2e330af2 Print the backtrace before showing the signal handler popup. 2021-02-27 18:07:47 -06:00
GoldenTails
0c71a73513 Use file descriptors and ditch file streams, for now. 2021-02-27 18:07:47 -06:00
GoldenTails
9bc3050c49 Crash backtrace logging for NEWSIGNALHANDLER. 2021-02-27 18:07:47 -06:00
Sryder
a25d721a6a Fix some d_clisrv compile errors. Left some in regarding angleturn because I know we have it different but I can't remember exactly how.
Made issue #133 regarding some changes we should mirror.
2021-02-27 15:19:51 +00:00
Jaime Ita Passos
a8909190ff Fix "implicit declaration of function 'DEH_TableCheck'" warning 2021-02-27 12:04:48 -03:00
James R
98bcfc7cac Conflicts e9bbdb8cc3 ef1ca357de 2021-02-27 03:35:38 -08:00
James R
9df5a4b25f Conflicts a59c03fef 08d087c6b 2021-02-27 03:32:19 -08:00
James R
6cb0e9667d Conflicts da7e79ac83 d5688f53a0 2021-02-27 03:29:01 -08:00
James R
1ce3a7dd56 Conflicts cb3660331a 031665cdf 2021-02-27 03:26:17 -08:00
James R
0243a31ee4 Merge branch 'dependency-files' into 'master'
Dependency files

See merge request STJr/SRB2!1407
2021-02-27 05:38:13 -05:00
Sally Coolatta
9d7ec0ab8f Merge SRB2 next
Probably doesn't compile yet, but I got rid of all of the conflicts for anyone who wants to take a stab at it.
2021-02-27 05:18:36 -05:00
Sally Coolatta
1f082f15e6 Merge SRB2 master 2021-02-27 02:25:14 -05:00
Sally Coolatta
d63b428565 Merge Kart-Public next 2021-02-27 02:16:21 -05:00
Sally Coolatta
176900c7e2 Merge branch 'master' into next 2021-02-27 00:38:43 -05:00
Sally Coolatta
cbe14d74c8 Increase default hint weight 2021-02-26 22:56:59 -05:00
Sally Coolatta
cb655f863c Reduce object distance by its radius
Just gives bot hint size a purpose again, even if it's minor.
2021-02-26 22:43:10 -05:00
Lachlan Wright
67b06edf3e Revert "Merge branch 'player-speed' into 'next'"
This reverts merge request !1309
2021-02-27 03:38:13 +00:00
Sally Coolatta
03c13052e8 Fix bot hint weighting 2021-02-26 22:37:46 -05:00
Sally Coolatta
b7f8278252 Some asserts in K_DrawPredictionDebug 2021-02-26 22:15:43 -05:00
Sally Coolatta
78592de14f Since this gets definitely freed by us later, this should probably be PU_STATIC 2021-02-26 22:13:21 -05:00
Sally Coolatta
17de1d5ff3 Don't modify the states table for kartdebugwaypoints or kartdebugbotpredict
Also makes debugwaypoints fullbright so it's a little easier to see in dark levels.
2021-02-26 21:55:20 -05:00
Sally Coolatta
d2dd562919 Bots shouldn't try to do anything during the camera spin-around intro. 2021-02-26 21:37:14 -05:00
Sally Coolatta
ebaef5d0af Flip side properly for objects to go towards. 2021-02-26 19:46:52 -05:00
Sally Coolatta
00227ee7f0 Don't ever go too far behind the bot 2021-02-26 19:42:08 -05:00
Sally Coolatta
9f91c2dcdc Buff the object nudging now that wall detection doesn't step on its toes :) 2021-02-26 19:28:49 -05:00
Sally Coolatta
bbfad3a544 Adjust wall detection
Wall detection range was doubled, how much the prediction is adjusted was halved. This is a much nicer middle-ground compared to what it was doing before.
2021-02-26 19:04:24 -05:00
LJ Sonic
dc9b2443ce Merge branch 'debugmode-reborn' into 'next'
Make DEBUGMODE=1 builds (finally) compile, run and work in netgames

See merge request STJr/SRB2!1405
2021-02-26 17:43:45 -05:00
Riku Salminen
1ecad1cf9c Disable pausing during score screens in marathon mode 2021-02-26 15:43:53 +02:00
Sally Coolatta
59fa615cc8 Update comment 2021-02-26 06:12:19 -05:00
Sally Coolatta
df13b9fcfa Show prediction's radius on the prediction debugger 2021-02-26 05:58:33 -05:00
Sally Coolatta
c7e061155a Add weighting system back into prediction nudging
Simply adds the same object to the list several times. Necessary because otherwise rings are over-prioritized.
2021-02-26 05:44:57 -05:00
Sally Coolatta
dc1fbb2e9a Fix bug that caused bots to go into ring debt a lot 2021-02-26 05:42:59 -05:00
Sally Coolatta
ffaa4e2aa2 Differentiate between which side an object is on
This means that if there's objects on both sides of the bot, then the tie is broken by which side has the most objects. Before, it would average out to the middle, so they wouldn't swerve at all, which is kind of stupid for rings, but can ruin the bot's performance for dodging items & players especially!
2021-02-26 04:26:50 -05:00
Sally Coolatta
6142963ff9 Add minimum distance to prediction 2021-02-26 03:30:52 -05:00
Sally Coolatta
7eac54a749 Adjust nudging to values that feel nice 2021-02-26 03:21:33 -05:00
Sally Coolatta
0fb97a1b16 Use the proper variable for the average position 2021-02-26 02:50:20 -05:00