Alibek Omarov
cee3757e6f
engine: common: hpak: add hpak deletion in validate function
2 years ago
SNMetamorph
084fac3606
engine: common: hpak: fixed rest of bugs in HPAK_AddLump
2 years ago
SNMetamorph
65671d8788
engine: common: minor code fixes in hpak.c
2 years ago
SNMetamorph
707c93c32c
engine: common: hpak: all file operations made to use gamedir only
2 years ago
Alibek Omarov
360dc4f7ed
engine: try to make hashpaks more compatible between 32-bit and 64-bit platforms
2 years ago
Alibek Omarov
0645402946
engine: fix crash when reading GoldSrc hashpaks
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 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
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Jonathan Poncelet
37255354d4
Various: Fixed obscure crashes on Mac
...
There were a couple of out-of-range/post-free accesses going on, which caused the Mac
build to crash when optimisations were turned on.
5 years ago
Alibek Omarov
25d8a94c1c
engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago