Commit graph

23236 commits

Author SHA1 Message Date
minenice55
5ce35ba504 let missile throwing be tuned with dir as well
more consistent for lua that will use this
2025-12-04 21:43:19 -05:00
minenice55
02a0c6ff1a Update lua_hooklib.c 2025-12-04 17:46:18 -05:00
minenice55
f72f28976c ohhhh I'm stupid 2025-12-04 17:45:13 -05:00
NepDisk
9e21326ab9 Use namelen instead of sizeof(name) - 1 2025-12-04 15:24:32 -05:00
NepDisk
a9cbaae799 w_wad: replace lumpnumcache with unordered_map hash lookup
Holy shit, thanks Alug!!!!

This is a major performance boost with a large amount of lumps loaded compared to the barely functional lumpnumcache that was there before.
2025-12-04 15:10:50 -05:00
NepDisk
204d476b3e Revert "Cache emotes on registration rather then at runtime"
This reverts commit 732b3fb308.
2025-12-04 14:53:13 -05:00
NepDisk
c879991594 Use strlen instead of sizeof()-1 2025-12-04 14:41:28 -05:00
NepDisk
7820a02bd4 Declaration following a label is a blah blah blah 2025-12-04 10:48:30 -05:00
NepDisk
732b3fb308 Cache emotes on registration rather then at runtime 2025-12-04 10:37:45 -05:00
minenice55
e5afa5475e (non-functioning) lua overrides for K_DropHnextList
seems the hook isn't receiving the returned droptype?
2025-12-04 03:16:54 -05:00
NepDisk
bbcf2bb6f9 Cache emote patches as they are used to prevent excess calls to W_CachePatchName 2025-12-04 01:24:36 -05:00
NepDisk
d1510cc682 Optimize lump searching
Based on dc608f084c and further adapted by me and Alug (Thanks so much!)
2025-12-04 00:02:23 -05:00
NepDisk
d6c9eecd7f Use strlcpy instead of regular strcpy 2025-12-03 19:34:17 -05:00
Alug
363324791f sprite gzt is float in opengl render........ 2025-12-03 22:39:10 +01:00
GenericHeroGuy
55106624fb Fix extra colormap crash on Virtual Highway (closes #188) 2025-12-03 21:41:42 +01:00
Alug
0b60831189 dont call CON_Drawer during frameskip, just call CON_MoveConsole instead
fixes the issue at hand, without making the console flicker in gifs
sigh....
2025-12-03 12:39:12 -05:00
Indev
ad58341eb2 Add 'time per frame' argument for hud.setVoteBackground 2025-12-03 12:39:12 -05:00
GenericHeroGuy
636120b109 Don't outright ignore Z coordinates for next/prev waypoints
Being unable to change split paths after falling is giving Arcade a lot of
grief right now
2025-12-03 18:20:11 +01:00
GenericHeroGuy
2c90f46136 Fix waypoint maps crashing if there is no finish line 2025-12-03 17:18:02 +01:00
GenericHeroGuy
e5434e3f14 Update voice definition syntax
* The "default" voice is now only created when a skin uses legacy skinsounds
  so you can use any name you wish for the first voice of a new skin
* Made the syntax stricter; a voice name must be specified, and you cannot
  mix legacy skinsound syntax with voice syntax
* Changed all the DBG_SETUP prints to CONS_WARNING (who even uses DBG_SETUP)
2025-12-03 17:00:56 +01:00
yamamama
e22cef504d Update hashes 2025-12-02 20:12:18 -05:00
yamamama
0aa54559f9 Add (mostly) finalized visuals for the Arrow Bullet
Adds an 'arrowbullet' parameter to player_t; most of the general precautions for that have been taken
2025-12-02 20:12:18 -05:00
NepDisk
071478a6b9 Add Spring force angle flag for UDMF 2025-12-02 18:16:26 -05:00
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