Alibek Omarov
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
2021-12-06 03:56:18 +03:00
Alibek Omarov
992bcd89ef
engine: add cmd and cvar tests for privileged mode
2021-11-23 05:23:38 +03:00
Alibek Omarov
8599119c8d
engine: add filterable flag support for cvars and cmds
2021-11-23 05:23:38 +03:00
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
Alibek Omarov
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
2021-11-23 05:23:38 +03:00
Alibek Omarov
9a4dec64f9
engine: describe protected and privileged cvars
2021-11-23 05:23:38 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
Alibek Omarov
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
2021-11-23 05:23:38 +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
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
2020-11-28 23:20:14 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
2019-11-28 19:18:50 +03:00
Alibek Omarov
ecd675926a
engine: cvar: add null checks as these functions are passed to user's DLL
2019-11-26 02:48:16 +03:00
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
2019-11-24 03:52:08 +03:00
mittorn
bbd4c1315e
legacymode: implement clc_userinfo
2019-01-29 02:33:30 +07:00
Alibek Omarov
0801922466
cvar: don't change cvars without FCVAR_GLCONFIG variable during opengl.cfg reading
2019-01-27 02:27:12 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
mittorn
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
Alibek Omarov
5d48708615
Forgot to add cvars into basecmd. Add basecmd_test to check is basecmd valid
2018-06-01 22:11:22 +03:00
Alibek Omarov
0561ac2076
Add basecmd from old engine. Add basecmd_stats command
2018-06-01 21:28:25 +03:00
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.
2018-04-23 23:07:54 +03:00
mittorn
926b909f3d
Merge branch 'original'
2018-04-20 12:38:53 +00:00
mittorn
db92c918b2
Apply Apr19 update
2018-04-20 08:41:02 +00:00
mittorn
c1076f43f7
Update client engine interface
2018-04-19 21:51:17 +00:00
Alibek Omarov
5d13112e25
Dedicated build
2018-04-18 18:32:30 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00