Commit graph

23213 commits

Author SHA1 Message Date
GenericHeroGuy
a8e14a6adb Clamp floating-point sample data to +-1.0 for OpenAL
Fixes horrendously amplified horns being loud as fuck
(yes, Vorbis can encode samples louder than 0 dB!)
2025-12-02 23:44:36 +01:00
toaster
6749b54968 readlevelheader: Support lowercase for ZoneTitle
Exposed by increased lowercase prevalence, fix before boarding that up.
2025-12-02 19:44:33 +01:00
NepDisk
c7ae6ba9dc Return th not throwmo 2025-12-02 13:28:30 -05:00
Indev
3876792a51 Fix emotes being slightly offset in chat log 2025-12-02 13:26:05 -05:00
yamamama
851ca0b262 Merge pull request '[FEAT] Skin-based voice dubs' (#190) from subvsdub into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/190
2025-12-02 17:42:00 +01:00
yamamama
403de4b767 Merge remote-tracking branch 'origin/next' into subvsdub 2025-12-02 11:26:07 -05:00
yamamama
3c5a561a56 Fix compiling dammit 2025-12-02 11:22:40 -05:00
yamamama
2a11dc33e7 Expose MobjTypeName in PARANOIA mode 2025-12-02 11:22:32 -05:00
yamamama
a8a5d703eb P_GetMobjVoice: Mute objects shouldn't break reality
(removes the crash when an object has no voice)
2025-12-02 11:05:10 -05:00
yamamama
6be46e7eef Increase MODVERSION
Surprised we haven't been doing this sooner
2025-12-02 10:26:11 -05:00
minenice55
bddbbfe5ca Merge branch 'next' of https://codeberg.org/NepDisk/blankart into next 2025-12-01 20:45:08 -05:00
minenice55
c753ded105 this returned null????? 2025-12-01 20:44:37 -05:00
yamamama
a8b201cf2d Merge remote-tracking branch 'origin/next' into subvsdub 2025-12-01 20:04:49 -05:00
NepDisk
734abb42de Bring back replaymarker command
Seems we didn't have this for some reason, so I decided to port this over
2025-12-01 19:24:53 -05:00
yamamama
74b76b8471 Merge remote-tracking branch 'origin/next' into subvsdub
Nep taking a sledgehammer to the codebase as refactors are happening :,)

