spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
spherallic
91ef59f76b
Fix tiny regression with special stage tally
2023-03-31 13:36:54 +02:00
spherallic
540c5d6cc0
Add flag to action 433 to force MFE_VERTICALFLIP
2023-03-20 15:46:15 +01:00
LJ Sonic
0f9c5582a3
Add basic rate limitation for Lua file access
2023-03-19 14:52:12 +01:00
LJ Sonic
62aef145f5
Fix time functions not starting from zero
2023-03-19 14:44:18 +01:00
James R
07e4497320
Add COM_LUA to a bunch of commands
...
These commands be run from Lua:
- add
- addfile
- addfolder
- archivetest
- ban
- banip
- causecfail
- cecho
- cechoduration
- cechoflags
- changeteam
- changeteam2
- charability
- charspeed
- cheats
- clearbans
- clearscores
- connect
- countmobjs
- csay
- demote
- devmode
- displayplayer
- downloads
- drop
- droprate
- dumplua
- echo
- exitgame
- exitlevel
- gametype
- getallemeralds
- getplayernum
- god
- gravflip
- help
- hurtme
- isgamemodified
- jumptoaxis
- kick
- listwad
- login
- manual
- map
- mapmd5
- masterserver_update
- memdump
- memfree
- mod_details
- motd
- noclip
- nodes
- notarget
- numnodes
- numthinkers
- objectplace
- password
- pause
- ping
- playintro
- promote
- quit
- reloadbans
- resendgamestate
- resetcamera
- resetemeralds
- restartaudio
- retry
- rteleport
- runsoc
- savecheckpoint
- say
- sayteam
- sayto
- scale
- screenshot
- serverchangeteam
- setcontinues
- setlives
- setrings
- showbanlist
- showmap
- showscores
- showtime
- skynum
- startmovie
- stopdemo
- stopmovie
- suicide
- teleport
- toggle
- togglemodified
- toggletwod
- tunes
- version
- vid_info
- vid_modelist
- vid_nummodes
- weather
2023-03-15 17:22:56 -07:00
James R
49f1462f75
Only let Lua run commands registered with COM_LUA
2023-03-15 16:40:21 -07:00
James R
8a6f2e568b
Add a flags parameter to COM_AddCommand
2023-03-15 16:40:21 -07:00
James R
0405df1a47
Merge COM_SAFE with other COM flags
...
Renames COM_SAFE to COM_LUA.
2023-03-15 16:40:21 -07:00
James R
ff0f6e9b74
Add CV_ALLOWLUA to a bunch of cvars
...
These cvars can be modified by Lua.
- advancemap
- allowexitlevel
- allowjoin
- allowmlook
- allowseenames
- allowteamchange
- autobalance
- basenumlaps
- cam2_adjust
- cam2_centertoggle
- cam2_curdist
- cam2_curheight
- cam2_dist
- cam2_height
- cam2_lockaimassist
- cam2_lockedinput
- cam2_orbit
- cam2_rotate
- cam2_rotspeed
- cam2_shiftfacingchar
- cam2_simpledist
- cam2_simpleheight
- cam2_speed
- cam2_still
- cam2_turnfacingability
- cam2_turnfacingchar
- cam2_turnfacinginput
- cam2_turnfacingspindash
- cam2_turnmultiplier
- cam_adjust
- cam_centertoggle
- cam_curdist
- cam_curheight
- cam_dist
- cam_height
- cam_lockaimassist
- cam_lockedinput
- cam_orbit
- cam_rotate
- cam_rotspeed
- cam_shiftfacingchar
- cam_simpledist
- cam_simpleheight
- cam_speed
- cam_still
- cam_turnfacingability
- cam_turnfacingchar
- cam_turnfacinginput
- cam_turnfacingspindash
- cam_turnmultiplier
- color
- color2
- competitionboxes
- cooplives
- coopstarposts
- countdowntime
- exitmove
- flagtime
- forceskin
- friendlyfire
- gravity
- hidetime
- inttime
- itemfinder
- killingdead
- matchboxes
- maxplayers
- mute
- numlaps
- overtime
- pausepermission
- playersforexit
- pointlimit
- powerstones
- respawndelay
- respawnitem
- respawnitemtime
- restrictskinchange
- ringslinger
- runscripts
- scrambleonchange
- seenames
- servername
- showhud
- showinputjoy
- skin
- skin2
- specialrings
- startinglives
- tailspickup
- teamscramble
- timelimit
- touchtag
- tv_1up
- tv_bombshield
- tv_eggman
- tv_forceshield
- tv_invincibility
- tv_jumpshield
- tv_recycler
- tv_ringshield
- tv_superring
- tv_supersneaker
- tv_teleporter
- tv_watershield
2023-03-15 16:40:21 -07:00
James R
15e3d0e667
Fix toggle command and add command being able to bypass Lua restriction
2023-03-15 16:40:21 -07:00
James R
5d08bfd706
Rename CV_NOLUA to CV_ALLOWLUA, opt IN to Lua mutability
2023-03-15 16:40:21 -07:00
James R
a39f69c9c7
Reset com_flags at end of COM_BufExecute
...
Fixes com_flags being discarded after the first command in
a chain (semicolon list).
2023-03-15 16:40:21 -07:00
James R
e48786961a
exec: pass on com_flags
2023-03-15 16:40:21 -07:00
James R
db4de0f50e
sdl/i_video.c: fix compile prior to SDL 2.0.18
2023-03-15 16:39:53 -07:00
Tatsuru
2a50626b00
Initial commit
2023-03-15 17:50:13 -03:00
LJ Sonic
404492cb30
Merge branch 'floorspriteslope-interp-disable' into 'next'
...
Disable floor splat slope interpolation
See merge request STJr/SRB2!1934
2023-03-13 18:28:31 +00:00
LJ Sonic
ac4d89e4d8
Merge branch 'sw-vsync-fix' into 'next'
...
Fix software vsync
See merge request STJr/SRB2!1940
2023-03-13 18:28:28 +00:00
spherallic
a95f5ba7ea
Merge branch 'next' into public_next
2023-03-13 12:03:24 +01:00
spherallic
57148ef9c2
Fix Explosion Ring explosion interpolation
2023-03-02 18:10:47 +01:00
MascaraSnake
b5c3b30f13
Merge branch 'fix-wnon-literal-null-conversion-and-wconstant-conversion' into 'next'
...
Fix -Wnon-literal-null-conversion and -Wconstant-conversion warnings
See merge request STJr/SRB2!1929
2023-03-02 09:12:24 +00:00
Monster Iestyn
851ca92aaa
revert Eidolon's edits for testing the IT/CTF flag sign fixes, they were left in by mistake
2023-02-28 17:51:26 +00:00
Eidolon
a308ad1119
Merge branch 'ctf-interpolation' into 'next'
...
Fix IT and ctf flag sign interpolation
See merge request STJr/SRB2!1939
2023-02-28 15:43:36 +00:00
sphere
171f5ac21c
Merge branch 'ambush-fix' into 'next'
...
Re-add code that sets MF2_AMBUSH if MTF_AMBUSH is set, but only for binary maps
Closes #958
See merge request STJr/SRB2!1937
2023-02-28 13:59:38 +00:00
sphere
b4e1f2d4ff
Merge branch 'udmf-defaults' into 'next'
...
Linedef type 14 UDMF conversion: Don't fill stringargs[0] if toptexture is empty
Closes #973
See merge request STJr/SRB2!1936
2023-02-28 13:59:35 +00:00
sphere
684566ebc4
Merge branch 'emblem-fix' into 'next'
...
Move emblem float option to args[1], since args[0] is already occupied for NiGHTS emblems
Closes #963
See merge request STJr/SRB2!1935
2023-02-28 13:59:32 +00:00
sphere
51d32f87ba
Merge branch 'deprecation-warnings' into 'next'
...
Deprecated map effect stuff
Closes #956
See merge request STJr/SRB2!1933
2023-02-28 13:59:30 +00:00
sphere
89e7ef16cc
Merge branch 'issue711' into 'next'
...
Fixes Issue #711
See merge request STJr/SRB2!1907
2023-02-28 13:51:35 +00:00
Eidolon
c42ef9f1be
Fix IT and ctf flag sign interpolation
2023-02-27 18:28:34 -06:00
sphere
7eabccbfac
Merge branch 'issue568' into 'next'
...
Fixes issue #568
Closes #568
See merge request STJr/SRB2!1913
2023-02-27 20:37:50 +00:00
sphere
1dfb8ed4c3
Merge branch 'issue912a' into 'next'
...
Fixes Issue #912
Closes #912
See merge request STJr/SRB2!1909
2023-02-27 20:37:38 +00:00
Eidolon
a32dc3daa0
Fix software vsync
...
This pre-SDL 2.0.18 hack from the interp branch is no longer needed when
building with a new enough SDL version. This makes vid_wait toggleable
at all times if SDL is at least 2.0.18.
2023-02-26 17:57:44 -06:00
MascaraSnake
bb9e7045c5
Fix wrong flag being checked in P_ProcessTeamBase
2023-02-25 15:43:51 +01:00
MascaraSnake
6e7ff69720
Re-add code that sets MF2_AMBUSH if MTF_AMBUSH is set, but only for binary maps
2023-02-25 15:03:52 +01:00
MascaraSnake
283f7e8919
Linedef type 14 UDMF conversion: Don't fill stringargs[0] if toptexture is empty
2023-02-25 13:24:14 +01:00
MascaraSnake
d58dad7f98
Move emblem float option to args[1], since args[0] is already occupied for NiGHTS emblems
2023-02-25 11:58:12 +01:00
Eidolon
9a9a16183f
Disable floor splat slope interpolation
...
Getting these to interpolate correctly is proving to be an absolute
ordeal and I would rather have them look correct-but-not-interpolated
than completely broken.
2023-02-24 18:49:09 -06:00
MascaraSnake
aba57612d5
-Only print deprecated map effect warnings once on map load
...
-Add missing unsupported effect warnings to P_WriteTextmap
-Apply spikes MSF_TRIGGERSPECIAL_TOUCH hack in UDMF too
2023-02-19 07:27:16 +01:00
Eidolon
707860815b
Merge GitHub PR #514 into next
...
fix ARM builds being completely broken
Conditionally adds -mno-ms-bitfields based on architecture, as this is
only relevant on Intel architectures.
https://github.com/STJr/SRB2/pull/514
2023-02-08 21:15:04 -06:00
cobalt2727
4f8d2fcdc8
fix ARM builds being completely broken
...
If merged, this is the quickest approach to resolve https://github.com/STJr/SRB2/issues/513
...alternatively, we could just remove the option altogether but I don't have the time right now to test whether it's needed or not
To the best of my knowledge, this covers all possible amd64 `CMAKE_SYSTEM_PROCESSOR` values based on what I'm seeing at https://stackoverflow.com/questions/70475665/what-are-the-possible-values-of-cmake-system-processor
2023-02-08 14:46:09 -05:00
spherallic
4a1e99729b
Merge branch 'next' into public_next
2023-01-31 15:47:11 +01:00
sphere
337a94eb99
Merge branch '2211-gamepaddefaults' into 'next'
...
Change gamepad defaults for 2.2.11
Closes #813
See merge request STJr/SRB2!1928
2023-01-31 14:43:30 +00:00
MascaraSnake
efca1eccca
Merge branch 'floormover-tag-fix' into 'next'
...
EV_DoFloor: Set dummy tag correctly for chained linedef executing
Closes #932
See merge request STJr/SRB2!1898
2023-01-28 06:33:11 +00:00
MascaraSnake
02fa860c46
Merge branch 'thingonspecial3dfloor' into 'next'
...
Re-add P_ThingOnSpecial3DFloor for Lua backwards compatibility
See merge request STJr/SRB2!1905
2023-01-28 06:32:42 +00:00
MascaraSnake
6055b1490b
Merge branch 'udmf-triggerer' into 'next'
...
UDMF: Use string values for the sector "triggerer" field
See merge request STJr/SRB2!1902
2023-01-28 06:32:29 +00:00
MascaraSnake
c25cb5732d
Merge branch 'specialstagepit-fix' into 'next'
...
Disable exit sectors in non-NiGHTS special stages because they interfere with the pits
Closes #930
See merge request STJr/SRB2!1900
2023-01-28 06:32:16 +00:00
Jaime Ita Passos
b64dac714f
Fix -Wnon-literal-null-conversion and -Wconstant-conversion warnings
2023-01-28 00:18:55 -03:00
spherallic
a6599c176d
Change gamepad defaults for 2.2.11
2023-01-27 16:49:53 +01:00
Arthur
20724ad70b
Also retain PF_CANCARRY
2023-01-27 09:46:02 -05:00
MascaraSnake
f94695390e
Merge branch 'revert-gamepads' into 'next'
...
Revert Gamepads for now
See merge request STJr/SRB2!1926
2023-01-27 13:53:45 +00:00
MascaraSnake
c84a71dcf5
Merge branch 'splitscreen-hooks' into 'next'
...
Handle splitscreen lua hud lists separately
Closes #935
See merge request STJr/SRB2!1925
2023-01-27 13:53:23 +00:00
MascaraSnake
5c91d78fcb
Merge branch 'rollangle-parity' into 'next'
...
Invert OpenGL rollangle for papersprites to match software renderer behaviour
Closes #849
See merge request STJr/SRB2!1924
2023-01-27 13:52:00 +00:00
Eidolon
e5dea805fa
Revert "Merge branch 'gamepad-refactor' into next"
...
This reverts commit 696e2ab909
, reversing
changes made to d98d59494f
.
2023-01-26 19:26:28 -06:00
Eidolon
366ee4ad92
Revert "Merge branch 'gamepad-refactor-lua-features' into 'next'"
...
This reverts commit 7f1cafcd3d
, reversing
changes made to 696e2ab909
.
2023-01-26 19:26:24 -06:00
Eidolon
6cc48a6e89
Revert "Merge branch 'gamepad-refactor-lua-rumble' into 'next'"
...
This reverts commit 7d8e8e20b7
, reversing
changes made to 7f1cafcd3d
.
2023-01-26 19:26:21 -06:00
Eidolon
7ad54af89f
Revert "Fix axis inversion and camera look inversion"
...
This reverts commit 6428d6fc61
.
2023-01-26 19:26:17 -06:00
Eidolon
bbf6e8ccce
Revert "sdl: SDL version-guard controller type and hidapi"
...
This reverts commit ec58b1504d
.
2023-01-26 19:26:02 -06:00
Eidolon
2810a46095
Revert "sdl: Version-guard rumble and extended buttons"
...
This reverts commit f5f224136b
.
2023-01-26 19:25:59 -06:00
Eidolon
40a5580e65
Revert "sdl: Yet more SDL rumble version-guards"
...
This reverts commit df28ffd72e
.
2023-01-26 19:25:56 -06:00
Eidolon
f9c9e0829a
Revert "sdl: I can't believe it's more version-guards"
...
This reverts commit fdb6f2aff9
.
2023-01-26 19:25:53 -06:00
Eidolon
5827a19b89
Revert "Merge branch 'controller-fixes' into 'next'"
...
This reverts commit 71736f358f
, reversing
changes made to 4e3f78784a
.
2023-01-26 19:24:52 -06:00
Eidolon
bbd4cff75c
Revert "Merge branch 'gamepadtweaks' into 'next'"
...
This reverts commit 96bfd8cea7
, reversing
changes made to 24f9ec4ec4
.
2023-01-26 19:24:21 -06:00
Eidolon
f1a7494a31
Handle splitscreen lua hud lists separately
...
Fixes STJr/SRB2#935 by ensuring each drawlist is drawn separately while
stplyr is set correctly.
2023-01-26 08:59:51 -06:00
Lach
42fa7f4723
Invert OpenGL rollangle for papersprites to match software renderer behaviour
2023-01-26 15:29:35 +11:00
Eidolon
b02707a4ee
Adjust caption pop-in by tics instead of frames
...
Fixes STJr/SRB2#900 pop-in animation being affected by framerate
2023-01-25 21:09:50 -06:00
Eidolon
add018cb83
Interpolate minecart marks
...
Fixes STJr/SRB2#906
Uses the old displacement of the minecart to position the mark relative
to its destination. It's not completely correct, but it works.
2023-01-25 21:09:50 -06:00
Eidolon
6c54af3774
Fix precip interpolation
...
Fixes STJr/SRB2#916
2023-01-25 21:09:50 -06:00
Alam Ed Arias
43eb7526c0
Update http-mserv.c
2023-01-20 19:00:50 +00:00
LJ Sonic
379cc4207a
Revert "Merge branch 'netcode-refactor' into merging"
...
This reverts merge request !1920
2023-01-15 17:57:23 +00:00
LJ Sonic
41fb0c8943
Merge branch 'netcode-refactor' into merging
2023-01-15 17:45:06 +01:00
LJ Sonic
fe304ae2db
Cleanup comments
2023-01-15 13:10:23 +01:00
LJ Sonic
d1ba9e0afd
Cleanup
2023-01-15 13:08:31 +01:00
LJ Sonic
425fce69c9
Add missing include directive
2023-01-14 20:02:20 +01:00
LJ Sonic
823fa5d27b
Cleanup
2023-01-14 20:02:06 +01:00
LJ Sonic
9291416a90
Split SV_SendTics into functions
2023-01-14 19:01:36 +01:00
LJ Sonic
530a03cc7d
Fix function name
2023-01-14 15:14:09 +01:00
LJ Sonic
aa18d5c3ff
Move net command sending to a new function
2023-01-14 14:53:27 +01:00
LJ Sonic
4081dd8edf
Move net command copying to a new function
2023-01-14 14:52:13 +01:00
LJ Sonic
a7a3f97c7b
Split PT_ClientCmd into functions
2023-01-14 14:49:33 +01:00
LJ Sonic
0859a1597f
Add missing include directive
2023-01-13 22:28:03 +01:00
LJ Sonic
2a360a4201
Reorder functions in d_clisrv.c
2023-01-13 22:05:57 +01:00
spherallic
207053a023
Prevent A_LobShot from dividing by 0
2023-01-13 17:10:50 +01:00
LJ Sonic
ab23b445b0
Move netgame commands to a new file
2023-01-12 19:40:31 +01:00
sphere
96bfd8cea7
Merge branch 'gamepadtweaks' into 'next'
...
Gamepad fixes & changes
Closes #813
See merge request STJr/SRB2!1899
2023-01-11 12:54:24 +00:00
LJ Sonic
18bfc3266a
Remove reboundstore timeout hack
2023-01-09 22:14:58 +01:00
LJ Sonic
62cfb0eb81
Fix clients not being able to join servers
2023-01-09 21:39:33 +01:00
LJ Sonic
1eb801399b
Move comment to an appropriate place
2023-01-08 16:33:21 +01:00
LJ Sonic
5a608120ff
Simplify convoluted code
2023-01-08 16:28:41 +01:00
LJ Sonic
62986da9da
Remove useless variable
2023-01-08 13:27:08 +01:00
MascaraSnake
24f9ec4ec4
Merge branch 'fffff' into 'next'
...
Fix fox follower's flickering flindicator (fixes #819 )
Closes #819
See merge request STJr/SRB2!1918
2023-01-08 10:28:48 +00:00
LJ Sonic
75b52171d2
Call all packet handlers from the same place
2023-01-08 00:47:33 +01:00
LJ Sonic
db85e956c9
Rename packet handlers to match their associated PT_ constants
2023-01-08 00:46:12 +01:00
LJ Sonic
fef13b630c
Remove outdated or misleading comments
2023-01-08 00:43:18 +01:00
LJ Sonic
4a2fd43aff
Add missing _pak suffix to a few packet structures
2023-01-07 16:14:41 +01:00
LJ Sonic
7240ed22de
Add missing PT_ prefix to a few packet handlers
2023-01-07 15:57:17 +01:00
LJ Sonic
dfdbdee0a8
Move netcode console variables to appropriate files
2023-01-07 15:57:04 +01:00
LJ Sonic
94ba47a950
Remove unused stuff
2023-01-07 13:37:33 +01:00
LJ Sonic
d1c5f7adcc
Move gamestate handling to a new file
2023-01-07 13:01:48 +01:00
MascaraSnake
f50e7f2515
Merge branch 'more-use-afters-frees' into 'next'
...
Fix use after free bug
See merge request STJr/SRB2!1867
2023-01-07 10:37:32 +00:00
MascaraSnake
6ece0f1a00
Merge branch 'fix-hurtmsg-hook' into 'next'
...
Fix HurtMsg inflictor mobj type discriminator
Closes #874
See merge request STJr/SRB2!1903
2023-01-07 10:32:58 +00:00