Jaime Ita Passos
0a9fd2c9fa
Fix #555
2022-03-18 19:33:57 +00:00
toaster
2c55477161
Revert "Make the colormap returned by v.getColormap() writable."
...
This reverts commit 53ec972887 .
2022-03-18 18:59:25 +00:00
toaster
9c1ca3e2c0
Revert "Copy colormaps so Lua cannot modify cached colormaps! (And Z_Free them on garbage collection.)"
...
This reverts commit 134f94474c .
2022-03-18 18:59:10 +00:00
toaster
1a8f07d53c
Add a missing scale assignment to A_Boss3ShockThink
...
(flattened version of SRB2 repository SMS_Alfredo:oneline/merge request 1588)
2022-03-18 18:50:31 +00:00
lachablock
d92f4d6d50
Split up x/y/z averages in A_Boss3ShockThink
2022-03-18 18:48:36 +00:00
LJ Sonic
66a08a391b
Don't call map load trigger linedefs when joining or reloading gamestate
2022-03-18 18:40:27 +00:00
Shane Ellis
4ef77365a4
Add VERSIONSTRING_RC to DEVELOP builds for compiler compatibility
2022-03-18 18:37:20 +00:00
LJ Sonic
c977a7d451
Fix again
2022-03-18 18:31:46 +00:00
LJ Sonic
ef1ff6c94b
Fix incorrect error message during Lua archiving
2022-03-18 18:31:38 +00:00
toaster
7f969705b4
Add flag to line slopes for copying their slopes to the other side.
...
# Conflicts:
# extras/conf/SRB2Kart2.cfg
2022-03-18 18:30:40 +00:00
toaster
3794bea729
Accidentially killed P_InitSpecials whilst handling a previous commit; correct.
2022-03-18 18:18:48 +00:00
toaster
86f2a551e6
Fix floor sprite projection
...
# Conflicts:
# src/r_plane.c
# src/r_things.h
2022-03-18 18:16:31 +00:00
Nev3r
65a339ec12
Fix the equation constant fields not being filled properly.
2022-03-18 17:54:13 +00:00
Nev3r
c7b7079ec6
Let equation slopes be read from textmaps.
2022-03-18 17:54:03 +00:00
Nev3r
9992d36bf3
Add slope equation constant parsing functionality.
2022-03-18 17:53:53 +00:00
toaster
dd8acd4c61
Initialize slopes before the map loads.
...
# Conflicts:
# src/p_setup.c
# src/p_slopes.h
2022-03-18 17:53:45 +00:00
GoldenTails
134f94474c
Copy colormaps so Lua cannot modify cached colormaps! (And Z_Free them on garbage collection.)
2022-03-18 17:49:46 +00:00
GoldenTails
53ec972887
Make the colormap returned by v.getColormap() writable.
...
I mean it was already readable anyway...
2022-03-18 17:49:37 +00:00
Jaime Ita Passos
0abc659168
Update r_opengl.c
2022-03-18 17:46:18 +00:00
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