Jaime Ita Passos
5539341ebc
Allocate a buffer for non-RGBA to RGBA texture conversions.
...
UpdateTexture will I_Error (from AllocTextureBuffer) if the allocation fails.
2022-03-18 17:46:09 +00:00
James R
4c9c54e44e
Revert netvars after demo finishes playback
...
(Demos do not call CL_Reset BTW.)
2022-03-18 17:41:14 +00:00
toaster
e07fb31f72
P_ZMovement: add a P_MobjWasRemoved check after P_CheckPosition, so we can bail out if the mobj was removed (by Lua most likely)
...
# Conflicts:
# src/p_mobj.c
2022-03-18 17:35:34 +00:00
Nev3r
2e7e61f787
Remove &, since args and stringargs are arrays
2022-03-18 17:28:15 +00:00
Nev3r
de0119fd78
Forgot the stringargs.
2022-03-18 17:28:06 +00:00
Nev3r
7c8beb9229
Bugfix - Fix sporadically occurring incorrect userdata types in Lua, caused by previously loaded userdata which didn't get invalidated in previous sessions.
...
Invalidate userdata for line and mapthing args.
Invalidate userdata for slopes and their normal, origin and direction vectors.
2022-03-18 17:27:57 +00:00
sphere
6d58afe071
Use floating-point math for polyobject planes as well.
2022-03-18 17:25:29 +00:00
sphere
167d30efc2
Ignore a linedef tag of 0 when using linedef action 96.
2022-03-18 17:22:28 +00:00
toaster
a15a2f1ef2
Restore P_AproxDistance Lua parity
...
# Conflicts:
# src/lua_baselib.c
2022-03-18 17:16:11 +00:00
SwitchKaze
18f0ece073
Fix console text bleeding edge case
...
A single character could prematurely read if there were enough special characters to push 'c' past 'con_width'.
2022-03-18 17:15:13 +00:00
SwitchKaze
8ef8cb5b5f
Fix console text bleeding
2022-03-18 17:15:00 +00:00
toaster
fe204dbc87
Change variable from previous commit to the one used in Kart startup.
2022-03-18 17:14:25 +00:00
GoldenTails
168fc18357
Fix the console splitting up halfway through startup.
2022-03-18 17:13:05 +00:00
lachablock
c331bac825
Fix models interpolating to frame 0 from a same-sprite2 FF_SPR2ENDSTATE state
2022-03-18 17:10:32 +00:00
toaster
1289e08887
Enhance the multitagging functionality added in previous commits.
...
* Flattened version of commits from SRB2 repository's flarn2006:multitagging_plus/merge request 1524.
* New linedef special 96: "Apply Tag to Tagged Sectors".
* New flags for linedef specials 97-99
2022-03-18 17:06:22 +00:00
Monster Iestyn
2d50b76323
A_Custom3DRotate: don't scale hspeed and vspeed - they are angular speeds, not linear!
...
(I added the scaling to this action somewhere between 7-9 years ago, and somehow never knew I made this mistake until now, welp.)
2022-03-18 16:58:28 +00:00
toaster
9deeb79ac4
My mistake, P_PreTicker calls P_MapStart and P_MapEnd too, so rework my earlier fix a bit
...
# Conflicts:
# src/p_setup.c
2022-03-18 16:58:00 +00:00
Monster Iestyn
e3ead54561
Fix Lua versions of P_ZMovement and its clones as well as P_MovePlayer so tmthing changes don't linger afterwards
2022-03-18 16:56:46 +00:00
toaster
5fa9ba1be0
move P_MapEnd call in P_LoadLevel further down, so that the P_MapStart/End pair also encloses cached actions and the MapLoad Lua hook
...
# Conflicts:
# src/p_setup.c
2022-03-18 16:56:39 +00:00
flarn2006
b0aeb6ce03
Expose M_MapNumber to Lua
2022-03-18 16:54:48 +00:00
toaster
2cfdf80fca
Remove FRACUNIT/2
...
# Conflicts:
# src/r_main.c
2022-03-18 16:54:26 +00:00
toaster
1f5eb2c442
Correct non-compiling iterators that retained their initialisation from the earlier pushes.
2022-03-18 16:50:13 +00:00
namishere
230b301455
Expose P_ButteredSlope to lua
2022-03-18 16:44:41 +00:00
Nev3r
a7b128b9bc
Update example comment.
2022-03-18 16:43:35 +00:00
Nev3r
368a83ccb8
Fix __LINE__ macro expansion via recursive macro expansion; C macros sure are something sometimes...
2022-03-18 16:43:11 +00:00
toaster
487103bc47
Remove TAG_ITER_DECLARECOUNTER and the level field on the iterator macros.
...
Declare the position counters inside the for loops instead; RIP C90.
# Conflicts:
# src/p_mobj.c
# src/p_spec.c
2022-03-18 16:43:03 +00:00
toaster
5ac3709d43
make a few messages more helpful
...
# Conflicts:
# src/d_clisrv.c
2022-03-18 16:27:48 +00:00
toaster
b75bea40b2
Add ease Lua library
...
# Conflicts:
# src/lua_mathlib.c
2022-03-18 16:25:57 +00:00
toaster
3c5e19bb06
Easing functions
...
# Conflicts:
# src/CMakeLists.txt
# src/Makefile
2022-03-18 16:23:58 +00:00
Hannu Hanhi
955bbeed42
Take slopes into account even more in FOF wall cutoff in HWR_ProcessSeg
2022-03-18 16:20:25 +00:00
Hannu Hanhi
8f22ccccdb
Take slopes into account in FOF wall cutoff in HWR_ProcessSeg
2022-03-18 16:20:08 +00:00
Hannu Hanhi
6a6c8a2baf
Clarify license file mention in libdivide.h
2022-03-18 16:19:01 +00:00
Hannu Hanhi
c0302174c3
Clarify licensing-related text in libdivide.h
2022-03-18 16:18:51 +00:00
toaster
0c12a389e1
NPO2 slope span optimization
...
# Conflicts:
# src/CMakeLists.txt
# src/r_draw.c
# src/sdl/Srb2SDL-vc10.vcxproj
2022-03-18 16:18:47 +00:00
toaster
37e16db41e
Fix slope plane rotation and alignment.
...
A flattened-commit port of the SRB2 repository's software-slope-plane-uv-fix-attempt/merge request 1464 due to the vast, vast refactorings that would intefere with brightmaps and Encore if done one commit at a time.
2022-03-18 16:10:05 +00:00
toaster
fab0897800
Check against null tmpusher source before attempting to push a thing.
...
# Conflicts:
# src/p_spec.c
2022-03-18 14:08:29 +00:00
Jaime Ita Passos
4563722695
tRNS chunk fix
...
Fixes a faulty check not properly detecting the presence of a tRNS chunk.
2022-03-18 13:56:01 +00:00
Jaime Ita Passos
96edcff902
Optimize Picture_GetPatchPixel
2022-03-18 13:55:04 +00:00
Steel Titanium
f674737898
Add deprecation warning when using the level header parameter
2022-03-18 13:54:17 +00:00
toaster
bf6b9c6fed
Remove music slot compatibility
...
# Conflicts:
# src/deh_lua.c
# src/lua_baselib.c
2022-03-18 13:54:03 +00:00
toaster
babf630587
Set the target of a spawned ghost to where it came from.
...
# Conflicts:
# src/p_user.c
2022-03-18 13:42:57 +00:00
toaster
3c83508646
add sprung flag to steam
...
# Conflicts:
# src/p_map.c
2022-03-18 13:39:19 +00:00
toaster
19a4ef23c2
Add more actions for slope copying & update the ZB config.
...
# Conflicts:
# extras/conf/SRB2Kart2.cfg
2022-03-18 13:32:48 +00:00
toaster
857330f74f
Add linedef specials for multitagging in binary maps
...
# Conflicts:
# extras/conf/SRB2Kart2.cfg
2022-03-18 13:16:55 +00:00
X.organic
0b2783925f
Remove some dead code from DEH_LoadDehackedFile
...
Also fixes a buffer overflow, but said overflow generally got caught by
the stack smashing protector. Still, it's better for SOC files not to be
able to crash the game that easily.
2022-03-18 13:14:37 +00:00
GoldenTails
0146c0a4bd
name kinda sucked
2022-03-18 13:13:11 +00:00
GoldenTails
bf5ca10652
acos Lua exposure
2022-03-18 13:13:02 +00:00
Sally Coolatta
e5453f97b7
Missed a few lines in the prev commit
2022-03-18 13:12:17 +00:00
Sally Coolatta
46e31e45d9
Allow spaces in captions defined in SOC
2022-03-18 13:12:09 +00:00
toaster
c67b52f85d
move the old "can't load the level" error to its proper place, added specific error messages for all the times that unarchiving Lua banks can fail
...
# Conflicts:
# src/d_clisrv.c
2022-03-18 13:07:47 +00:00