Commit graph

18667 commits

Author SHA1 Message Date
James R
c7ad1e659e Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2022-12-05 20:59:43 +00:00
Sal
dbf11e228d Merge branch 'vsync-default-off' into 'master'
Make vsync default to off

See merge request KartKrew/Kart!794
2022-12-02 05:06:25 +00:00
Sal
50a1dcf979 Merge branch 'cmake-overhaul' into 'master'
cmake: Rollup of srb2-side changes

See merge request KartKrew/Kart!758
2022-11-29 04:42:58 +00:00
SteelT
7b0361a6f2 Make vsync default to off 2022-11-28 23:05:54 -05:00
James R
404aa0b5fe Hide MT_OVERLAY with drawpickups 2022-11-27 21:19:04 -08:00
James R
051b4f8935 Always use typedef name instead of struct name
mobj_t instead of struct mobj_s
2022-11-27 17:21:40 -08:00
James R
0d0310a140 typedef.h: typedef node_t
d_net.c: rename node_t to netnode_t
2022-11-27 17:21:40 -08:00
James R
b5310a1f68 Add typedef.h
All typedefs for structs that were present in other header
files have been moved to here. (Except node_t because the
renderer and netcode both define node_t LOL.)
2022-11-27 17:21:40 -08:00
James R
a8ccedbbc0 cmake: remove -Waggregate-return 2022-11-27 03:27:10 -08:00
James R
63069ce710 cmake: set C std and enable pedantic warnings
see d262190faf and cd5946be73
2022-11-27 03:20:37 -08:00
Eidolon
757e3650eb cmake: copy build shared internal libs to bin/ 2022-11-27 02:44:11 -08:00
Eidolon
8116edc5a1 cmake: Port misc options from Makefiles
- DEBUGMODE
- MOBJCONSISTANCY
- PACKETDROP
- ZDEBUG
- PROFILEMODE (likely moot, dunno how profiling with cmake works
though)
2022-11-27 02:44:11 -08:00
Eidolon
146344e7de cmake: Port warning configuration from make
Adds SRB2_CONFIG_ERRORMODE to replace ERRORMODE too.
2022-11-27 02:44:11 -08:00
Eidolon
d31037abc9 cmake: Remove asset hashing, CMAKE_ASSETS_DIR
Simplifies build setup for cmake.

# Conflicts:
#	assets/CMakeLists.txt
#	src/config.h.in
#	src/sdl/i_system.c
2022-11-27 02:44:10 -08:00
Eidolon
04674ca93b Include exchndl with <> 2022-11-27 02:44:10 -08:00
James R
1dd25181a9 cmake: use SRB2_SDL2_EXE_NAME, append git branch, add SRB2_SDL2_EXE_SUFFIX 2022-11-27 02:44:10 -08:00
Eidolon
0677d59d51 cmake: Build all deps and static link
Overhaul cmake build
2022-11-27 02:44:10 -08:00
Sally Coolatta
3c8738baab Displace bot predictions against slope physics
This makes them able to climb steep slopes significantly better.
2022-11-27 05:14:35 -05:00
Sally Coolatta
7c962fc0fa Improve Ballhog charge conditions 2022-11-27 04:48:30 -05:00
Sally Coolatta
bd2507bee7 Fix missing input arg 2022-11-27 04:43:43 -05:00
Sally Coolatta
9b439297b0 Bots will try to place Drop Targets on turns
Also a bit more Banana-like
2022-11-27 04:26:47 -05:00
Sally Coolatta
4b5681b5d5 Add Garden Top bot item function 2022-11-27 04:24:05 -05:00
Sally Coolatta
66629a3576 Bot reuses Landmine use function for Hyudoro
Previously used GenericTap, which was intended for when Hyu wasn't a trap item.

