f52c825bf5
engine: make some global variables static and const, make even more functions static if possible
2024-10-14 19:19:46 +03:00
c42960ec2a
engine: server: mark some cvars and movevars as server cvars, so they get reported in rules query
...
Bring back sv_contact cvar, as it makes sense to get this from rules query
2024-07-07 03:01:59 +03:00
d56e53a347
Replace hardcoded functions names by __func__ macro
...
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
2024-06-19 06:53:42 +03:00
1dd0444531
engine: server: comment out unused cvars, make some static
2024-06-15 08:44:19 +03:00
a6c2cfe89b
engine: avoid constants in Q_strncpy third argument, where possible
2024-05-06 14:27:26 +03:00
f60e856f35
engine: server: replace useless call to SV_Serverinfo to a direct access
2024-04-06 06:58:15 +03:00
c896425ad9
engine: server: make changelevel commands compatible with GoldSrc
2024-04-04 00:21:28 +03:00
156b2b2b10
engine: server: remove MAP_HAS_SPAWNPOINT checks
2024-04-03 05:52:42 +03:00
f6d489e038
engine: server: register str64stats command that prints string pool usage statistics
2024-03-26 17:15:15 +03:00
8afca1a79c
engine: server: allow starting game from custom map
2024-02-23 20:54:32 +03:00
8c61a2f021
engine: server: cleanup server.h header from unused functions prototypes
2024-01-28 11:35:53 +03:00
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
eb7f19d3cf
engine: server: properly remove remaining server operator commands
2023-07-02 01:19:21 +03:00
9e0d389d9e
engine: server: moved server cvars to static allocation
2023-05-27 21:52:58 +03:00
214fc7e827
engine: common: move host cvars to static allocation
2023-05-27 21:52:58 +03:00
551ea71906
engine: server: make generic function to kick players with a reason
2023-05-19 04:44:42 +03:00
8c7db8499f
engine: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2023-04-23 18:19:28 +03:00
01e0542223
engine: server: move master announce logic to masterlist, keep unique heartbeat challenge and heartbeat timer for each master
2023-04-03 00:57:47 +03:00
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +03:00
fgsfds
15ba932046
engine: server: add sv_autosave cvar
...
* a1ba: added FCVAR_PRIVILEGED just in case
2023-02-06 00:05:20 +03:00
f7d4e5a2ea
engine: server: don't show GAMESAVED message in autosaves, small refactoring
2023-01-31 07:16:08 +03:00
17d0b19f9e
engine: use generic S_USAGE macro everywhere
2022-11-10 13:18:20 +03:00
0d195ee6fe
engine: server: fix output of maps command
2022-05-29 01:29:51 +03:00
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
d9fd6aa05c
engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch.
2021-10-27 19:40:05 +03:00
7b8ec0ad4b
engine: server: fix another const qualifier lose
2021-07-20 17:09:16 +03:00
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
37c5dfa49f
engine: generalize maps command and map command autocompletion
2021-06-18 00:05:34 +03:00
tyabus
0260a6c234
engine: server: backport maps command implementation from old engine
2021-06-18 00:05:34 +03:00
c62db950f1
server: implement rcon redirection, add redirect command from old engine
2021-03-27 23:46:57 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
1332381e2d
engine: server: simplified strings operations.
2020-12-29 20:20:25 +03:00
83953c7fb3
Port ip filter and partially useragent from old engine.
2019-07-09 03:48:09 +03:00
f2c927906f
Merge 4511 update
2019-06-17 07:36:46 +03:00
b16529cc65
Apply 4511 update
2019-06-17 07:05:36 +03:00
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
b9945d62a3
Apply 4312 update
2018-11-27 16:15:24 +03:00
622de7a7f1
Apply 4312 update
2018-11-27 16:11:26 +03:00
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
2edbcb996d
Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends.
2018-06-19 16:59:53 +03:00
1e7f9d00c3
Apply 4150 update
2018-06-19 16:22:30 +03:00
7cdead7bac
Merge 4143 update
2018-06-12 12:18:14 +03:00
a539384a76
Apply 4143 update
2018-06-12 12:14:56 +03:00
dcc19aeafb
Merge 4097
2018-04-26 03:23:00 +03:00
9bab7d222a
Apply 4097 update
2018-04-26 03:09:36 +03:00