James R
6c0b042eed
Refactor cvar definitions completely, move everything to cvars.cpp
...
- No need to call CV_RegisterVar
- Cvar definitions live in only one file, easier to locate
- Organized into sections -- netvars, cheats, etc.
- Use builder pattern to initialize cvars
- Still need to extern if you want to read the cvar value
2023-08-25 17:22:40 -07:00
X.organic
902fcfa569
Miscellaneous memory bug fixes to make AddressSanitizer happy
...
# Conflicts:
# src/d_clisrv.c
# src/dehacked.c
# src/hardware/hw_cache.c
# src/hardware/hw_md2.c
# src/http-mserv.c
# src/lua_hudlib_drawlist.c
2022-09-12 16:49:18 +01:00
Sally Coolatta
107622968e
Merge branch 'master' into new-menus
2022-08-27 22:36:58 -04:00
James R
222b1b9422
Master server: use I_OutputMsg during startup
...
CONS_Printf calls CON_Drawer during startup, thread
collision stuff.
2022-08-24 23:33:34 +01:00
Sally Coolatta
2af75a2bd1
Fix merge conflicts
2021-01-11 00:06:34 -05:00
Sally Coolatta
7c2bd0d1c2
Merge remote-tracking branch 'srb2/next' into the-scary-22-merge
2020-10-24 20:50:58 -04:00
Sally Coolatta
9b6aa946ea
Merge remote-tracking branch 'srb2/master' into the-scary-22-merge
2020-10-24 19:28:06 -04:00
James R
b7c4a82a0f
Replace C90's junk with a modest macro
2020-10-06 23:04:23 -07:00
Sally Coolatta
b5fcd74ef9
Merge master
...
Slopes in a few maps are really broken ... think it's anchors, I'm gonna leave that to jart :V
2020-09-25 12:00:50 -04:00
James R
ec8eb47852
Shitty decode listserv
2020-09-19 18:54:04 -07:00
James R
1003ed5243
Fix master server token
2020-09-12 10:32:14 -07:00
James R
0146decd8b
Strip trailing slashes from masterserver address
2020-09-11 17:33:46 -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
James R
d31fb748b2
Do not do master server things when NOCURL
...
(cherry picked from commit b681b6e9e6 )
2020-08-29 17:45:28 -07:00
James R
b681b6e9e6
Do not do master server things when NOCURL
2020-08-16 21:42:58 -07:00
James R
4982a79ca4
Use SRB2VERSION here...
2020-07-13 08:59:41 -07:00
James R
3ebaedc695
ADD to the buffer size
...
(cherry picked from commit 3cdc6d07d0 )
2020-07-11 17:41:09 -07:00
James R
44e1b6cd22
masterserver_token is back
...
(cherry picked from commit 44af4705bb )
2020-07-11 17:41:09 -07:00
James R
63ca2cb5ff
Set timeout on HMS connections
...
(cherry picked from commit 42484ae5ca )
2020-07-11 17:41:09 -07:00
James R
3aa4d2bfa8
Resize response body buffer as needed
...
(cherry picked from commit a73e4f135e )
2020-07-11 17:41:09 -07:00
James R
3cdc6d07d0
ADD to the buffer size
2020-06-14 19:13:22 -07:00
James R
44af4705bb
masterserver_token is back
2020-06-12 23:47:08 -07:00
James R
42484ae5ca
Set timeout on HMS connections
2020-05-15 13:20:40 -07:00
James R
3f64836777
This is SRB2
2020-05-14 17:29:36 -07:00
James R
94e77ba652
Rename hms123311.c to http-mserv.c
...
HMS lives on in our hearts!
(cherry picked from commit 8a006fef18 )
2020-05-14 17:28:55 -07:00
James R
8a006fef18
Rename hms123311.c to http-mserv.c
...
HMS lives on in our hearts!
2020-05-14 17:26:10 -07:00