Sal
4019005cfd
Merge branch 'advertisement-for-rpc' into 'master'
...
Move master server presence updates to Advertise_OnChange
See merge request KartKrew/Kart-Public!227
2020-09-15 16:22:32 -04:00
Sal
f76ec5cba3
Merge branch 'more-helpful-lua-error' into 'master'
...
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened
See merge request KartKrew/Kart-Public!228
2020-09-15 16:22:13 -04:00
Steel Titanium
11e2fb4110
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened
...
Shouldn't break scripts as it stops execution as soon it happens, like it already does.
2020-09-14 23:01:47 -04:00
Steel Titanium
58d4045b93
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened
...
Shouldn't break scripts as it stops execution as soon it happens, like it already does.
2020-09-14 22:54:07 -04:00
Sally Coolatta
9d3a49e4ae
Move master server presence updates to Advertise_OnChange
...
This will probably call DRPC_UpdatePresence slightly less?
2020-09-14 16:34:17 -04:00
Tatsuru
b3a84c469a
Encapsulate userdata checks
2020-09-14 17:33:26 -03:00
Sal
b0ee729f01
Merge branch 'small-to-issmall' into 'master'
...
Rename the "small" variable to "isSmall"
See merge request KartKrew/Kart-Public!226
2020-09-14 13:07:17 -04:00
Sally Coolatta
9f775a169d
Rename the "small" variable to "isSmall"
...
Reported by MK, apparently "small" is considered a data type for some systems. After a little bit of research, apparently it can happen when including <windows.h>... whatever, just rename the variable :p
2020-09-14 12:47:55 -04:00
James R
5c623f191f
Merge branch 'master' into next
2020-09-13 14:39:01 -07:00
James R
e4622cfeb3
Makefile: add WINDOWSHELL=1 for the Windows detect
...
(cherry picked from commit 6f51c68c7248d616ad16f66b72cfcc36b7c952f5)
2020-09-13 14:25:08 -07:00
James R
538c27f2fa
Makefile: automatically detect system to compile for, if no system was specified
...
This should work for mingw and linux so far.
(cherry picked from commit f92026f98b168f4556d50d3dde403ab6bfd97ff3)
2020-09-13 14:25:08 -07:00
James R
e415b4b475
Makefile: Make WARNINGMODE the default, optionally disable with RELAXWARNINGS
...
(cherry picked from commit 9495e6354fed1028c6fc502cc9d946cfdd0b7896)
2020-09-13 14:25:07 -07:00
James R
ce894b7837
Is it GCC is it gcc, is it????
...
(cherry picked from commit 246e71a463 )
2020-09-13 14:24:49 -07:00
James R
ec8cab9a3a
Update LATEST_GCC_VERSION too
...
(cherry picked from commit 4931d82393 )
2020-09-13 14:22:46 -07:00
James R
6e102db9c5
Add missing GCC version flags to the Makefile
...
(cherry picked from commit f939cf973b )
2020-09-13 14:22:45 -07:00
James R
ccefaa77e9
It's not always GCC, but it probably is gcc (I hope)
...
(cherry picked from commit 38ce80317d )
2020-09-13 14:12:36 -07:00
James R
599add9ad4
Forgot a comma
...
(cherry picked from commit 6cddbf7afb )
2020-09-13 14:12:36 -07:00
James R
c9463d90b6
Makefile: Move the PREFIX stuff up so version detection can take advantage of
...
(cherry picked from commit 2a059632a1 )
2020-09-13 14:12:36 -07:00
James R
8f3e2dd2dd
Detect the compiler version and set the correct GCC flag
...
If the version is not supported by the Makefile, the flag for the latest
version supported is set instead.
(cherry picked from commit 9963d38ce2 )
2020-09-13 14:12:36 -07:00
Monster Iestyn
7c7f4115fc
Added the ability to modify parent, flags, translucency in polyobj_t
...
(attempting to edit polyobj.angle just gives you an error message saying to use polyobj:rotate() instead)
2020-09-13 21:38:16 +01:00
Tatsuru
a4c1c6044b
Legacy moment
2020-09-13 14:30:02 -03:00
Tatsuru
2669476e18
Use the sector's actual soundorg (how did it even work)
2020-09-13 13:54:43 -03:00
Tatsuru
087bdbad63
Check for sector_t userdata as well
2020-09-13 12:33:18 -03:00
James R
8bbd6e1b19
Make cv_advertise no by default, do not save
2020-09-12 18:54:44 -07:00
James R
d437bac34f
Make cv_advertise NETVAR
2020-09-12 18:36:25 -07:00
James R
15cb3202e2
Merge branch 'master-server-2' into 'next'
...
Master Server 2
See merge request KartKrew/Kart-Public!224
2020-09-12 20:25:42 -04:00
James R
1003ed5243
Fix master server token
2020-09-12 10:32:14 -07:00
James R
99115d9e76
Update update alert message
2020-09-11 20:12:31 -07:00
James R
c0801c4413
Set masterserver to ms.kartkrew.org
2020-09-11 17:39:01 -07:00
James R
0146decd8b
Strip trailing slashes from masterserver address
2020-09-11 17:33:46 -07:00
Sal
3144cffb1c
Merge branch 'battle-item-balance' into 'next'
...
Battle item balance
See merge request KartKrew/Kart-Public!222
2020-09-11 12:21:06 -04:00
Sal
31b6f4ec20
Merge branch 'stupid-sound-volume' into 'next'
...
Apply volume to sounds that have an origin
See merge request KartKrew/Kart-Public!223
2020-09-11 12:17:19 -04:00
Sal
70df7f7377
Merge branch 'name-change-spam' into 'next'
...
Don't let players change their name more than five times per minute
See merge request KartKrew/Kart-Public!221
2020-09-11 12:17:00 -04:00
Sally Coolatta
87037dc7ae
6 -> 2, void the now unused parameter
2020-09-11 12:14:08 -04:00
James R
4e9d006c37
int -> INT32
2020-09-11 09:00:18 -07:00
Sal
20f1e31e8f
Merge branch 'save-renderer' into 'next'
...
Save renderer to file
See merge request KartKrew/Kart-Public!220
2020-09-11 11:59:51 -04:00
SteelT
543cc21bf4
Merge branch 'make-float-strings-great-again' into 'next'
...
Can we just do this please? Thanks.
See merge request STJr/SRB2!1142
2020-09-11 11:47:04 -04:00
James R
ef4229a42f
7b1f97439 lies btw, you can set the server_contact cvar 4head
2020-09-11 07:10:21 -07:00
James R
d3b31d1d76
When changing masterserver_update_rate, only update if elapsed time within the new rate
2020-09-11 06:50:31 -07:00
James R
3fc0c52599
Register/unregister server by changing cv_advertise
2020-09-11 06:49:41 -07:00
James R
7b1f974397
Basically, update master server code to v2
...
Removes rooms, replaced with cv_advertise and "Advertise" on the host menu.
According to the new API, SRB2APPLICATION is sent instead of MODID. A contact
field was added, but there is no means of accessing it or setting it.
As a slight change, the server list will be populated even on an outdated
version of the game. (The new API was designed with this in mind.) The update
alert is still presented first of course.
2020-09-11 06:11:41 -07:00
SteelT
d7a65640c4
Merge branch 'remove-bt_use-deprecation' into 'next'
...
Remove BT_USE and PF_USEDOWN warning
See merge request STJr/SRB2!1138
2020-09-10 16:06:20 -04:00
SteelT
6a168ac5e9
Merge branch 'pictureformats' into 'next'
...
PNG conversion refactoring
See merge request STJr/SRB2!675
2020-09-10 15:58:18 -04:00
SteelT
796165df82
Merge branch 'png-conversion-fixes' into 'pictureformats'
...
Optimize PNG conversion
See merge request STJr/SRB2!1143
2020-09-10 15:47:58 -04:00
Jaime Passos
a8d3510958
Attempt to use the PNG image's palette, if it is present
2020-09-10 03:16:21 -03:00
Jaime Passos
15eb91be69
Use color look-up table for PNG conversion
2020-09-10 02:10:31 -03:00
Jaime Passos
bf52125494
Change method of color look-up table generation
2020-09-10 01:43:46 -03:00
GoldenTails
92f8fb360e
Can we just do this please? Thanks.
2020-09-09 22:19:14 -05:00
Monster Iestyn
7c8dbca640
added polyobj_t to userdataType list
...
(also added slope_t, vector2_t and vector3_t since they were all missing from here)
2020-09-09 21:24:07 +01:00
Monster Iestyn
d3f61027f8
Added polyobj.vertices and polyobj.lines to Lua
2020-09-09 21:15:02 +01:00