# Conflicts:
#	src/g_demo.c
2025-12-01 17:05:58 -05:00
GenericHeroGuy
241030e080 You're supposed to do it like this actually 2025-12-01 22:54:41 +01:00
GenericHeroGuy
797b0adecd Whoops, forgot about voices still being writable from kartvoice_t
which means kartvoice_t no longer has any writable fields, so gut the setter
2025-12-01 22:46:26 +01:00
GenericHeroGuy
891459b53b Change all voice arrays to be exposed as arrays in Lua
For the sake of consistency and future expansion!
Also expose mobj->voice (read-only for now, hopefully), and fix missing
NOSET for player->voice_id
2025-12-01 22:29:34 +01:00
GenericHeroGuy
58b4949c24 Completely retire the old skinsound system
Everything in Lua related to it is now locked behind compatmode
Also fixed SFX allocations eating into skinsounds
2025-12-01 21:42:06 +01:00
NepDisk
f4f3ff0fdb G_AdjustViewEx and fix freecam reset if demo player spectates
based on 10c117f95f
2025-12-01 14:21:02 -05:00
NepDisk
c3dfa0b40e players[p] -> player 2025-12-01 14:02:03 -05:00
Indev
83db0b1025 Expose cameras to lua outside of hud hooks 2025-12-01 13:51:21 -05:00
Alug
ad712cfe91 dont force awayview when in freecam 2025-12-01 13:51:21 -05:00
minenice55
e7fc5226ec expose K_IsMissileOrKartItem 2025-12-01 13:41:03 -05:00
yamamama
420c756a93 Actually check if Alt. Shrink's active for Arrow Bullet 2025-12-01 13:26:17 -05:00
NepDisk
40d792fce9 Expose most constants in k_kart.h
Have fun Lua modders!
2025-12-01 10:24:22 -05:00
yamamama
1aa2549699 Forgot one 2025-12-01 10:14:59 -05:00
yamamama
8128e9a2a1 Expose flipover constants to Lua 2025-12-01 10:13:26 -05:00
NepDisk
75c48c6c87 Revert "Do we want this by default?"
This reverts commit 98efad8ce3.
2025-12-01 10:04:44 -05:00
NepDisk
98efad8ce3 Do we want this by default? 2025-12-01 08:57:20 -05:00
yamamama
ccd509866a Separate gravity scale multiplier, make Alt. Shrink use the standard mapobjectscale for gravity 2025-12-01 00:04:30 -05:00
yamamama
7838c2311f Fix up some bugs introduced 2025-11-30 19:57:55 -05:00
NepDisk
b58ca4ea7b Fix compile warning 2025-11-30 18:25:23 -05:00
yamamama
55e98f05cd Merge remote-tracking branch 'origin/next' into subvsdub 2025-11-30 17:44:53 -05:00
GenericHeroGuy
32cb39b6c8 Cleanup, curbing the paranoia 2025-11-30 23:25:46 +01:00
yamamama
dfc1981854 Add the "Arrow Bullet"
* Toggleable QoL option for Alt. Shrink
* While using Alt. Shrink, at or above a speed threshold (currently 175% the statblock's cruising speed), ignore most things that would damage you
* Rewards breakaways and incentivizes going fast
* Graphics are placeholder
2025-11-30 16:40:44 -05:00
GenericHeroGuy
aebe13c2d6 Whole-diff garbage collection 2025-11-30 22:25:52 +01:00
NepDisk
5505c02fd5 Fix logic oopsies in lives offset check 2025-11-30 16:03:07 -05:00
yamamama
136b2cce54 vid -> voxid
patrick_mouth.gif
2025-11-30 15:59:55 -05:00
NepDisk
9a076cd88e Fix 2p lives icon placement if offsets are on 2025-11-30 15:58:15 -05:00
yamamama
8a34029f17 We've seriously been feeding the compiler the skin's NAME? 2025-11-30 15:55:32 -05:00
toaster
631d9b4454 Fix a crash in K_drawBossHealthBar exposed by the new random functions 2025-11-30 15:15:20 -05:00
Oni
04e99590e1 Merge branch 'seg-fault-on-i-error' into 'master'
Generate a backtrace for I_Error; add a crash command

See merge request KartKrew/Kart!947
2025-11-30 15:15:20 -05:00
Sally Coolatta
20794ff7a0 Fix Sector_ToggleWaypoints crash 2025-11-30 15:15:20 -05:00
Sally Coolatta
6237ce51e2 Fix frequent legacy GL crash that Jeck is getting
This uses `gl_frontsector`, which can sometimes be NULL.
2025-11-30 15:15:20 -05:00
Oni
5e96844c1c Merge branch 'savedemo-titlecard-crash' into 'master'
Only save demo on exit if demobuf.p is ready

Closes #648

See merge request KartKrew/Kart!1459
2025-11-30 15:15:20 -05:00
AJ Martinez
767e92f431 Validate PvPTouchDamage (crash fix) 2025-11-30 15:15:20 -05:00
AJ Martinez
cebf6a6e4e Fix crashes when P_DamageMobj was naively passed a removed source 2025-11-30 15:15:20 -05:00
AJ Martinez
d3822cd7a5 Merge branch 'fix-map-command-ghost-crash' into 'master'
Free ghosts when level data is freed

Closes #1163

See merge request KartKrew/Kart!2108
2025-11-30 15:15:20 -05:00
yamamama
31261dcec3 Merge remote-tracking branch 'origin/next' into subvsdub 2025-11-30 14:06:50 -05:00