fix: crash with hl25 structs on xash3d again

fix: %t placeholder should return damage inflictor when used in team attack section of chat
fix: all arguments in bot commands are lowercased (resolves #680)
bot: disable threads when engine's timescale is active
bot: a little refactor for the code all over the places
linkage: resolved crash due to sse alignment on ancient engines (resolves #614)
utils move wave parse into crlib
practice: move loading practice to thread pool
build: allow to build with static linkents instead of hooking dlsym

Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
jeefo 2025-03-16 18:25:15 +03:00
commit 38c45aff9a
No known key found for this signature in database
GPG key ID: D696786B81B667C8
37 changed files with 348 additions and 304 deletions

View file

@ -42,6 +42,7 @@ opt_64bit = get_option('64bit')
opt_native = get_option('native')
opt_winxp = get_option('winxp')
opt_nosimd = get_option('nosimd')
opt_static_linkent = get_option('static_linkent')
# cpp and ldflags from scratch
cxxflags = []
@ -143,17 +144,21 @@ if cxx == 'clang' or cxx == 'gcc'
]
if os != 'darwin' and os != 'windows' and cpu != 'aarch64' and cpu != 'arm' and not cpu.startswith('ppc')
cxxflags += [
'-fdata-sections',
'-ffunction-sections',
'-fcf-protection=none',
'-fno-plt'
]
if not opt_static_linkent
cxxflags += [
'-fdata-sections',
'-ffunction-sections',
'-fcf-protection=none',
'-fno-plt'
]
ldflags += [
'-Wl,--version-script=' + meson.project_source_root() + '/ext/ldscripts/version.lds',
'-Wl,--gc-sections'
]
ldflags += [
'-Wl,--version-script=' + meson.project_source_root() + '/ext/ldscripts/version.lds',
'-Wl,--gc-sections'
]
else
cxxflags += ['-DLINKENT_STATIC']
endif
if cxx == 'gcc'
cxxflags += [