Landmine has very similar usage (trap item with only the ability to place it on your current location), so I just made it reuse that function.
2022-11-27 03:49:47 -05:00
Sally Coolatta
366ade8cbb Bots don't use items while exiting anymore
They'll just hold onto 'em now. Makes the post-exit movement a bit more seamless.
2022-11-27 03:45:45 -05:00
Sally Coolatta
a47faff820 Update bot Ballhog usage to have charging 2022-11-27 03:43:36 -05:00
Sally Coolatta
aa7c7fbf94 Bots don't use boost items in the air
No Sneaker, Rocket Sneaker, or Ring waste when they can't apply!
2022-11-27 03:33:01 -05:00
Sally Coolatta
b1b77e9496 Bots treat Drop Target more like Banana than Orbi
Fire with smaller threshold, and forcefully when banana-drag goes into effect. Fixes them holding it for absolutely way too long and making their gameplay worse.
2022-11-27 03:29:00 -05:00
Sally Coolatta
1ca522044b Fix bad usage of const 2022-11-27 03:24:07 -05:00
Sally Coolatta
581b989fe4 Fix bots being unable to trigger
UDMF regression
2022-11-27 03:00:48 -05:00
Sally Coolatta
ad02fbcf32 Reel the prediction back when it hits wall 2022-11-27 03:00:48 -05:00
Sally Coolatta
bd337d1494 Bots treat all offroad as wall
Rather than only strong offroad.
2022-11-27 03:00:47 -05:00
Sally Coolatta
63ae0ea6bd Prevent finishline ever being your prevwaypoint 2022-11-27 03:00:47 -05:00
Sally Coolatta
05e74c3e9d Fix linedef 499 conversion 2022-11-27 02:57:48 -05:00
VelocitOni
e147d41ad4 Merge branch 'master' into shadows-gammaless 2022-11-26 22:52:35 -05:00
Oni
ba5c42452c Merge branch 'rankings-return' into 'master'
Re-add mid-game rankings

See merge request KartKrew/Kart!779
2022-11-27 03:47:10 +00:00
Oni
f292397993 Merge branch 'restartlevel-encore' into 'master'
Restartlevel respects cv_kartencore

See merge request KartKrew/Kart!780
2022-11-27 03:36:20 +00:00
Oni
a27e14ff21 Merge branch 'case-insensitive-wads' into 'master'
Fix instances of lump searching not being case insensitive

See merge request KartKrew/Kart!783
2022-11-27 03:31:13 +00:00
Sally Coolatta
530012818f Merge branch 'master' into client-vfx 2022-11-26 21:08:59 -05:00
Oni
db621c4538 Merge branch 'waypoint-fixes' into 'master'
Big Waypoint Change

See merge request KartKrew/Kart!784
2022-11-27 02:01:43 +00:00
Oni
765bdab7f1 Merge branch 'rankpass-sfx' into 'master'
Rankpass SFX

Closes #340

See merge request KartKrew/Kart!785
2022-11-27 01:57:25 +00:00
Oni
e34b4f031b Merge branch 'double-bonus' into 'master'
Multiple BonusGame support

See merge request KartKrew/Kart!781
2022-11-27 01:57:13 +00:00
Sally Coolatta
678e674d65 Disable e-brake vfx 2022-11-26 20:55:06 -05:00
Sally Coolatta
e331910fe3 Reduce VFX toggle
Can be used to disable VFX, so it can only appear if its owner is a display player. If no owner is provided, then it will be removed entirely.

Applied to most things that Ivo asked for
2022-11-26 20:12:00 -05:00
toaster
3f1ba40246 Missing gamecontrolname 2022-11-26 23:24:02 +00:00
toaster
b1adc3d27c Fix chunky gap between Kart position numbers
There's still a big gap but that's a graphics lump size issue, code wouldn't solve it
2022-11-26 22:39:27 +00:00
toaster
1999cf0509 Rank num SFX tweak
- Add new sounds at various pitches depending on position
- Don't play sound if a pass has just happened
2022-11-26 22:25:15 +00:00
Sally Coolatta
0e654aa2f9 Fix missing currentwaypoint in saveg 2022-11-26 15:27:51 -05:00
toaster
400a7b5974 Move closed chat to behind rankings HUD 2022-11-26 16:49:57 +00:00
toaster
00e28b2915 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into rankings-return 2022-11-26 16:43:21 +00:00
toaster
15a51e370a Restartmap respects encore Auto too
Per jart's suggestion
2022-11-26 16:40:50 +00:00