Commit graph

12207 commits

Author SHA1 Message Date
James R
9538ca696a Merge branch 'ceilingz' into 'next'
Add P_CeilingzAtPos function

See merge request STJr/SRB2!1164
2020-10-12 17:44:51 -04:00
Jaime Passos
b620f4835a Support spritexscale and spriteyscale in OpenGL
Fix papersprite scaling with spritexscale and spriteyscale in Software
2020-10-12 17:25:18 -03:00
Zippy_Zolton
da27f720da Whitelist the "X" shown in the HUD 2020-10-11 23:22:16 -05:00
Jaime Passos
cc97e22e2f 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
b808b3ef41 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
7f8ec74c27 Use the macro in sectorlines_num too 2020-10-10 17:40:01 -07:00
James R
8bc8946be8 Turn the lua sector lines hack into a macro 2020-10-10 16:43:09 -07:00
Jaime Passos
6145442a34 Fix rotated flipped patches 2020-10-10 19:06:29 -03:00
Jaime Passos
b2f45986ad Add r_patchrotation.h 2020-10-10 18:53:05 -03:00
Jaime Passos
6e5f71dd45 Refactor patch rotation 2020-10-10 18:43:26 -03:00
Jaime Passos
b15bbd505c Merge branch 'next' into patch-stuff-again-2 2020-10-10 17:01:10 -03:00
Hannu Hanhi
465693b242 Put newline to end of m_perfstats.h 2020-10-10 22:23:33 +03:00
Hannu Hanhi
4f20a20165 Performance stats 2020-10-10 22:12:34 +03:00
Jaime Passos
06c0932ab4 Only check the tRNS (trans) chunk if the image is still palettized 2020-10-10 14:17:53 -03:00
Jaime Passos
4d847f4223 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
0021a9aeaf Fix bug 2020-10-10 13:37:23 -03:00
Jaime Passos
c5a3a61b28 Make 3D floors cull areas below or above them to reduce overdraw (2) 2020-10-10 01:00:39 -03:00
James R
4b5cb8025b Show revert value of cvar with help command 2020-10-09 16:28:03 -07:00
James R
b67807dd04 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
f5e4d076b9 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
aa102dcea0 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
1c751fdf0f I am going to die :D 2020-10-09 15:42:55 -05:00
James R
a17446f905 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
76d16473b9 how did this even happen 2020-10-09 05:55:10 -04:00
Jaime Passos
0811f60b2a Let the server or an admin toggle clients' custom shaders 2020-10-09 02:06:13 -03:00
James R
15008f31a7 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
7c72eab58b 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
ddb6823fe5 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
45b9e23895 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
933381fb8f 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
d83a112fc5 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
63d4c1dffc Merge remote-tracking branch 'origin' into slight-shader-cleanup 2020-10-08 22:45:39 -03:00
James R
c3c34c489b 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
355cc1a697 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
88b3a3cd2e 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
95a5bb888a 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
James R
faaefd5061 Merge branch 'playercmd-kart-port' into 'next'
PlayerCmd Port

See merge request STJr/SRB2!1072
2020-10-08 20:10:16 -04:00
sphere
b71c75d2ec A special stage is a special stage, even outside of coop. 2020-10-08 18:45:20 +02:00
James R
b3d8ed7d43 Revert netvars after leaving a netgame 2020-10-06 23:32:11 -07:00
James R
dbd79a29a4 Replace C90's junk with a modest macro 2020-10-06 23:04:23 -07:00
Zachary McAlpin
0f3c87a705 Made states unmodifable in CMD building code 2020-10-06 16:54:23 -05:00
Zachary McAlpin
e393093e73 Update comment 2020-10-06 16:43:14 -05:00
sphere
f210316d8a Only set MV_MP in multiplayer or a netgame. 2020-10-06 19:06:06 +02:00
sphere
48ca58f580 Don't count demo playback as visiting a level. 2020-10-06 16:49:53 +02:00
GoldenTails
d5848e78fc 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
1681371fbd Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into playercmd-kart-port 2020-10-06 02:07:05 -05:00
GoldenTails
2d3a589167 Add warning when files are skipped due to being previously processed. 2020-10-04 21:03:29 -05:00
GoldenTails
0b74818771 Give the addfile command variable argument support. 2020-10-04 21:02:20 -05:00
gm3k4g
2cc8de2bdd Added splitscreen command line parameter 2020-10-05 00:12:13 +03:00
Steel Titanium
0aa1b16fd1 Provide a default exe manifest 2020-10-03 19:53:59 -04:00