Jaime Passos
b4b4738c94
Changes to sprite rendering:
...
- Added render flags (see r_defs.h)
- Implemented floor splats
- Drop shadow sprite rendering through render flags
2020-10-12 00:13:22 -03:00
Jaime Passos
3e06bd4985
Move calculation of rotated patch dimensions into its own function
...
Simplify rotation code when the pivot isn't in the center
2020-10-11 03:39:31 -03:00
James R
45f9df2951
Use the macro in sectorlines_num too
2020-10-10 17:40:01 -07:00
James R
bbb82166d3
Turn the lua sector lines hack into a macro
2020-10-10 16:43:09 -07:00
Jaime Passos
63bdcb294e
Fix rotated flipped patches
2020-10-10 19:06:29 -03:00
Jaime Passos
c40f2b3f2b
Add r_patchrotation.h
2020-10-10 18:53:05 -03:00
Jaime Passos
e23929a899
Refactor patch rotation
2020-10-10 18:43:26 -03:00
Jaime Passos
b44837324f
Merge branch 'next' into patch-stuff-again-2
2020-10-10 17:01:10 -03:00
Hannu Hanhi
a5dde40252
Put newline to end of m_perfstats.h
2020-10-10 22:23:33 +03:00
Hannu Hanhi
24ff748c58
Performance stats
2020-10-10 22:12:34 +03:00
Jaime Passos
e746a1ecba
Only check the tRNS (trans) chunk if the image is still palettized
2020-10-10 14:17:53 -03:00
Jaime Passos
8dcc415202
Compare the PNG's palette with the game's palette instead of assuming they are the same
2020-10-10 14:17:42 -03:00
Jaime Passos
3623d715b8
Fix bug
2020-10-10 13:37:23 -03:00
Jaime Passos
b7d1c0b1e4
Make 3D floors cull areas below or above them to reduce overdraw (2)
2020-10-10 01:00:39 -03:00
James R
bc637afd09
Show revert value of cvar with help command
2020-10-09 16:28:03 -07:00
James R
c920e688c0
When save/loading config use revert value for netvars if you are not the server
2020-10-09 16:22:17 -07:00
James R
b088aad169
Add CV_NETVAR to server affecting cvars
...
showjoinaddress
maxplayers
joindelay
rejointimeout
resynchattempts
blamecfail
maxsend
noticedownload
downloadspeed
jointimeout
maxping
pingtimeout
servername
2020-10-09 15:23:16 -07:00
James R
e9d8166e3b
Add CV_SAVE to netvars
...
dumpconsistency
allowjoin
joinnextround
restrictskinchange
allowteamchange
startinglives
respawndelay
competitionboxes
allowseenames
matchboxes
specialrings
powerstones
countdowntime
touchtag
hidetime
autobalance
teamscramble
scrambleonchange
friendlyfire
overtime
pointlimit
timelimit
basenumlaps
allowexitlevel
inttime
coopstarposts
cooplives
advancemap
playersforexit
exitmove
pausepermission
respawnitemtime
respawnitem
flagtime
tv_recycler
tv_teleporter
tv_superring
tv_supersneaker
tv_invincibility
tv_jumpshield
tv_watershield
tv_ringshield
tv_forceshield
tv_bombshield
tv_1up
tv_eggmanbox
2020-10-09 15:06:09 -07:00
Zippy_Zolton
25b0290e2e
I am going to die :D
2020-10-09 15:42:55 -05:00
James R
1d6fbed871
Oops, go straight to evaluation if not in a netgame
...
serverrunning means that you are actually the server.
2020-10-09 13:16:56 -07:00
sphere
734a94439c
how did this even happen
2020-10-09 05:55:10 -04:00
Jaime Passos
f133726df0
Let the server or an admin toggle clients' custom shaders
2020-10-09 02:06:13 -03:00
James R
6363162826
Merge branch 'sanity-meter-empty' into 'next'
...
Replace cvar initializers with a macro
See merge request STJr/SRB2!1178
2020-10-08 22:02:25 -04:00
James R
4e011051db
Merge branch 'manifest-stuff' into 'next'
...
Provide a default exe manifest
See merge request STJr/SRB2!1174
2020-10-08 22:01:17 -04:00
James R
c75429b5c1
Merge branch 'fix-theoretical-lua-exposure-crashes' into 'next'
...
Fix some theoretical crashes when using the P_*XYMovement, P_*ZMovement, and P_RailThinker functions in Lua.
See merge request STJr/SRB2!1173
2020-10-08 22:01:02 -04:00
James R
eaec5126a6
Merge branch 'ogl-driver-error' into 'next'
...
Add error message when the GDI Generic OpenGL renderer is encountered in Windows
See merge request STJr/SRB2!1172
2020-10-08 22:00:43 -04:00
James R
ed0336a9f5
Merge branch 'expose-modversion-to-lua' into 'next'
...
Expose MODVERSION to Lua (because for some reason it wasn't).
See merge request STJr/SRB2!1158
2020-10-08 21:57:38 -04:00
James R
a82f568fc3
Merge branch 'next' into 'next'
...
Updated 16 bit momentum values to 32 bit in demos, changed demo version
See merge request STJr/SRB2!1157
2020-10-08 21:56:30 -04:00
Jaime Passos
70cd48c9a2
Merge remote-tracking branch 'origin' into slight-shader-cleanup
2020-10-08 22:45:39 -03:00
James R
ac8def3139
Merge branch 'lua-sectorsounds' into 'next'
...
Support sectors as sound origins in Lua
See merge request STJr/SRB2!1144
2020-10-08 21:05:01 -04:00
James R
14e586bfd3
Merge branch 'autocomplete-aliases' into 'next'
...
Autocomplete aliases in console
See merge request STJr/SRB2!1113
2020-10-08 20:30:07 -04:00
James R
0772c702cc
Merge branch 'v-string-colormap-lua-exposure' into 'next'
...
Expose V_GetStringColormap to Lua via v.getStringColormap().
See merge request STJr/SRB2!1111
2020-10-08 20:28:25 -04:00
James R
df8c185ba7
Merge branch 'chain-attraction-homing' into 'next'
...
Chain Homing with Attraction Shield
See merge request STJr/SRB2!1109
2020-10-08 20:19:21 -04:00
sphere
77f64b0a81
A special stage is a special stage, even outside of coop.
2020-10-08 18:45:20 +02:00
James R
2a316e49e5
Revert netvars after leaving a netgame
2020-10-06 23:32:11 -07:00
James R
b7c4a82a0f
Replace C90's junk with a modest macro
2020-10-06 23:04:23 -07:00
Zachary McAlpin
bff3b20c4a
Made states unmodifable in CMD building code
2020-10-06 16:54:23 -05:00
Zachary McAlpin
ae238236c8
Update comment
2020-10-06 16:43:14 -05:00
sphere
a627c0b013
Only set MV_MP in multiplayer or a netgame.
2020-10-06 19:06:06 +02:00
sphere
be761714f6
Don't count demo playback as visiting a level.
2020-10-06 16:49:53 +02:00
GoldenTails
3514ecdec8
Update help message to mention supported file extensions, and change the description to "Load add-ons"
2020-10-06 03:37:23 -05:00
Zachary McAlpin
36d7ddeb09
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into playercmd-kart-port
2020-10-06 02:07:05 -05:00
GoldenTails
f289999ce3
Add warning when files are skipped due to being previously processed.
2020-10-04 21:03:29 -05:00
GoldenTails
79861c1a98
Give the addfile command variable argument support.
2020-10-04 21:02:20 -05:00
gm3k4g
73ae63d8c4
Added splitscreen command line parameter
2020-10-05 00:12:13 +03:00
Steel Titanium
db0757aa69
Provide a default exe manifest
2020-10-03 19:53:59 -04:00
GoldenTails
da3a1b18f9
Fix some theoretical crashes when using the P_*XYMovement, P_*ZMovement, and P_RailThinker functions.
2020-10-03 13:24:47 -05:00
Louis-Antoine
9da21a1518
Let Lua scripts access userdata metatables
2020-10-03 18:40:37 +02:00
Hannu Hanhi
e234eb8f87
Add error message when the GDI Generic OpenGL renderer is encountered in Windows
2020-10-03 18:45:56 +03:00
Louis-Antoine
6f707dfbda
Let Lua scripts relink tables to their metatables when unarchiving
...
This is done through the new "registermetatable" function,
in a somewhat similar fashion to "freeslot" but for metatables:
it must be called at script load to tell SRB2 your metatable
can be automatically relinked during the unarchiving process.
2020-10-03 16:31:04 +02:00