Alibek Omarov
350d8ccb7b
engine: common: cvar: unused variables cleanup
9 months ago
Alibek Omarov
e017b9145f
engine: common: cvar: fix buffer overflow in Cvar_ValidateString
1 year ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
1 year ago
Alibek Omarov
cb43df43ef
engine: common: cvar: do not check if cvar was registered in DirectSet when it has valid next pointer
1 year ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
1 year ago
Alibek Omarov
8c80d3b85d
engine: common: cvar: add exception for cl_dodmusic cvar to fix Day of Defeat Beta 1.3 music issue
1 year ago
Alibek Omarov
d177b6f528
engine: cvar: consolidate auto description for GLCONFIG cvars
...
Fix bug when GLCONFIG cvars didn't had it's respective CLIENTDLL or GAMEUIDLL flags
2 years ago
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2 years ago
Andrey Akhmichin
a2d459ae84
engine: common: add printf-like version of Cvar_Get function.
2 years ago
Alibek Omarov
0984368a31
engine: server: GoldSrc compliant pfnServerExecute(), don't execute config.cfg for server!
2 years ago
Alibek Omarov
51161004eb
engine: common: simplify string operations
2 years ago
Alibek Omarov
f377461fdf
engine: common: made a filter for a filter (lol), so it's possible to play selected games with cl_filterstuffcmd enabled
2 years ago
Alibek Omarov
9389305072
engine: common: set cl_filterstuffcmd to 1 by default
2 years ago
SNMetamorph
d1309c3aeb
engine: common: backported "set" command from old engine
2 years ago
Alibek Omarov
ca2a6635b6
engine: common: fix cmdlist and cvarlist to match the beginning of command or cvar
2 years ago
Alibek Omarov
95ed044fee
engine: common: disable cl_filterstuffcmd by default
2 years ago
Alibek Omarov
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
3 years ago
Alibek Omarov
992bcd89ef
engine: add cmd and cvar tests for privileged mode
3 years ago
Alibek Omarov
8599119c8d
engine: add filterable flag support for cvars and cmds
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
3 years ago
Alibek Omarov
9a4dec64f9
engine: describe protected and privileged cvars
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
3 years ago
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:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
5 years ago
Alibek Omarov
ecd675926a
engine: cvar: add null checks as these functions are passed to user's DLL
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
mittorn
bbd4c1315e
legacymode: implement clc_userinfo
6 years ago
Alibek Omarov
0801922466
cvar: don't change cvars without FCVAR_GLCONFIG variable during opengl.cfg reading
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
5d48708615
Forgot to add cvars into basecmd. Add basecmd_test to check is basecmd valid
6 years ago
Alibek Omarov
0561ac2076
Add basecmd from old engine. Add basecmd_stats command
6 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
6 years ago
mittorn
db92c918b2
Apply Apr19 update
6 years ago
mittorn
c1076f43f7
Update client engine interface
6 years ago
Alibek Omarov
5d13112e25
Dedicated build
6 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
6 years ago