Alibek Omarov
85895c5311
engine: pmove: initialize trace argument in PM_TraceModel
2 years ago
Alibek Omarov
c076f4ff8e
engine: common: add generic trace_t initialize function
2 years ago
Alibek Omarov
5524aaae1e
engine: server: fix server dll leak when no map was loaded
2 years ago
Alibek Omarov
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
2 years ago
Alibek Omarov
6f36edfd16
engine: various const qualifier fixes
2 years ago
Alibek Omarov
8445567ab4
engine: server: remove unused arguments passed to Con_Printf
2 years ago
Alibek Omarov
db48d0ded7
engine: server: fix useless double assignment
2 years ago
Alibek Omarov
0d195ee6fe
engine: server: fix output of maps command
2 years ago
Alibek Omarov
5e4996b119
engine: server: fix bot count
2 years ago
Alibek Omarov
33d79ddb24
engine: server: fix possible array overruns
2 years ago
Alibek Omarov
51526948c0
engine: server: make PEntityOfEntIndex bug-compatible with GoldSrc
...
Add new undocumented GoldSrc eiface function, PEntityOfEntIndexAllEntities,
a bug-free version of PEntityOfEntIndex
Ref: https://github.com/ValveSoftware/halflife/issues/2272
2 years ago
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
3 years ago
SNMetamorph
d7431783d4
engine: sv_save: added entity_state_t->startpos to save fields
3 years ago
Alibek Omarov
c8410f7e46
engine: server: don't issue an assert on invalid client names
3 years ago
Alibek Omarov
12da44a3d7
engine: server: send protocol version to distinguish old engine and new
3 years ago
Alibek Omarov
36d757c74a
engine: server: fix message trace output
3 years ago
Alibek Omarov
2fa964e939
engine: server: restore sv_trace_messages from old engine
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
ca3544d559
engine: server: don't assert for NULL player in FatPAS/PVS if we don't need it
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
d9fd6aa05c
engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch.
3 years ago
Alibek Omarov
a8c877c841
engine: server: fix ParseFile calls
3 years ago
SNMetamorph
ec95948b69
engine: server: implemented instant game library loading
3 years ago
Alibek Omarov
7b8ec0ad4b
engine: server: fix another const qualifier lose
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
a547526e86
engine: fix some signed char cases
3 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
3 years ago
tyabus
0260a6c234
engine: server: backport maps command implementation from old engine
3 years ago
lilmayofuksu
2ad209b973
engine: server: updated TSource query to be more compatible with GoldSrc standard ( #497 )
...
Mark TSource queries as connectionless.
Only send Windows as the os if the engine was built on it.
3 years ago
Barış
18d8ef287d
engine: fix client can use kill command while not connected ( #492 )
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
49a20a9ac5
engine: server: fix memleak after previous commit
3 years ago
Alibek Omarov
8966172ce0
engine: server: avoid crash if map entity doesn't have classname (tfc map flagwar for example)
3 years ago
Alibek Omarov
ddd48c420b
engine: decrease instanced baseline index by minus one to avoid zero offset which interpreted as no baseline at all
3 years ago
Alibek Omarov
f31e9ae19e
engine: server: fix bounds check in SV_GetFragmentSize
3 years ago
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