Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
fgsfds
b68def2b9c
engine: touch: only pop up touch keyboard on FINGERDOWN events
2 years ago
fgsfds
cb28101732
touch: only pop up OSK on FINGERDOWN events
2 years ago
Alibek Omarov
92138428c5
engine: touch: don't emulate touch and mouse through SDL2 (taken from @Velaron branch)
2 years ago
Velaron
5098e24806
engine: client: touch: fix empty list when opening touch buttons menu for the first time
2 years ago
Andrey Akhmichin
809d5f1aa8
engine: client: in_touch.c: add spray button.
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
2d2523df4a
engine: client: touch: generalise touch emulation code
...
* fix doubleclicks and wheels in VGUI
2 years ago
Alibek Omarov
4a009c1c2c
engine: client: touch: move copypasted code from export & writeconfig into separate function
2 years ago
Andrey Akhmichin
e6bb9d980d
engine: client: in_touch.c: make touch buttons extention-independent.
2 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
3 years ago
Alibek Omarov
1bf08cc2c3
engine: touch: fix button deletion
3 years ago
Alibek Omarov
d0a39ef492
engine: client: rework mouse input again, do what GoldSrc does, minimize SDL mouse calls
3 years ago
Alibek Omarov
9159d406e3
engine: client: fix #673
3 years ago
Alibek Omarov
664506f79e
engine: client: touch security, add unprivileged for buttons added from server, force it and client flags
3 years ago
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
4 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