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
2022-08-08 23:53:20 +03:00
SNMetamorph
a8674c18df
engine: platform: win32: fixed build for Windows
2022-08-01 12:54:26 +03:00
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
2022-07-28 18:56:02 +03:00
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.
2022-07-13 19:26:38 +03:00
SNMetamorph
fbdfed84be
engine: platform: sdl: fixed bug with unhidable mouse cursor in center of screen
2022-07-09 00:31:49 +03:00
Alibek Omarov
79dc090aae
engine: platform: sdl: use SetClassLongPtr function to be compatible with 64-bit Windows API
2022-06-29 02:44:50 +03:00
Alibek Omarov
5285f51a26
engine: platform: sdl: fix loading ICO when it's in RoDir
2022-06-25 17:12:08 +03:00
Alibek Omarov
3e23634369
engine: platform: sdl: enable ICO support on Win64
2022-06-25 17:04:02 +03:00
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
.
2022-06-25 17:03:11 +03:00
Alibek Omarov
2182ba9630
engine: platform: sdl: try to enable ICO icons for 64-bit Windows, ignore TGA flip attribute for icons
2022-06-24 19:15:28 +03:00
Alibek Omarov
ac308f7298
engine: platform: sdl: fix SDL1.2 build
2022-06-13 04:27:54 +03:00
Velaron
437630d26d
platform: win32: remove forgotten code
2022-06-10 23:25:43 +03:00
Bohdan Shulyar
341c9dae39
paltform: win32: fix typo >_<
2022-06-10 23:25:43 +03:00
Velaron
4c7bf1ff44
platform: win32: improve error reporting when loading DLLs and move custom DLL loader to a separate file
2022-06-10 23:25:43 +03:00
Alibek Omarov
13f93412cd
engine: platform: sdl: forgot to add an include, sorry\!
2022-06-02 03:01:58 +03:00
Alibek Omarov
d1de9e2802
engine: platform: sdl: proper cursors allocation and free
2022-05-30 03:33:03 +03:00
SNMetamorph
641f0632ef
engine: client: fixed compilation errors on Android
2022-05-02 03:29:24 +03:00
SNMetamorph
cfcd58dd78
engine: client: extended VGUI API interface
2022-05-02 03:29:24 +03:00
SNMetamorph
8044d23e7f
engine: platform: sdl: fixed Key_Event callback when text input enabled
2022-05-02 03:29:24 +03:00
SNMetamorph
d3e213aa1b
engine: platform: added Platform_GetKeyModifiers
2022-05-02 03:29:24 +03:00
SNMetamorph
26e09c240a
engine: platform: added Platform_SetCursorType
2022-05-02 03:29:24 +03:00
SNMetamorph
15eb6808c4
engine: platform: updated clipboard read/write functions
2022-05-02 03:29:24 +03:00
Alibek Omarov
81c4acab66
platform: sdl: fix right mouse button issuing wrong key code
2022-04-10 19:40:11 +03:00
SNMetamorph
66dc20dc2d
engine: platform: con_win: fixed console window visibility without developer mode ( fix #818 )
2022-04-08 14:18:38 +03:00
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
2022-04-06 15:17:15 +03:00
SNMetamorph
95ee88720c
engine: platform: win32: major refactoring of console code
2022-04-06 15:17:15 +03:00
Alibek Omarov
89baa633c8
engine: sdl: fix mouse activated when focus gained but not game is active
2022-01-28 01:20:14 +03:00
Alibek Omarov
abbd0f92a4
engine: input: fix incorrect client notifying about mouse button states
2022-01-13 15:52:59 +03:00
Alibek Omarov
a2f741fe8a
engine: platform: sdl: try to fix 1.2 build
2022-01-04 08:39:11 +03:00
Alibek Omarov
d0a39ef492
engine: client: rework mouse input again, do what GoldSrc does, minimize SDL mouse calls
2022-01-04 08:39:11 +03:00
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
2022-01-04 08:39:11 +03:00
Alibek Omarov
7cb06956c2
engine: platform: win32: fix compile
2021-12-28 00:16:06 +03:00
Alibek Omarov
ebfa8e6ffc
engine: platform: android: fix compile
2021-12-27 03:19:50 +03:00
Alibek Omarov
4f89288ccf
common: cleanup port.h
2021-12-23 19:17:11 +03:00
Alibek Omarov
25c0557f7f
engine: platform: sdl: fix building with SDL1.2
2021-11-27 05:26:09 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
2021-11-23 05:17:19 +03:00
Alibek Omarov
a0af256641
engine: library: fix saves on 64-bit Windows, compile custom loader only on x86
2021-06-27 00:03:39 +03:00
Alibek Omarov
f8e6033ae6
engine: move TIMER_LINUX to TIMER_POSIX, enabling dedicated builds for FreeBSD and other *nix platforms
2021-06-26 00:19:49 +03:00
Alibek Omarov
5bc4359a2f
engine: implement platform neutral saves, now we can load saves made in Linux on Windows and vice-versa
2021-06-20 19:59:16 +03:00
Alibek Omarov
17d3eaa590
engine: win32: remove normal win32 library loader, from now on every win32 port must port custom loader
2021-06-20 19:59:16 +03:00
exstrim401
db3e71bfcc
engine: Removed unused Haiku variables
2021-06-07 19:39:52 +03:00
exstrim401
2b436dced0
engine: Remove XASH3D_MIRRORDIR
...
also make XASH3D_GAME for all platforms
2021-06-07 19:39:52 +03:00
exstrim401
a89f9fa181
engine: Haiku BeGameLauncher support
2021-06-07 19:39:52 +03:00
Alibek Omarov
523798857b
engine: platform: fix opensles audio
2021-03-10 13:45:02 +03:00
Alibek Omarov
2edc8b16ae
engine: platform: fix sdl audio
2021-03-10 13:44:25 +03:00
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.
2021-03-10 00:16:13 +03:00
Alibek Omarov
c68af64fe5
engine: platform: fix access to uninitialized audio subsystem when -nosound was passed
2021-03-10 00:03:12 +03:00
Alibek Omarov
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
2021-03-09 23:59:29 +03:00
Alibek Omarov
ca84a1a10e
engine: fix building with SDL older than 2.0.4
2021-03-01 21:48:31 +03:00