Velaron
5c90e716cb
engine: platform: android: refactoring
1 year ago
Alibek Omarov
71b06801ef
engine: platform: android: remove dead code
1 year ago
Alibek Omarov
cfc7b35927
engine: client: don't leave the user without mouse cursor if they enabled m_ignore
1 year ago
Alibek Omarov
76564958d1
engine: host: hide -nativeegl for Android SDL builds
1 year ago
Alibek Omarov
e21fa4a910
engine: add cvar r_refdll_loaded to indicate currently loaded renderer (for menu options and etc)
1 year ago
Alibek Omarov
a41902bd46
engine: mod_bmodel: detect water textures by texture name like LoadSurfaces does
1 year ago
Alibek Omarov
597429cf41
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
1 year ago
Alibek Omarov
5ea074a1fd
engine: fix build issues pointed by @Velaron
1 year ago
Alibek Omarov
a62a9429c9
engine: launcher: remove Windows code from single binary launcher, as Windows completely supports running from external launcher and don't need dedicated builds
1 year ago
Alibek Omarov
f7c536b81c
engine: server: allow loading maps from subdirectories as this is used by some Half-Life mods
1 year ago
Alibek Omarov
4d7d592918
engine: mod_bmodel: completely get rid of global loadmodel pointer
1 year ago
Alibek Omarov
c5e91f299b
engine: mod_studio: reduce dependency on global loadmodel pointer, make it private for brush model loader
1 year ago
Alibek Omarov
cff276db71
engine: client: mod_dbghulls: reduce dependency on global loadmodel pointer
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
Alibek Omarov
f07eea5073
engine: server: allow server unloading for Win32 targets until we figure out the issues with MetaMod
1 year ago
Alibek Omarov
78bc177e05
engine: server: remove unused host struct field
1 year ago
Alibek Omarov
8fb908e3d4
engine: server: disable SV_UnloadProgs, only call it when shutting down engine
1 year ago
Alibek Omarov
d8b261370a
engine: common: do not probe server to collect cvars for game.cfg (CHECK THIS)
1 year ago
Alibek Omarov
a2c9ac5b1f
engine: client: disable server DLL probe for GameUI, check it's existence instead
1 year ago
Alibek Omarov
7f9025e178
engine: server: sv_pmove: use model name for physent name to avoid crash when classname isn't initialized yet
1 year ago
Alibek Omarov
8647110a10
Revert "engine: wscript: move libasound uselib under linux condition, as the ALSA interface is only relevant for Linux"
...
This reverts commit 48e44f0057
.
1 year ago
Alibek Omarov
48e44f0057
engine: wscript: move libasound uselib under linux condition, as the ALSA interface is only relevant for Linux
1 year ago
Alibek Omarov
a5ee631191
engine: server: sv_game: disable searching closer to server library memory region for Android
1 year ago
Alibek Omarov
ce39255ef0
engine: host: set rootdir on Android SDL port
1 year ago
Alibek Omarov
061b50404d
engine: server: register dummy cvar sv_allow_dlfile for GoldSrc compatibility
1 year ago
Alibek Omarov
279cec5ae9
engine: rename cl/sv_allowdownload for GoldSrc compatibility
1 year ago
Alibek Omarov
6f6ddbce28
engine: add argument -timedemo that makes engine run timedemo and exit
1 year ago
Alibek Omarov
4cb425d2bb
engine: console: do not draw console and do not draw notify in timedemo
1 year ago
Alibek Omarov
96a9172e36
engine: platform: sdl: check that we're handling SDL errors according to it's documentation
1 year ago
Alibek Omarov
9e107e900c
engine: network: fix async NS resolve
...
If we're currently running NS resolving thread, any request would block.
Co-Authored-by: mittorn <mittorn@sibmail.com>
1 year ago
Alibek Omarov
8f819a2fde
engine: platform: sdl: fix forgotten icon setup call
1 year ago
Alibek Omarov
3ac8ad9484
engine: fixup endianness found by -Werror=strict-aliasing in old armv7hf compiler (d259421111289af3b49c055150e02213f39075a6)
1 year ago
Alibek Omarov
b9ca0d4563
engine: common: network: more simple IP address copying from sockaddr to netadr_t and back
1 year ago
mittorn
dcb3da53b0
engine/client: fallback to defaults in touch_reloadconfig if config not exist
1 year ago
mittorn
e68b19ed1a
engine/client: handle touch config aspect ratio, try correctly handle touch aspect on resizeable windows
1 year ago
mittorn
14c7a84482
engine/client: always save touch config if it was resetted manually (helps after writing broken/empty config)
1 year ago
mittorn
bee81e9723
engine: Make SDL_GetBasePath error not fatal
1 year ago
mittorn
1bfb6c560a
platform/sdl: add check for missing hint defines
1 year ago
mittorn
24d6f1788a
platform/sdl: workaround ubuntu SDL2 bug preventing resolving any extensions on EGL
1 year ago
mittorn
fb95cc9a97
engine/client: respect m_ignore in mouse client code as grabbing window breaks touch input
1 year ago
mittorn
b949da291e
engine: fix strict aliasing issues found by an old armv7hf compiler
1 year ago
Alibek Omarov
2ecbe5b67e
engine: add testing master server at mentality.rip:27011
1 year ago
Alibek Omarov
7d61b5317c
engine: client: add random key to the query, so we can validate master server response
1 year ago
Alibek Omarov
201258dc9e
engine: client: allow passing additional filter through internetservers command arguments
1 year ago
Alibek Omarov
0330569537
engine: client: remove master server queries from NetAPI, they are never used by mods
1 year ago
Alibek Omarov
2d79f3ef7a
engine: common: sys_con: enable writing build commit, os and arch to the engine.log
1 year ago
Ivan Avdeev
a251600c8a
engine: common: imagelib: add KTX2 support ( #1455 )
...
* engine: common: imagelib: add KTX2 support
Adds basic KTX2 support for a few compressed formats. KTX2 essentially
is a Vulkan-centric texture format that supports literally hundreds of
pixel formats.
For now only support for these is added:
- `VK_FORMAT_BC4_UNORM_BLOCK`
- `VK_FORMAT_BC4_SNORM_BLOCK`
- `VK_FORMAT_BC5_UNORM_BLOCK`
- `VK_FORMAT_BC5_SNORM_BLOCK`
- `VK_FORMAT_BC6H_UFLOAT_BLOCK`
- `VK_FORMAT_BC6H_SFLOAT_BLOCK`
- `VK_FORMAT_BC7_UNORM_BLOCK`
- `VK_FORMAT_BC7_SRGB_BLOCK`
Adding more formats is relatively straightforward:
- Copy format definition from `VkFormat` enum in `vulkan_core.h`
- Add a new definition into `pixformat_t` enum.
- Add format size calculation into `Image_ComputeSize()`
While we're at it, also adds a few new formats to DDS:
- BC4_UNORM -- PF_BC4_UNSIGNED
- BC4_SNORM -- PF_BC4_SIGNED
- BC5_UNORM -- PF_BC5_UNSIGNED
- BC5_SNORM -- PF_BC5_SIGNED
- BC7 is expanded into BC7_UNORM and BC7_SRGB
ref_gl and ref_soft code is updated where it made sense. But not tested
really. Support for these formats has been tested with ref_vk.
* address spaces-vs-parentheses formatting where noticed
* parenthesize sizeofs
* move ktx2.h to imagelib as img_ktx2.h; massage it a bit
* use SetBits() instead of |=
* remove stale TODO comments
1 year ago
mittorn
6041bb0a43
platform/sdl: fix safegl
1 year ago
Alibek Omarov
5501ca927a
engine: client: respect cl_allow_download and cl_download_ingame for legacy servers
1 year ago
Alibek Omarov
33be1b7591
engine: client: let time flow in Xash demos
1 year ago