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
Jaime Ita Passos
1219f36ca2
Fix polyobject segs messing with 3D floors they shouldn't be
2022-03-18 13:02:44 +00:00
James R
8c237ae452
Replace LUA_PushLightUserdata with LUA_PushUserdata
...
See c92378fa and a7e20f70 . I didn't realize that light
userdata's metatable is shared--like numbers or strings.
So it cannot be paired with a metatable.
I also made a few minor tweaks to Lua cvars, other than
accounting for the double pointer in the userdata.
2022-03-18 12:54:22 +00:00
James R
b1890385f4
Revert "Merge branch 'lightmemedata' into 'next'"
...
This reverts commit 7ff3e7f18b , reversing
changes made to dc37cdf2a6 .
2022-03-18 12:54:13 +00:00
Steel Titanium
e1e57c071b
Fix MusicChange hook not returning some values correctly
2022-03-18 12:52:08 +00:00
katsy
3fb2a1fba5
adjust cooldown to 5 seconds (bandage fix for 2.2.9)
2022-03-18 12:51:39 +00:00
katsy
38dc1c55e4
attempt to resolve teleportation resync issue
2022-03-18 12:51:31 +00:00
James R
59b7a65bca
It is impossible for a string to be allocated in this case
2022-03-18 12:47:21 +00:00
James R
2ba1417b9e
Free zstring when switching to preset value
...
This is only applicable for bounded cvars (MIN, MAX),
since otherwise there's no way to allocate a zstring.
2022-03-18 12:47:13 +00:00
Monster Iestyn
eeb208312a
Change numadded counter to UINT16 instead of UINT8, to allow for more sprites properly
2022-03-18 12:45:44 +00:00
Monster Iestyn
9e20d1ea31
Set "allocated" flag to off if setting a string from PossibleValue afterwards, or if not setting a new value at all.
2022-03-18 12:44:30 +00:00
toaster
2868639144
Add PF_ColorMapped
...
Not all surfaces have tint and fade colors. Checking for a specific surface flag, that tells the backend those colors are present, avoids uninitialized reads.
# Conflicts:
# src/hardware/hw_main.c
2022-03-18 12:43:36 +00:00
toaster
11875b56c7
Render midtextures on two-sided lines with a z-buffer offset
...
This will fix z-fighting issues when they overlap with FOFs.
# Conflicts:
# src/hardware/hw_main.c
2022-03-18 12:32:58 +00:00
Hannu Hanhi
b836d774a7
Remove bad pointer arithmetic in polygon comparators, that was causing glitches
2022-03-18 11:59:40 +00:00
Hannu Hanhi
44a8b01619
Fix incorrect values caused by outdated use of timing functions in perfstats 3
2022-03-18 11:58:29 +00:00
katsy
c1a4ff724e
move HWR_GetMappedPatch earlier
2022-03-18 11:56:50 +00:00
Hannu Hanhi
dcf944be9c
Fix a OpenGL backend DeleteTexture crash
2022-03-18 11:53:20 +00:00
toaster
f073218532
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into boss
...
# Conflicts:
# src/m_menu.c
2022-03-18 09:07:13 +00:00
James R
821fd41d70
Merge branch 'c99-pedantic' into 'master'
...
Switch compiler mode C90 to C99; enforce stricter standard conformance
See merge request KartKrew/Kart!554
2022-03-18 02:41:57 +00:00
toaster
1ac2730ced
Fix a signedness comparison warning in K_CheckBumpers.
2022-03-17 17:01:07 +00:00
toaster
8de92e8dca
Merge branch 'master' into boss
...
# Conflicts:
# src/k_bot.c
2022-03-17 16:58:42 +00:00
toaster
306d1cd3ae
Merge branch 'network' into 'master'
...
Net work
See merge request KartKrew/Kart!557
2022-03-17 16:50:40 +00:00