Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2 years ago
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
cacfff008f
engine: common: enable autocomplete for mp3 command
2 years ago
Alibek Omarov
da5ec56567
engine: common: con_utils: fix const qualifier discard in Con_CheckName
2 years ago
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2 years ago
Alibek Omarov
df1c9a5029
engine: simplify blue shift swapped lump check, change TestBmodelLumps to avoid reading past mod buffer
2 years ago
Alibek Omarov
41aa867a21
engine: common: don't try to delete now non-existing config file after backing up
2 years ago
Andrey Akhmichin
177ed2c603
engine: common: simplify strings operations.
2 years ago
Alibek Omarov
51161004eb
engine: common: simplify string operations
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
295adcf222
engine: con_utils: don't also prepend backslash in autocompletion~
3 years ago
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
3 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
4 years ago
Alibek Omarov
94959110f6
engine: fix typo, #488
4 years ago
Alibek Omarov
43f1137565
engine: use substring search for mpfilter
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
abd9778ef3
engine: common: simplified strings operations.
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
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
iZarif
bf8b87c29d
engine: client/common: fix a few more format warnings
5 years ago
Alibek Omarov
d790292829
engine: replace CFG_END macro with function, add saving support for R_GetConfigName
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
6 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
6 years ago
Alibek Omarov
7dda1c28f4
engine: console: add missing hpk commands autocomplete
6 years ago
Alibek Omarov
364c96f45c
engine: console: sort output in commmand autocomplete for bind
6 years ago
Alibek Omarov
7aa163f713
engine: console: implement autocomplete for any arg count, add autocomplete for bind for both keys and commands
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
626df3673c
Fix missing newline after exec userconfig.cfg
6 years ago
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
ef39f9c9cf
engine: dedicated: fix build
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
891c984c56
Port some config changes
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
f15e2c2dcf
Move command autocomplete to common engine files, as it used by Wcon and may be used by curses console in future
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
7 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
mittorn
db92c918b2
Apply Apr19 update
7 years ago
Alibek Omarov
5d13112e25
Dedicated build
7 years ago
Alibek Omarov
32b07cda86
Add kbutton.h, fix includes
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago