Alibek Omarov
323626c308
engine: platform: sdl: try to avoid random crash in SDL pulse audio driver
2 years ago
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
2 years ago
Alibek Omarov
a292d2fd53
platform: win32: replace Q_sprintf calls by Q_snprintf
2 years ago
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension 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
a8de11643c
engine: platform: sdl: make GL_CreateContext and GL_DeleteContext functions static
2 years ago
SNMetamorph
b2ea8c9d18
engine: platform: win32: enabled attaching to existing console instead of creating new
2 years ago
Alibek Omarov
6e27926a10
engine: simplify XASH_USE_EVDEV macro usage by giving it's defined positive value
2 years ago
SNMetamorph
e024a67436
engine: platform: psvita: fixed vrtld error reporting
2 years ago
SNMetamorph
e3103249f4
engine: platform: psvita: added developer mode button to launcher
2 years ago
SNMetamorph
0746cb5365
engine: platform: psvita: disabled back touch sensor
2 years ago
Alibek Omarov
098c4c009b
engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call
2 years ago
SNMetamorph
f9205825b6
engine: platform: sdl: fixed psvita & nswitch platform initializing
2 years ago
Andrey Akhmichin
6486533355
engine: platform: android: replace va function calls.
2 years ago
Andrey Akhmichin
daaaa324bd
engine: platform: emscripten: replace va function calls.
2 years ago
Andrey Akhmichin
249ce6bca1
engine: platform: win32: replace va function calls.
2 years ago
Andrey Akhmichin
b648c74815
engine: platform: posix: replace va function calls.
2 years ago
Andrey Akhmichin
573781b45d
engine: platform: sdl: replace va function calls.
2 years ago
fgsfds
fe3f15ad33
engine: input: psvita: reimplement OSK manually
2 years ago
fgsfds
66f625f840
engine: psvita: use a macro for ioctlsocket like on all other platforms
2 years ago
fgsfds
3e1833722f
engine: psvita: check req in ioctlsocket()
2 years ago
fgsfds
4b8e11f561
engine: remove stray #if XASH_PSVITA
2 years ago
fgsfds
47a6be86b1
engine: psvita: export stpcpy
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
2 years ago
fgsfds
5beed5ab29
engine: psvita: rebalance memory pools a bit
2 years ago
fgsfds
6304b51f32
psvita: fno-short-enums, make ref_gl function somewhat
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
Alibek Omarov
21b9f07323
engine: platform: sdl: remove legacy XASH_NANOGL macro from vid code, it's only relevant for ref_gl
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
d6d98bd297
engine: platform: sdl: minor style changes
2 years ago
fgsfds
69607d7890
nswitch: do not link libstdc++ into dynamic libraries
...
instead only link it to the main executable with --whole-archive, letting the dynamic libs import anything they want from it
2 years ago
Alibek Omarov
634574f249
engine: platform: sdl: don't enable text mode with cursor???
2 years ago
fgsfds
f782d444a8
engine: platform: posix: don't redefine _GNU_SOURCE
2 years ago
fgsfds
36e7856b9c
don't redefine _GNU_SOURCE
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
402a0f129d
engine: platform: sdl: use SDL joystick rumble for Platform_Vibrate
2 years ago
Alibek Omarov
b946ed4625
engine: platform: sdl: don't flood about closest display mode in case of no changes
2 years ago
Alibek Omarov
dd1d86c289
engine: platform: sdl: check usable display rect before creating window
2 years ago
Xav101
9466461ce0
engine: preliminary support for SGI IRIX ( #1211 )
...
* Added definitions for IRIX
* Patchset to get dedicated server to compile on IRIX.
* Cleaned up debug statements in wscript
* Potential bug in IRIX implementation of isnan? For now just use the portable macro.
* Include the platform port files in the build
* Temporary execution script for setting appropriate library search paths to the right locations in the build directory. This should probably get replaced with a more permanent script at some point which lives in the same directory as the normal xash binary, or be replaced by a solution that sets the rpath during config or modifies rpath during install.
* Clean up formatting and remove unneeded debugging statements
* Added GPL copyright notice and description
* Moved to irix platform folder and edited script
* Re-introduced _inline macro
* Replace spaces with tabs
Co-authored-by: Xav101 <xaviernye@msn.com>
2 years ago
Andrey Akhmichin
e273e09fc9
engine: platform: win32: simplify strings operations.
2 years ago
Alibek Omarov
802c7a86a9
engine: platform: sdl: add pause and scrolllock handlers
2 years ago
Alibek Omarov
30d9b6d844
engine: platform: win32: fix compile
2 years ago
Alibek Omarov
0a49e69818
engine: introduce Sys_DebugBreak function to raise an exception for debugger
2 years ago
SNMetamorph
b35cf6e30c
engine: platform: update VGUI cursor state in Platform_SetCursorType
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
d45e6e0ad1
engine: platform: sdl: SetCursorType shouldn't know about current game state
2 years ago
Alibek Omarov
2d2523df4a
engine: client: touch: generalise touch emulation code
...
* fix doubleclicks and wheels in VGUI
2 years ago
Alibek Omarov
5bae2f06ad
engine: platform: sdl: do not lock audio device, for some reason it sometimes causes problems although it shouldn't
2 years ago
Alibek Omarov
3a8c58d192
engine: platform: sdl: fix parentheses around IsAudioError macro
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