Alibek Omarov
d8b261370a
engine: common: do not probe server to collect cvars for game.cfg (CHECK THIS)
2023-10-28 11:06:18 +03:00
Alibek Omarov
2067667c9c
engine: fix inverted check in DLL unloading in settings.scr parsing
...
Fixes: aee99f6094
2023-08-03 02:40:02 +03:00
Alibek Omarov
aee99f6094
engine: don't release DLL that wasn't loaded during settings.scr parsing. This should be deleted as soon as possible!
2023-08-03 01:11:06 +03:00
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2023-04-26 05:20:45 +03:00
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2023-04-26 05:20:45 +03:00
Alibek Omarov
cacfff008f
engine: common: enable autocomplete for mp3 command
2023-04-19 17:54:45 +03:00
Alibek Omarov
da5ec56567
engine: common: con_utils: fix const qualifier discard in Con_CheckName
2023-03-14 00:35:07 +03:00
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2023-03-13 06:08:36 +03:00
Alibek Omarov
df1c9a5029
engine: simplify blue shift swapped lump check, change TestBmodelLumps to avoid reading past mod buffer
2023-01-03 07:01:39 +03:00
Alibek Omarov
41aa867a21
engine: common: don't try to delete now non-existing config file after backing up
2022-12-27 02:31:46 +03:00
Andrey Akhmichin
177ed2c603
engine: common: simplify strings operations.
2022-12-04 22:37:45 +03:00
Alibek Omarov
51161004eb
engine: common: simplify string operations
2022-12-04 05:26:22 +03:00
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
2022-07-28 18:56:02 +03:00
Alibek Omarov
295adcf222
engine: con_utils: don't also prepend backslash in autocompletion~
2022-01-04 02:31:41 +03:00
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
2021-10-08 17:31:32 +03:00
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
2021-06-18 00:05:34 +03:00
Alibek Omarov
94959110f6
engine: fix typo, #488
2021-06-07 15:53:20 +03:00
Alibek Omarov
43f1137565
engine: use substring search for mpfilter
2021-06-07 02:23:44 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
2020-11-28 23:20:14 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
2019-11-24 03:52:08 +03:00
iZarif
bf8b87c29d
engine: client/common: fix a few more format warnings
2019-10-22 17:56:08 +03:00
Alibek Omarov
d790292829
engine: replace CFG_END macro with function, add saving support for R_GetConfigName
2019-07-28 00:27:35 +03:00
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
Alibek Omarov
4beba75159
engine: fix various compiler warnings
2019-07-13 23:25:03 +03:00
Alibek Omarov
7dda1c28f4
engine: console: add missing hpk commands autocomplete
2019-07-09 15:23:55 +03:00
Alibek Omarov
364c96f45c
engine: console: sort output in commmand autocomplete for bind
2019-07-09 15:11:50 +03:00
Alibek Omarov
7aa163f713
engine: console: implement autocomplete for any arg count, add autocomplete for bind for both keys and commands
2019-07-09 15:08:00 +03:00
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
2019-05-02 19:12:23 +03:00
Alibek Omarov
626df3673c
Fix missing newline after exec userconfig.cfg
2018-12-25 06:12:01 +03:00
Alibek Omarov
b9945d62a3
Apply 4312 update
2018-11-27 16:15:24 +03:00
Alibek Omarov
622de7a7f1
Apply 4312 update
2018-11-27 16:11:26 +03:00
Alibek Omarov
ef39f9c9cf
engine: dedicated: fix build
2018-11-01 23:31:16 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
mittorn
891c984c56
Port some config changes
2018-10-04 16:08:49 +07:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
mittorn
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
Alibek Omarov
f15e2c2dcf
Move command autocomplete to common engine files, as it used by Wcon and may be used by curses console in future
2018-06-14 21:19:04 +03:00
Alibek Omarov
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00
Alibek Omarov
814b7eda07
Apply 4140 update
2018-06-09 01:28:35 +03:00
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
2018-06-01 20:44:16 +03:00
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.
2018-04-23 23:07:54 +03:00
Alibek Omarov
fd649905ea
Fix some format warnings
2018-04-23 21:49:37 +03:00
mittorn
926b909f3d
Merge branch 'original'
2018-04-20 12:38:53 +00:00
mittorn
db92c918b2
Apply Apr19 update
2018-04-20 08:41:02 +00:00