Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
39893609fd
engine: touch: cosmetical touch code refactoring
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
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
Gleb Mazovetskiy
3af742f103
in_touch.c: Fix -Wpointer-to-int-cast
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 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
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
c67f065d90
engine: client: explicitly cast literals to floats
5 years ago
mittorn
c0043a5467
touch: implement wheel
5 years ago
mittorn
dba757f0c2
touch: fix wrong dx/dy sign
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
Alibek Omarov
25d8a94c1c
engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c
6 years ago
Alibek Omarov
90d2434bb0
platform: add Set/GetClipboardText calls. Remove unneeded SDL_SetHint call on Android, because Android does not use SDL anymore
6 years ago
Alibek Omarov
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
6 years ago
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
7 years ago
Alibek Omarov
3f2a8f7704
Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2
7 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.
7 years ago
Alibek Omarov
92c321848d
Adapt input code to newer engine
7 years ago
Alibek Omarov
4189af8b50
Engine input port. Incomplete integration of touch, gamepad, evdev input
7 years ago