Nev3r
22dfa05c31
Forgot the stringargs.
2021-07-13 17:44:28 +02:00
Nev3r
aed86781fc
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.
2021-07-13 17:41:38 +02:00
Shane Ellis
33ae95bf13
G_RemovePlayer error handling
2021-07-12 23:38:52 -04:00
sphere
113cedd4b6
Merge branch 'polyobject-plane-stability' into 'next'
...
Use floating-point math for polyobject planes as well.
Closes #581
See merge request STJr/SRB2!1533
2021-07-12 12:47:35 -04:00
James R
58fa44e8dc
CMP0115
2021-07-12 03:50:44 -07:00
SteelT
0faecf0959
version.h: Update comment about contacting an MS admin
2021-07-11 20:51:06 -04:00
Monster Iestyn
c337709d10
Update f_finale.c
2021-07-11 16:32:36 -04:00
lachablock
117e3e2670
Expose P_TryCameraMove and P_TeleportCameraMove, disallow write access to camera.x and camera.y, allow write access to camera.height and camera.radius
2021-07-11 16:23:50 +10:00
lachablock
366b1f65a1
Allow Lua write access to camera_t variables & expose the cameras globally
2021-07-10 18:22:07 +10:00
James R
e30d4f954b
Revert netvars after demo finishes playback
...
(Demos do not call CL_Reset BTW.)
2021-07-08 14:37:03 -07:00
SMS Alfredo
cb619fad5d
Rebase on !1307
2021-07-07 19:57:28 -05:00
James R
b4fa98d2fb
Refactor hudlib hooks to hooklib
...
HUD hooks now meet the standard of hooklib. HUD registry
magic numbers are gone.
HUD hooks may also be added using addHook.
addHook('HUD', fn[, type])
hud.add still exists, but the intention is to remove it
eventually.
2021-07-07 00:23:51 -07:00
James R
ae57b6ca86
MORE MACROS
...
I just can't stop myself!
2021-07-07 00:21:08 -07:00
James R
331329306c
Refactor hook ref allocation
2021-07-06 20:27:00 -07:00
James R
a75d4a1c36
Automatically count hook values
2021-07-06 18:42:08 -07:00
James R
14c5d2c916
Warn if Lua attempted access NOLUA consvar
...
And quote variable name.
2021-07-05 18:39:12 -07:00
James R
18cbc1e370
Fix aliases bypass COM_SAFE
2021-07-05 18:31:04 -07:00
MascaraSnake
7e88db938d
Adapt polyobject translucency fade linedef to UDMF
2021-07-04 19:28:14 +02:00
MascaraSnake
6d007f388a
Adapt set translucency linedef to UDMF
2021-07-04 15:37:42 +02:00
MascaraSnake
d2ad12c034
Adapt polyobject displacement linedefs to UDMF
2021-07-04 14:41:37 +02:00
MascaraSnake
429c6588af
Adapt polyobject waving flag linedef to UDMF
2021-07-04 14:10:11 +02:00
MascaraSnake
5c2ce62f00
Adapt polyobject visibility/tangibility linedefs to UDMF
2021-07-04 13:45:41 +02:00
MascaraSnake
2cbda0e5ac
Adapt polyobject waypoint movement linedef to UDMF
2021-07-04 13:20:10 +02:00
MascaraSnake
6e9afabd44
Adapt polyobject move and rotate linedef types to UDMF
2021-07-04 12:54:48 +02:00
LJ Sonic
0482eacb7c
Load add-ons in the order in which the -file and -folder arguments are specified
2021-07-03 19:58:59 +02:00
James R
e24fe29114
Merge remote-tracking branch 'origin/master' into next
2021-07-02 15:55:36 -07:00
MascaraSnake
3b1d64703d
Adapt polyobject door move linedef types to UDMF
2021-07-02 17:18:55 +02:00
MascaraSnake
805bafd936
Adapt "change plane scroller direction" linedef type to UDMF
2021-07-02 12:51:39 +02:00
MascaraSnake
64b67bcfe0
Wind/current linedef: Apply to front sector if tag = 0
2021-07-01 23:15:13 +02:00
MascaraSnake
9718674d3b
Check for sector type in T_PointPusher
2021-07-01 20:59:46 +02:00
MascaraSnake
dcba011cf3
Adapt wind/current linedefs to UDMF
2021-07-01 20:35:13 +02:00
MascaraSnake
6f698b3065
Refactor wind/current thinker
2021-07-01 20:05:23 +02:00
MascaraSnake
d0888c4ac5
Split wind/current and point push/pull thinkers
2021-07-01 18:48:18 +02:00
MascaraSnake
052bfe130c
Make exclusive scrolling the default
2021-07-01 00:47:56 +02:00
MascaraSnake
977887f456
Adapt scroller linedefs to UDMF
2021-06-30 23:50:54 +02:00
Shane Ellis
afa8466b30
comment cleanup
2021-06-30 01:38:04 -04:00
Shane Ellis
94441d6eee
comment cleanup
2021-06-30 01:36:28 -04:00
Shane Ellis
ee765d1043
comment cleanup
2021-06-30 01:34:21 -04:00
Shane Ellis
dad361721f
comment cleanup
2021-06-30 01:32:24 -04:00
James R
22ab611daa
Makefile: do not automatically set WINDOWSHELL
...
According to this answer--
https://stackoverflow.com/a/45952425
--Make will always prefer a unix shell, even on Windows,
if one can be found in Path. So we can't check PATH to
determine if it's a Windows shell... this is just too much
bother.
2021-06-29 16:23:27 -07:00
James R
abdf5c101c
Makefile: report SHELL
2021-06-29 16:22:46 -07:00
James R
17e31f21ff
Merge branch 'master' into next
2021-06-29 14:42:53 -07:00
James R
6c03f9b5b3
fuck
2021-06-29 14:42:40 -07:00
CobaltBW
4f04097066
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2.git into addplayer
2021-06-29 14:32:46 -07:00
CobaltBW
c3fa9bea0f
ri# mified: src/tazx# mofied: src/tazx# modified: src/tazx# modified: src/tazxc
2021-06-29 14:07:49 -07:00
James R
215edeb395
Merge branch 'master' into next
2021-06-29 13:58:48 -07:00
James R
c1ecfa306f
Makefile: 'dep' not 'deps'
2021-06-29 13:58:38 -07:00
James R
7d01bd38d8
Fix return value of Lua key hooks not being used
2021-06-29 01:49:53 -07:00
James R
90763d42e1
Shuffle LUA_HookKey
2021-06-29 01:49:45 -07:00
MascaraSnake
ac5eb1518d
Add floor/ceiling/both enum
2021-06-27 12:36:46 +02:00
MascaraSnake
2da5b54e73
Now that set flats linedef exists, simplify set heights linedef
2021-06-27 12:21:26 +02:00
MascaraSnake
099cea0a19
Implement "set flats" linedef type
2021-06-27 11:56:06 +02:00
MascaraSnake
4b0e311740
Fix typo
2021-06-27 09:54:48 +02:00
MascaraSnake
92982be76b
Adapt the remaining plane movement linedef types to UDMF
2021-06-27 09:53:57 +02:00
MascaraSnake
588c56b224
Floor/ceiling movers: Stop abusing the texture variable to store the sourceline
2021-06-26 16:25:14 +02:00
MascaraSnake
202c56054e
Remove unused ceiling_t variables
2021-06-26 16:15:38 +02:00
MascaraSnake
299b2dcff2
Fix a small oversight
2021-06-26 15:29:42 +02:00
MascaraSnake
446e78b6e2
Linedef type 403: Allow executor chaining and flat change at the same time
2021-06-26 15:28:28 +02:00
MascaraSnake
63eafff5fe
Linedef type 403: Don't run the linedef executor twice
2021-06-26 14:53:14 +02:00
MascaraSnake
9fdd9060e4
Adapt crusher linedefs to UDMF
2021-06-26 12:53:14 +02:00
MascaraSnake
c8bb18b389
Adapt linedef type 53-58 to UDMF
2021-06-26 10:23:12 +02:00
MascaraSnake
5b1a42af4c
Refactor T_MoveFloor
2021-06-26 10:00:40 +02:00
MascaraSnake
de462f1213
Refactor T_MoveCeiling
2021-06-26 09:43:46 +02:00
MascaraSnake
d5490132b9
Remove crusher types from T_MoveCeiling (they're handled by T_CrushCeiling)
2021-06-26 09:30:17 +02:00
MascaraSnake
8f39e23105
Adapt linedef type 405 and 407 to UDMF
2021-06-26 08:43:35 +02:00
MascaraSnake
53976e4b52
Adapt linedef types 403-404 to UDMF
2021-06-26 08:31:59 +02:00
MascaraSnake
0eabbf0170
Instant ceiling movement: Only change texture if it's not -1
2021-06-25 22:06:04 +02:00
MascaraSnake
6abcba6876
Adapt linedef types 400-401 to UDMF + some EV_ cleanup
2021-06-25 18:34:56 +02:00
MascaraSnake
825b4b384a
Remove unused elevateCurrent elevator type
2021-06-25 11:40:19 +02:00
MascaraSnake
770612bc9d
Adapt moving platform linedef specials to UDMF
2021-06-25 11:33:16 +02:00
MascaraSnake
259700be3c
Get rid of customspeed in EV_DoElevator and read speed from args[1]
2021-06-25 11:11:16 +02:00
MascaraSnake
7025f12d95
-Pass tag as argument to EV_ functions
...
-Get rid of junk linedefs for specialized EV_ calls
-Store tag in args[0]
2021-06-25 10:12:16 +02:00
LJ Sonic
4af3b860fd
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2.git into folder-next
2021-06-25 00:30:30 +02:00
James R
753522fbb6
Merge remote-tracking branch 'origin/master' into next
2021-06-24 14:14:17 -07:00
MascaraSnake
5df079c653
Backwards compatibility: Add back bouncy FOF sector type, but mark it as deprecated
2021-06-23 22:21:19 +02:00
MascaraSnake
23efeeed8e
Merge branch 'next' into udmf-fofs-mkii
2021-06-23 19:48:26 +02:00
James R
ed85e994a4
Remove misplaced parentheses
2021-06-22 15:49:59 -07:00
James R
c3ad5de912
Makefile: let variables be defined on Make line
...
If a variable is defined as in 'make CC=gcc-10', then that
definition overrides anything other definition in the
Makefile.
2021-06-22 15:47:48 -07:00
James R
5f4d7e3c5b
Makefile: fail if old build directories exist
...
After a checkout from before revision, old directories
such as bin/Linux64 only remain if untracked files exist
within. This may be confusing to the user. They may even
use an outdated executable if it is one of those untracked
files.
2021-06-22 15:14:42 -07:00
LJ Sonic
c319f46462
Merge branch 'hooklib-refactor' into 'next'
...
Hooklib refactor
See merge request STJr/SRB2!1307
2021-06-22 09:52:12 -04:00
James R
d5146945a6
Makefile: don't automatically set WINDOWSHELL unless PATH matches Windows norms
...
This is for MSYS2, which requires unix shell commands.
2021-06-21 16:10:13 -07:00
James R
2d7a8c3c57
Makefile: use shell commands to read in Sourcefile
...
File function is not supported < Make 4.2.
2021-06-21 14:51:42 -07:00
James R
fa7a674113
Merge remote-tracking branch 'origin/master' into next
2021-06-19 19:39:15 -07:00
James R
c1aca51fc3
Fix basic warnings
2021-06-19 18:32:56 -07:00
Shane Ellis
09f445f227
Merge branch 'next' into 'addplayer'
...
# Conflicts:
# src/g_game.c
2021-06-19 20:20:45 -04:00
LJ Sonic
e3a5da3f6f
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2.git into HEAD
...
# Conflicts:
# src/lua_hook.h
# src/lua_hooklib.c
2021-06-19 20:49:12 +02:00
LJ Sonic
cfa48574be
Merge branch 'next' into 'lua-inputs'
...
# Conflicts:
# src/lua_script.c
2021-06-19 10:34:48 -04:00
sphere
357b64129c
Merge branch 'robo-hood-nojump' into 'next'
...
Restore toggle for Robo-Hood to not jump away from nearby players.
See merge request STJr/SRB2!1548
2021-06-18 10:00:42 -04:00
Radicalicious
63d217b689
Revert "Hopefully fix ghosts"
...
This reverts commit e46afda896
2021-06-18 05:06:52 +00:00
Radicalicious
e46afda896
Hopefully fix ghosts
2021-06-18 01:04:49 -04:00
sphere
3486e12088
Merge branch 'multitag-ignore0' into 'next'
...
Ignore a linedef tag of 0 when using linedef action 96.
See merge request STJr/SRB2!1543
2021-06-17 13:03:05 -04:00
sphere
0e030466e1
Add flag to line slopes for copying their slopes to the other side.
2021-06-17 13:23:27 +02:00
James R
b04c79d8a7
Say 'at'
2021-06-16 16:58:47 -07:00
James R
c142b3241d
Makefile: alert full path of final executable
...
With added textual contrast.
2021-06-16 16:26:17 -07:00
James R
3a044e71cc
Disable EXE disassembly and compression by default
...
NOOBJDUMP=1 and NOUPX=1 have been removed. Make 'dump'
target to disassemble. UPX=upx to compress executable.
Setting UPX used to cause it to fail. That has been fixed.
2021-06-16 15:39:23 -07:00
sphere
df5c9933ec
Restore toggle for Robo-Hood to not jump away from nearby players.
2021-06-16 16:12:38 +02:00
sphere
d90b6949d7
Merge branch 'i-havent-the-foggiest' into 'next'
...
Allow P_CheckSight to see through FF_FOG FOFs
See merge request STJr/SRB2!1546
2021-06-16 09:29:01 -04:00
sphere
d11a1bb016
Merge branch 'srbii' into 'next'
...
Replace "II" in credits with "2" for consistency
See merge request STJr/SRB2!1547
2021-06-15 05:42:59 -04:00
Radicalicious
781678389f
Replace "II" with "2" for consistency
2021-06-12 20:36:57 -04:00
James R
8be7c1a03d
Fix double micros conv.
...
blame e0a307da15
2021-06-11 18:31:38 -07:00
Radicalicious
460d46bbc9
Cut cv_hidetime's minimum value all the way down to 1
2021-06-11 10:52:31 -04:00
James R
46ca9613c6
Pop hook id fetched from table
2021-06-10 18:09:39 -07:00
James R
c9417f26e5
Fix pop original table in lua net archive
2021-06-10 17:47:03 -07:00
Monster Iestyn
4c9b83b6bd
Allow P_CheckSight to see through FF_FOG FOFs
2021-06-10 21:20:42 +01:00
Ors
2a89154667
Revert an accidental whitespace change
2021-06-10 14:23:51 -04:00
Riku Salminen
f1a96bd7ee
Add support for ghosts with netvars in 2.2.6 and before
2021-06-10 21:18:45 +03:00
Radicalicious
9210923b86
Cut cv_hidetime's minimum value to 5 seconds
2021-06-10 12:59:54 -04:00
sphere
52f9b47ce3
Ignore a linedef tag of 0 when using linedef action 96.
2021-06-10 17:49:33 +02:00
Riku Salminen
45e57fa791
Revert "Revert "Made height/spinheight and height change values in replays more accurate""
...
This reverts commit fbeabad797
.
2021-06-09 19:40:59 +03:00
Riku Salminen
fbeabad797
Revert "Made height/spinheight and height change values in replays more accurate"
...
This reverts commit 3daee0ebf8
.
2021-06-09 19:28:14 +03:00
sphere
786516fa5f
Merge branch 'kart-latency' into 'next'
...
Kart cmd->latency port
See merge request STJr/SRB2!1470
2021-06-09 10:53:09 -04:00
sphere
be8c97728c
Merge branch 'aproxdistance' into 'next'
...
Restore P_AproxDistance Lua parity
See merge request STJr/SRB2!1531
2021-06-08 07:47:38 -04:00
lachablock
4d1b3edb03
Split up x/y/z averages in A_Boss3ShockThink
2021-06-08 17:21:54 +10:00
James R
c325306ddf
Merge remote-tracking branch 'origin/master' into makefile-revision-final
2021-06-07 18:36:01 -07:00
James R
0f4eb4fab9
Merge conflicts 4d22b9f17
2021-06-07 18:13:56 -07:00
James R
4d22b9f17f
Merge remote-tracking branch 'origin/next' into hooklib-refactor
2021-06-07 18:12:52 -07:00
lachablock
0c5018040c
Merge remote-tracking branch 'origin/master' into next
2021-06-06 21:25:08 +10:00
sphere
c266a27073
Merge branch 'master' into 'master'
...
Fix console text bleeding
See merge request STJr/SRB2!1434
2021-06-06 07:01:30 -04:00
GoldenTails
409cba678d
metalrecording
2021-06-05 18:35:44 -05:00
Monster Iestyn
090e5384d5
Merge branch 'blendmode-rangecheck' into 'next'
...
Handle invalid blend modes
See merge request STJr/SRB2!1486
2021-06-05 09:02:31 -04:00
Radicalicious
7483a9d049
Switch num and flags so flags is optional
2021-06-03 10:55:42 -04:00
sphere
6ff212b79f
Use floating-point math for polyobject planes as well.
2021-06-03 16:01:09 +02:00
Radicalicious
cb5e433a49
Update lua_hudlib.c
2021-06-03 09:34:18 -04:00
lachablock
476dcc861b
Restore P_AproxDistance Lua parity
2021-06-03 14:36:29 +10:00
Shane Ellis
18c47afc76
Merge branch 'next' into 'addplayer'
...
# Conflicts:
# src/lua_baselib.c
# src/r_skins.c
2021-06-02 11:47:11 -04:00
sphere
2df75610e6
Merge branch 'allow-lua-to-override-special-stages' into 'next'
...
Allows Lua to transport you to a different map in place of a Special Stage.
See merge request STJr/SRB2!1368
2021-06-02 11:16:15 -04:00
sphere
8cfe7cd971
Merge branch 'unix-rdynamic' into 'next'
...
Compile with -rdynamic for UNIXCOMMON platforms
See merge request STJr/SRB2!1481
2021-06-02 06:31:14 -04:00
sphere
4aa3bea6ca
Merge branch 'fix-console-splitting' into 'next'
...
Fix the console splitting up halfway through startup.
Closes #349
See merge request STJr/SRB2!1494
2021-06-02 06:31:01 -04:00
sphere
fb453491dd
Merge branch 'models-spr2endstate' into 'next'
...
Fix models interpolating to frame 0 from a same-sprite2 FF_SPR2ENDSTATE state
See merge request STJr/SRB2!1515
2021-06-02 06:28:51 -04:00
Nev3r
a4300220e9
whitespace
2021-06-02 11:36:52 +02:00
Nev3r
9c68f8cbb0
Fix the equation constant fields not being filled properly.
2021-06-02 11:21:37 +02:00
Nev3r
aec1ab304a
Let equation slopes be read from textmaps.
2021-06-02 11:00:57 +02:00
Nev3r
36ce44e0a3
Add slope equation constant parsing functionality.
2021-06-02 11:00:47 +02:00
Nev3r
8cb62eeca5
Initialize slopes before the map loads.
2021-06-02 10:59:57 +02:00
sphere
d040b61edc
Merge branch 'multitagging_plus' into 'next'
...
Enhance the multitagging functionality added by !1485
See merge request STJr/SRB2!1524
2021-06-01 17:25:29 -04:00
flarn2006
115254efc9
Fix compiler warning related to precedence
2021-06-01 17:10:29 -04:00
sphere
5a91f3326a
Merge branch 'disable-int-emeralds' into 'next'
...
Some more intermission features for Lua
See merge request STJr/SRB2!1329
2021-06-01 15:38:00 -04:00
sphere
e203e457de
Merge branch 'custom3drotate-scale-fix' into 'next'
...
A_Custom3DRotate scale fix
See merge request STJr/SRB2!1525
2021-06-01 15:02:43 -04:00
sphere
70bcb6081f
Merge branch 'dashmode-lowroad' into 'next'
...
Have Metal Sonic use spinheight while dashing
See merge request STJr/SRB2!1382
2021-06-01 15:00:08 -04:00
sphere
69b6c409b5
Merge branch 'flicky-mapload-crash-fix' into 'next'
...
Flicky mapload crash fix (and other tmthing-related fixes)
Closes #81
See merge request STJr/SRB2!1522
2021-06-01 14:58:01 -04:00
flarn2006
172454f108
Fix offset_tags array indices
2021-06-01 10:09:57 -04:00
Nev3r
f7ee0dacf2
Merge branch 'lua_mapnumber' into 'next'
...
Expose M_MapNumber to Lua
See merge request STJr/SRB2!1521
2021-06-01 07:43:33 -04:00
Nev3r
2d155fa366
Merge branch 'remove-fracunit-2' into 'next'
...
I have no idea why software does this.
See merge request STJr/SRB2!1517
2021-06-01 07:42:36 -04:00
Nev3r
de0a91729b
Merge branch 'buttered-lua' into 'next'
...
Expose P_ButteredSlope to lua
See merge request STJr/SRB2!1397
2021-06-01 07:39:19 -04:00
Nev3r
6edad47788
Merge branch 'no-airwalking-springs' into 'next'
...
No airwalking (from horizontal springs)
See merge request STJr/SRB2!1428
2021-06-01 07:38:04 -04:00
Nev3r
b49238f7c4
Merge branch 'remove-iterdeclarations' into 'next'
...
Remove TAG_ITER_DECLARECOUNTER
See merge request STJr/SRB2!1398
2021-06-01 07:36:50 -04:00
Nev3r
ab06ff011e
Merge branch 'colorfret' into 'next'
...
Respect mobj->color while enemies & bosses flash (resolves #531 )
Closes #531
See merge request STJr/SRB2!1513
2021-06-01 02:31:22 -04:00
Nev3r
9e7d619a5b
Merge branch 'golden-nitpicks-use-of-base-10' into 'next'
...
Use more readable hex constants in the Software Renderer splat and floorsprite drawers.
See merge request STJr/SRB2!1442
2021-06-01 02:29:53 -04:00
sphere
4908712641
Merge branch 'go-away' into 'next'
...
Make a few messages more helpful (resolves #485 )
Closes #485
See merge request STJr/SRB2!1519
2021-05-31 16:32:42 -04:00
sphere
65350e59c9
Merge branch 'rollout-stuff' into 'next'
...
Rollout rock improvements
Closes #445 , #221 , and #532
See merge request STJr/SRB2!1401
2021-05-31 16:12:17 -04:00