Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
1 year ago
Alibek Omarov
b84aba68fa
engine: platform: implement generic GetNativeObject for POSIX systems without SDL2
1 year ago
Alibek Omarov
bd52a9ec2d
engine: platform: linux: move evdev_keydebug cvar to static allocation
2 years ago
Alibek Omarov
d9cbf1fa89
engine: client: move input cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
d4470402ee
engine: move vid cvars to static allocation
2 years ago
Alibek Omarov
6e27926a10
engine: simplify XASH_USE_EVDEV macro usage by giving it's defined positive value
2 years ago
fgsfds
4b8e11f561
engine: remove stray #if XASH_PSVITA
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
Alibek Omarov
2d2523df4a
engine: client: touch: generalise touch emulation code
...
* fix doubleclicks and wheels in VGUI
2 years ago
Alibek Omarov
0d7a2e7bad
engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause
2 years ago
SNMetamorph
9f9141823a
engine: added audio backend print to s_info command
2 years ago
Alibek Omarov
22ff45f5d0
engine: platform: add audio capture shutdown functions
2 years ago
SNMetamorph
97879430e9
engine: small code fixes related to voice chat
2 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
f8e6033ae6
engine: move TIMER_LINUX to TIMER_POSIX, enabling dedicated builds for FreeBSD and other *nix platforms
3 years ago
Alibek Omarov
a93d9ac71c
engine: platform: simplify sound code
...
Remove SNDDMA_GetSoundtime, because it was mostly copypasted from one
platform code to another.
SNDDMA_GetDMAPos gets removed too, as we have dma.samplepos for that.
4 years ago
Alibek Omarov
c68af64fe5
engine: platform: fix access to uninitialized audio subsystem when -nosound was passed
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
33ba1f25f3
sys_linux.c: Increase buffer size for /proc/self/status
...
Fixes #263
4 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
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
744f75d4a3
engine: linux: simplify Platform_DoubleTime
5 years ago
mittorn
1365020302
ref: add enum for screen rotation
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
mittorn
291fdfac68
platform/evdev: add some keys, add keyevent debug
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
mittorn
6723758edc
platform/alsa: fix case when buffer size is POT, improve latency, calculate sample count
5 years ago
mittorn
23956a0b82
platform: alsa support
5 years ago
mittorn
803c396fa2
platform: new fbdev bakend, move in_evdev to bakends
5 years ago
Alibek Omarov
fbb88a55cb
engine: linux: fix C89
5 years ago
Alibek Omarov
9d93eca572
platform: linux: fix descriptor leak
6 years ago
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
6 years ago