Alibek Omarov
a1060b0eb5
engine: add v6only master servers, add v6only flag for NET_StringToAdrNB
2024-10-02 23:23:08 +03:00
Alibek Omarov
ddd8de888f
engine: add macro XASH_NO_IPV6_RESOLVE to completely skip resolving addresses with family AF_INET6
2024-10-02 23:21:25 +03:00
Alibek Omarov
87775faeca
engine: common: properly check if we can destroy resolve mutexes. Add net_resolve_debug cvar to enable printing resolve thread debug messages.
2024-10-02 22:16:51 +03:00
Alibek Omarov
47d1f3459c
engine: common: try to implement DNS resolve thread through SDL2 functions if SDL2 build is enabled
2024-10-02 00:55:53 +03:00
Alibek Omarov
4712aae834
engine: server: move autoprecaching wads after parsing reslists
...
An attempt to avoid assert() in HL Unified SDK.
2024-09-30 18:46:01 +03:00
Ivan Avdeev
2900ee1cde
engine: allow specifying screenshot filenames in command directly
2024-09-30 17:15:09 +03:00
Alibek Omarov
c6c4178dd2
engine: client: set TE_SPRAY to collide with world, fixes c7ad8e4bf
2024-09-30 04:15:22 +03:00
Alibek Omarov
0b1ad3b7f0
engine: imagelib: fix mismatched dealloc in a test
2024-09-30 04:00:28 +03:00
Alibek Omarov
bc8bf9a9fb
engine: add const on delta functions
2024-09-30 04:00:28 +03:00
Alibek Omarov
9e28c98911
engine: print to stderr if writing message to logfile failed
2024-09-30 04:00:28 +03:00
Alibek Omarov
9ee1b32e2d
engine: set malloc like and warn_unused_result attributes on common allocation functions, fs, image and soundlib
2024-09-30 04:00:28 +03:00
Alibek Omarov
953ad98a16
engine: workaround buggy stringop-overflow
2024-09-30 04:00:28 +03:00
Alibek Omarov
c7ad8e4bf6
engine: client: more accurate implementation of TE_SPRAY and TE_SPRITE_SPRAY
2024-09-29 20:36:09 +03:00
Alibek Omarov
178602ea1f
engine: fix loading map in Dark Future mod with broken mark surface id
2024-09-05 15:23:23 +03:00
Alibek Omarov
2eb8f88a20
engine: move attenuation none sound spatialize fix to bugcomp mode, as Xash native games use this
2024-09-05 13:50:15 +03:00
Alibek Omarov
96d11df06c
Revert "engine: client: sounds with zero attenuation must get spatialized anyway"
...
This reverts commit 0870536405
.
2024-09-05 13:27:54 +03:00
Alibek Omarov
950d210ec5
Revert ABI2, it wasn't meant to end up in master branch.
2024-09-05 04:31:50 +03:00
Alibek Omarov
0870536405
engine: client: sounds with zero attenuation must get spatialized anyway
2024-09-05 01:28:55 +03:00
Alibek Omarov
b47ede477a
engine: server: strip 64-bit string pool stuff for now, to not mess up abi2
2024-09-05 01:28:55 +03:00
Alibek Omarov
eef5cc17b3
breaking engine headers by replacing int with string_t where it's supposed to be
2024-09-05 01:28:55 +03:00
Alibek Omarov
ad2191333d
engine: add _st64 prefix to load abi2 binaries
2024-09-05 01:28:55 +03:00
SNMetamorph
a85cac497d
ref: disabled verbose reporting about tracer invalid color index
2024-09-03 15:31:51 +03:00
Alibek Omarov
ff3d91ceb4
engine: add aaaa.mentality.rip:27011 master server
2024-08-28 19:56:41 +03:00
Alibek Omarov
5777431577
engine: common: insert spaces between arguments in echo command
2024-08-22 16:45:42 +03:00
Alibek Omarov
cd86f80203
engine: common: make MSG_WriteOneBit inlined, as it's usually called with literal argument
2024-08-22 12:51:47 +03:00
Alibek Omarov
6b0f378c5b
engine: client: ensure requested (but failed) renderer won't be loaded twice
2024-08-21 12:18:06 +03:00
Alibek Omarov
9dd7f37d42
Revert "engine: client: add missing ref_null to R_CollectRendererNames"
...
This reverts commit 69ec810ed0
.
2024-08-21 12:18:06 +03:00
Alibek Omarov
9f10fb6472
engine: client: ensure RefDll cvars have FCVAR_REFDLL flag, clean up them automatically. Don't unload failed renderer, it will be done in R_UnloadProgs
2024-08-21 12:18:06 +03:00
Alibek Omarov
64dbccb9bd
engine: platform: sdl: do not call SDL_VideoQuit in R_Free_Video, as one failed renderer will shut down whole SDL video subsystem
2024-08-21 12:18:06 +03:00
Alibek Omarov
9a432a5a13
common: rewrite cvardef.h from scratch based on Quake definitions
...
* unify cvar.h and cvardef.h, enable private definitions only for refdll and engine
* add FCVAR_REFDLL for easier RefDll cvars cleanup
2024-08-21 12:18:06 +03:00
Alibek Omarov
842e494fa6
common: add macro for simultaneously checking data type size for ILP32 and LP64
2024-08-21 12:00:35 +03:00
Alibek Omarov
7fc9ee154a
engine: client: fail with Sys_Error when no renderer is loaded, as we can't recover from it
2024-08-19 13:25:07 +03:00
Alibek Omarov
5f84010c2a
engine: server: enable allocating 64-bit string pool closer to server library only for Linux amd64, as mmap() isn't reliable anywhere else
2024-08-19 13:22:04 +03:00
Alibek Omarov
151405618f
engine: client: input: slight refactoring of mouse grabbing, add verbose output for debugging mouse issues
2024-08-16 12:59:54 +03:00
Alibek Omarov
70e11cc309
engine: platform: sdl: borderless fullscreen windows don't need to restore desktop resolution
...
* This fixes the case when we switch from windowed to borderless, minimize the window
and restore makes it lose it's fullscreen state
2024-08-16 12:25:08 +03:00
Alibek Omarov
7619824d80
engine: platform: sdl: return correct value from SW_CreateBuffer on success
2024-08-16 11:36:36 +03:00
Alibek Omarov
f3d181b5ee
engine: platform: psvita: explicitly export __aeabi_ul2f
2024-08-16 02:22:25 +03:00
Alibek Omarov
55055a70f0
engine: client: allocate mods list for UI on demand
2024-08-15 12:27:43 +03:00
Alibek Omarov
22d3ba674e
engine: client: ensure demoheader will be written when we're recording demo and changed level
2024-08-14 19:10:00 +03:00
Alibek Omarov
69ec810ed0
engine: client: add missing ref_null to R_CollectRendererNames
2024-08-13 19:16:59 +03:00
Alibek Omarov
2df01316ce
engine: client: add two new APIs for mainui to get extended new gameinfo structure
2024-08-13 18:28:07 +03:00
Alibek Omarov
340871e03a
engine: platform: sdl: correct the message about glblit in ref_soft
2024-08-11 18:32:10 +03:00
Alibek Omarov
bd2a44dbdd
engine: common: fix fragbuf_t definition so it has true standard flexible array member
2024-08-10 13:46:00 +03:00
Alibek Omarov
e9ee4beb9f
engine: client: fix rawchan_t definition so it has true standard flexible array member
2024-08-10 13:46:00 +03:00
Alibek Omarov
3b3f057f6f
engine: common: fix winding_t definition so it has true standard flexible array member
2024-08-10 13:46:00 +03:00
Владислав Сухов
75c5e9cfa7
engine: bump engine version to 0.21
2024-08-09 12:41:47 +03:00
Gleb Mazovetskiy
1a94f2b585
Enable vsync by default
...
This is the first setting I change after installing xash3d-fwgs. Some distros even patch xash3d-fwgs to enable vsync by default (e.g. Batocera).
Let's enable vsync by default here.
2024-08-09 09:14:50 +03:00
Alibek Omarov
f0b4c42c68
engine: common: faster and simpler Netchan_OutOfBand
2024-08-08 04:37:16 +03:00
Alibek Omarov
9be061735f
engine: client: fix misleading gcc warning about printf format string not being literal
2024-08-08 04:36:40 +03:00
Alibek Omarov
6bfa525080
engine: common: faster and simpler MSG_WriteString
2024-08-08 04:35:55 +03:00