Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
1 year ago
Alibek Omarov
d9cbf1fa89
engine: client: move input cvars to static allocation
1 year ago
Alibek Omarov
d4470402ee
engine: move vid cvars to static allocation
1 year ago
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
2 years ago
fgsfds
fe3f15ad33
engine: input: psvita: reimplement OSK manually
2 years ago
Alibek Omarov
33c9f7118b
engine: platform: sdl: sanitize buttons/axes from SDL, add ABXY->BAYX swap for NSwitch
2 years ago
Alibek Omarov
802c7a86a9
engine: platform: sdl: add pause and scrolllock handlers
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
SNMetamorph
cfcd58dd78
engine: client: extended VGUI API interface
3 years ago
SNMetamorph
8044d23e7f
engine: platform: sdl: fixed Key_Event callback when text input enabled
3 years ago
Alibek Omarov
81c4acab66
platform: sdl: fix right mouse button issuing wrong key code
3 years ago
Alibek Omarov
89baa633c8
engine: sdl: fix mouse activated when focus gained but not game is active
3 years ago
Alibek Omarov
abbd0f92a4
engine: input: fix incorrect client notifying about mouse button states
3 years ago
Alibek Omarov
a2f741fe8a
engine: platform: sdl: try to fix 1.2 build
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
284eeea3c3
engine: client: rework mouse input, use IN_MouseEvent for clientdll, don't emit mouse events when mouse is visible or touch emulate is used
3 years ago
Alibek Omarov
25c0557f7f
engine: platform: sdl: fix building with SDL1.2
3 years ago
Alibek Omarov
c68af64fe5
engine: platform: fix access to uninitialized audio subsystem when -nosound was passed
4 years ago
Alibek Omarov
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
4 years ago
Alibek Omarov
ca84a1a10e
engine: fix building with SDL older than 2.0.4
4 years ago
Gleb Mazovetskiy
4daa7c23a0
SDL2 GameController: Map axes to engine explicitly
4 years ago
Gleb Mazovetskiy
3e8e751dc7
GameController: Add separate D-Pad bindings
...
1. Adds separate D-Pad bindings so that they don't conflict with arrow
keys on the keyboard.
2. Also adds some basic defaults for gamepad buttons.
4 years ago
Gleb Mazovetskiy
9452a389a5
SDL GameController: Hotplug and multiple gamepads
...
1. Process events from all game controllers.
2. Support controller hotplug.
4 years ago
Gleb Mazovetskiy
5a36a26dd1
Fix SDL_GAMECONTROLLER handling
...
1. Do not disable SDL_JOYSTICK events. Disabling these events causes
game controller events to be disabled as well. Instead, filter these events out.
2. Fix button mapping (it was off by one).
4 years ago
FOTMarut
79a7b7b1a3
engine: platform: sdl: Fix mousewheel in SDL2
...
- See issue 143
- Tested on SDL2
- Untested on SDL1.2
5 years ago
Alibek Omarov
0c3be639c5
engine: reliably tell client.dll about vid mode changes
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
0636dc45bd
engine: sdl: fix resizing event handling
5 years ago
Alibek Omarov
1f308a43c8
engine: fix build after lowmemory rebase
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
4d5e7c0557
platform: minify changes, use SDL_VERSION_ATLEAST macro(left unfinished)
5 years ago
Alibek Omarov
8dafbaeda2
engine: platform: sdl: dirty wip sdl1.2 port
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
fa68108907
engine: input: adapt gamepad code for new engine, remove gamepad ids, as it was never used and probably will never be, small optimizations
5 years ago
Alibek Omarov
413882a8d5
sdl: fix typos
5 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
6 years ago
a1batross
0964fb11e4
sdl: partially fix maximizing window on Windows
6 years ago
Alibek Omarov
1b9bfd8906
platform: sdl: fix compiling
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
Alibek Omarov
7390d11505
platform_sdl: adapt SDL backend code to new platform backends system
6 years ago
Alibek Omarov
0681209114
Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated
7 years ago
Alibek Omarov
becd0eba03
Possibility to use dedicated version with SDL(it's used only by internal timer)
7 years ago
Alibek Omarov
3f2a8f7704
Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2
7 years ago
Alibek Omarov
a3c90248a7
Remove unneeded argument in SDLash_KeyEvent. Remove copypasted code
7 years ago
Alibek Omarov
63513ec475
Small refactoring of EnableTextInput
7 years ago
Alibek Omarov
be4b885254
Merge common SDL port changes
7 years ago