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
Alibek Omarov
a9dec51e59
ref: fix glpoly_t definition so it has true standard flexible array member
2024-08-10 13:46:00 +03:00
Alibek Omarov
257312ad7c
3rdparty: update extras
2024-08-10 13:45:41 +03:00
Владислав Сухов
6ee8a2dfa7
scripts: sailfish: bump engine version to 0.21
2024-08-09 12:41:47 +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
Alibek Omarov
8fcaf18897
engine: client: remove useless copy in NetAPI_SendRequest
2024-08-08 04:32:58 +03:00
Alibek Omarov
f558cde266
engine: client: fix build with -Wincompatible-pointer-types-discards-qualifiers
2024-08-08 04:31:51 +03:00
Alibek Omarov
b508a33f5d
engine: client: minor refactoring in CL_DecayLights, get rid of pointer iterating in for-loop
2024-08-07 09:23:09 +03:00
Alibek Omarov
b4db99006b
engine: client: always print timedemo result
2024-08-07 08:46:55 +03:00
Alibek Omarov
8994f079a5
engine: common: don't uselessly copy data in Netchan_OutOfBound when playing a demo
2024-08-07 02:28:58 +03:00
Alibek Omarov
b2d184cfa5
engine: common: add unit tests for net_buffer functions
2024-08-07 02:28:13 +03:00
Alibek Omarov
92dc92379f
engine: client: minor refactoring, turn quake stats into an enum
2024-08-06 08:42:23 +03:00
Alibek Omarov
2a6862ceb9
engine: soundlib: fix buffer overflow with truncated WAV files containing CoolEdit cue mark
2024-08-06 08:41:36 +03:00
Alibek Omarov
4c569e1d5f
engine: client: ensure loading plaque was removed after we request spawn on legacy protocol
2024-08-03 11:27:45 +03:00
Alibek Omarov
4420ffd49e
engine: fix buffer overflow in Sys_PrintLog
2024-08-03 11:27:45 +03:00
Alibek Omarov
fb7f57cf6a
engine: client: switch efrags to dynamic allocation (as suggested on insideqc by @mh)
2024-08-03 11:27:45 +03:00
Alibek Omarov
8be3bdac5d
engine: client: add command listdemo to show information about demo file (isn't really useful, just reads file header)
2024-08-03 11:01:17 +03:00
Alibek Omarov
2785376bd3
ref: remove unused function declarations
2024-08-03 09:14:56 +03:00
Alibek Omarov
d6e77e531d
engine: fix memory leak in netchan
...
frag_message_buf wasn't always freed alongside with fragbuf_t
instead of ensuring frag_message_buf being freed, I turned it into
a flexible array member
2024-08-03 08:40:33 +03:00
Alibek Omarov
e686b1410d
engine: client: set default fullscreen value in vid_fullscreen cvar definition
2024-07-31 00:53:58 +03:00
Alibek Omarov
2c23a1e0a0
engine: platform: sdl: fix going fullscreen after manually changing VIDRESTART cvars (like width and height)
2024-07-31 00:53:29 +03:00
Alibek Omarov
47eb9e8c8f
engine: client: replace same struct type memcpys by assignments
2024-07-31 00:06:22 +03:00
Alibek Omarov
712b354421
engine: common: replace same struct type memcpys by assignments
2024-07-31 00:06:22 +03:00
Alibek Omarov
18ef4922de
engine: server: replace same struct type memcpys by assignments
2024-07-31 00:06:22 +03:00
Alibek Omarov
274f9d5846
filesystem: replace same struct type memcpys by assignments
2024-07-31 00:06:15 +03:00
Alibek Omarov
f6fa085fe4
ref: gl: replace same struct type memcpys by assignments
2024-07-31 00:06:07 +03:00
Alibek Omarov
9ab0f04ba5
ref: null: replace same struct type memcpys by assignments
2024-07-31 00:05:57 +03:00
Alibek Omarov
fb7854f1ef
ref: soft: replace same struct type memcpys by assignments
2024-07-31 00:05:44 +03:00
Владислав Сухов
1086c31503
engine: client: in_touch.c: make the voicechat and spray buttons multiplayer only
2024-07-30 17:52:28 +03:00
Alibek Omarov
3a47248a09
extras: update submodule
2024-07-30 15:34:20 +03:00
Владислав Сухов
71a333261b
engine: client: in_touch.c: added voicechat touch button
2024-07-30 15:33:35 +03:00
Alibek Omarov
5ea2e295c1
engine: prevent rescanning filesystem when new player connects or on late precache
...
By reusing a padding hole in resource_t structure, we put a bit indicating that this archive
was already mounted by filesystem and skip it.
Because we associate this with resource, theoretical use of late precache with archives
will rescan filesystem and allow using newly downloaded assets.
2024-07-30 15:25:48 +03:00
Alibek Omarov
1fc7547a53
engine: client: clean up scr_viewsize remnants, don't tell client.dll scr_viewsize cvar value
2024-07-30 15:25:20 +03:00
Alibek Omarov
a7d63649f8
engine: add checks to verify resource_t, customization_t and HPAK data structs sizes
2024-07-30 15:25:20 +03:00
Alibek Omarov
2f26fcdc2a
public: disallow backslashes in COM_PathSlashFix
2024-07-30 15:25:20 +03:00
Alibek Omarov
107d4cdd61
engine: client: fix buffer overrun in S_TrimEnd
2024-07-30 15:25:20 +03:00
Alibek Omarov
52f9aad4d0
filesystem: add new call to fs_stdio C API to check whether we support that archive format
2024-07-30 15:25:20 +03:00
Alibek Omarov
7bb5175084
Turn downloaded/ and custom/ into com_strings.h definitions, like sound path and saves path
2024-07-30 15:25:20 +03:00
Alibek Omarov
dd570b616b
engine: client: properly exit from touch editor to menu when user have chosen to cancel and reset
2024-07-29 05:11:41 +03:00
Alibek Omarov
943a30af04
engine: client: add privileged flag to touch_in_menu and touch_enable
2024-07-29 05:08:35 +03:00
Alibek Omarov
eabed60e56
engine: automatically turn-on touch emulation while editing touch from menu
2024-07-29 05:06:10 +03:00
Alibek Omarov
f793413a79
mainui: update
2024-07-29 05:05:20 +03:00
Alibek Omarov
f4a3b8571d
engine: fix inverted check in debug log output
...
Why there is even this check in the first place???
2024-07-29 04:48:21 +03:00
Alibek Omarov
da6586b847
ref: gl: fix white border around the screen in Base Defense mod
2024-07-28 23:58:09 +03:00
Alibek Omarov
4a5f34089d
engine: client: fix TriColor4fRendermode
2024-07-28 20:50:20 +03:00