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
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
SNMetamorph
9bcd36cc24
engine: voice code minor refactoring
2 years ago
SNMetamorph
a254a342b1
engine: voice: minor code fixes
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
7157c3b441
engine: platform: sdl: don't enable high dpi code for Apple
...
It seems enables HighDPI awareness but doesn't create HighDPI OpenGL context
It needs some plist magic to be enabled back again
2 years ago
SNMetamorph
a8674c18df
engine: platform: win32: fixed build for Windows
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
5e1f189db3
engine: platform: posix: use RTLD_NOW instead of lazy.
...
It actually was a misconception coming from old engine fork
We want to track unresolved symbols before library could be loaded
Also, disable "symbol not found" spam in FunctionFromName. Due to how
savefile mangling convert works and compatibility with GoldSrc saves,
this function is used to bruteforce possible symbol names.
3 years ago
SNMetamorph
fbdfed84be
engine: platform: sdl: fixed bug with unhidable mouse cursor in center of screen
3 years ago
Alibek Omarov
79dc090aae
engine: platform: sdl: use SetClassLongPtr function to be compatible with 64-bit Windows API
3 years ago
Alibek Omarov
5285f51a26
engine: platform: sdl: fix loading ICO when it's in RoDir
3 years ago
Alibek Omarov
3e23634369
engine: platform: sdl: enable ICO support on Win64
3 years ago
Alibek Omarov
4e295622be
Revert "engine: platform: sdl: try to enable ICO icons for 64-bit Windows, ignore TGA flip attribute for icons"
...
This reverts commit 2182ba9630
.
3 years ago
Alibek Omarov
2182ba9630
engine: platform: sdl: try to enable ICO icons for 64-bit Windows, ignore TGA flip attribute for icons
3 years ago
Alibek Omarov
ac308f7298
engine: platform: sdl: fix SDL1.2 build
3 years ago
Velaron
437630d26d
platform: win32: remove forgotten code
3 years ago
Bohdan Shulyar
341c9dae39
paltform: win32: fix typo >_<
3 years ago
Velaron
4c7bf1ff44
platform: win32: improve error reporting when loading DLLs and move custom DLL loader to a separate file
3 years ago
Alibek Omarov
bd1bfea695
engine: second iteration of IPv6 support
...
Made code smaller
Fixed problem where v6 and v4 socket can't use same port
Added support for v4-to-v6 mapped addresses, although it's kept unused
Probably final version
3 years ago
Alibek Omarov
13f93412cd
engine: platform: sdl: forgot to add an include, sorry\!
3 years ago
Alibek Omarov
d1de9e2802
engine: platform: sdl: proper cursors allocation and free
3 years ago
SNMetamorph
641f0632ef
engine: client: fixed compilation errors on Android
3 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
SNMetamorph
d3e213aa1b
engine: platform: added Platform_GetKeyModifiers
3 years ago
SNMetamorph
26e09c240a
engine: platform: added Platform_SetCursorType
3 years ago
SNMetamorph
15eb6808c4
engine: platform: updated clipboard read/write functions
3 years ago
Alibek Omarov
81c4acab66
platform: sdl: fix right mouse button issuing wrong key code
3 years ago
SNMetamorph
66dc20dc2d
engine: platform: con_win: fixed console window visibility without developer mode ( fix #818 )
3 years ago
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
3 years ago
SNMetamorph
95ee88720c
engine: platform: win32: major refactoring of console code
3 years ago