Alibek Omarov
4543008012
engine: server: declare sv_client_t::flags as unsigned
3 years ago
SNMetamorph
75e80bc2ff
engine: server: fixed cvars sv_max/minupdaterate, sv_max/minrate
3 years ago
Alibek Omarov
f5e400de69
server: fix wrong xashid key on server, it's uuid now
4 years ago
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
4 years ago
Alibek Omarov
9c9953bb60
server: fix some cvars being registered incorrectly or not registered at all
4 years ago
Alibek Omarov
e5a40fd745
server: fix password presence wasn't advertised to clients on info message #359
4 years ago
Alibek Omarov
ed0ca2b2d2
engine: fix predicting oldbuttons
4 years ago
Alibek Omarov
42f47f51b5
server: implement GetFileSize and GetApproxWavePlayLen from HLSDK 2.4
4 years ago
Alibek Omarov
aea9e8efa2
server: sv_validate_changelevel is deprecated now and disabled by default
...
If anyone wants this feature back, use +sv_validate_changelevel 1 in command line.
4 years ago
Alibek Omarov
585ae28dd2
server: fix some int <> unsigned int conversions
4 years ago
Alibek Omarov
fa555c1f09
server: add hardcoded list of chapters for HL, BS and OF, same as GoldSrc
...
Fix incomplete comment in save file when server DLL provides SV_SaveGameComment.
Fix possible buffer overflow when reading comment from save file.
4 years ago
Ivan Avdeev
012d1fa8bd
fix USE_MMAP usage
...
should fix CI failures
4 years ago
Ivan Avdeev
1b426b67e7
partially fix amd64 build on windows
...
Quality of this commit is questionable. I have no idea whether what I did
here makes sense or not.
But it compiles and runs (provided with hlsdk-xash3d amd64 build, which
is another story).
This omits necessary waf changes that are necessary to make a valid
64-bit build. Apparently it's not enough to just pass `-8` on Windows,
you also need to hack wscript to add `x64` target to MSVC. I'll do that
later when I figure out how.
This change is a precursor for RTX Vulkan effort --
VK_KHR_ray_tracing_pipeline and friends are only available on 64-bit
nvidia drivers (no idea about AMD, pls send GPUs onegai).
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
1332381e2d
engine: server: simplified strings operations.
4 years ago
Alibek Omarov
ce1fc386a2
engine: server: reformat SV_Init
5 years ago
Alibek Omarov
77bebe3000
engine: server: remove FCVAR_SERVER from gamedir cvar, set FCVAR_READ_ONLY instead. Seems it was used when Xash had hot change game, i.e. without restarting engine.
5 years ago
Andrey Akhmichin
87340ceca8
engine: server: fix godmode behavior.
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
303a88730c
server: fix crash when sorting entities on watcom libc
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
mittorn
bbd033c254
lib: restore dll loader support
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
5 years ago
Alibek Omarov
4a56dfcd00
engine: fix extra zeros in %0
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
428e8ef427
engine: server: simplify game saving code, hide GL_FreeImage under XASH_DEDICATED macro
5 years ago
mittorn
37cba10c14
lowmemory: fix sentences
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
531c6cc375
engine: server: explicitly cast literals to floats
5 years ago
Wei Mingzhi
88772a1c34
engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs.
5 years ago
Alibek Omarov
d382f6886d
engine: fix build
5 years ago
Jonathan Poncelet
214f53b8a7
SV_DropClient: Prevented transmission to fake clients
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
a0cbac4fc7
engine: server: use generic SV_RejectConnection instead of directly sending errormsg
5 years ago
Alibek Omarov
3e4bd20919
engine: client: implement sending input devices list to server, using protinfo
5 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
5 years ago
Alibek Omarov
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
5 years ago
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 years ago
Jonathan Poncelet
d14ce5ac39
SV_LoadProgs: Fixed potential memory leak if function failed ( #46 )
...
SV_LoadProgs: Fixed potential memory leak if function failed
5 years ago
Alibek Omarov
70d45f23de
public: crclib now is part of public library
5 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
62f04137a5
engine: hide ref calls under Host_IsDedicated checks, replace ref function ptr checks by \!Host_IsDedicated
6 years ago
Alibek Omarov
743c5ca8d5
engine: make dedicated work again
6 years ago
mittorn
bf2f829382
Disable Mod_ClearUserData in SV_UnloadProgs (it is still called on restart)
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago