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
eeb170af22
engine: client: set failed status for vgui_support if we wasn't able to load one. Unload library in case of error
2 years ago
Alibek Omarov
b82d0bad7a
engine: client: vgui: unload client DLLL if no vgui_support export was found
3 years ago
SNMetamorph
641f0632ef
engine: client: fixed compilation errors on Android
3 years ago
SNMetamorph
87ceb0f9cb
engine: client: fixed checking client library for vgui_support interface export
3 years ago
SNMetamorph
cfcd58dd78
engine: client: extended VGUI API interface
3 years ago
Alibek Omarov
f63d2d747f
vgui: remove unneeded SDL calls, remove unused VGUI API function, fix mouse cursor visibility
3 years ago
Gleb Mazovetskiy
6d614e028a
Fix COM_LibraryError newline handling
...
1. Do not append a trailing newline to the result of COM_GetLibraryError.
2. Fix call sites.
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
mittorn
7b127c23f5
client: fix vgui leaving text input move enabled (breaks CTRL in SDL2)
4 years ago
Velaron
f3d8a2bcb0
client: vgui: don't fail if client path not given
4 years ago
mittorn
bbd033c254
lib: restore dll loader support
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
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
5 years ago
Alibek Omarov
5af6506d86
engine: ensure that we loading same client library
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 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
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
415e517107
Library loader refactoring. Not tested for platforms other than Linux
7 years ago
Alibek Omarov
3f2a8f7704
Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2
7 years ago
Alibek Omarov
63513ec475
Small refactoring of EnableTextInput
7 years ago
Alibek Omarov
8e3c748f12
Adapt vgui_support support to newer engine
7 years ago
Alibek Omarov
5a1b03ac20
Integrate FWGS vgui_support
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago