Alibek Omarov
843c9abf9b
engine: common: fix array underrun
2022-05-25 03:38:19 +03:00
Alibek Omarov
fba323cf1f
engine: common: cosmetic changes to usage string generating code
2022-03-10 04:52:16 +03:00
Alibek Omarov
85f99c723a
engine: add sys_timescale implementation
2022-03-03 05:38:36 +03:00
Alibek Omarov
3f7773f83b
engine: client: rewrite VOX subsystem, fix spaces being taken into sentences, add tests for parser, remove dead code
2022-02-22 09:40:15 +03:00
Alibek Omarov
ffea7d9729
engine: add host_lowmemorymode cvar to indicate low memory mode level
2022-01-27 03:32:52 +03:00
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
2021-12-31 03:49:11 +03:00
Alibek Omarov
c00e77c02e
engine: fix const qualifier discard
2021-11-27 05:27:45 +03:00
Alibek Omarov
992bcd89ef
engine: add cmd and cvar tests for privileged mode
2021-11-23 05:23:38 +03:00
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
2021-11-23 05:23:38 +03:00
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
Alibek Omarov
b93938956e
engine: allow exec command with config filenames whitelist
2021-11-23 05:23:38 +03:00
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
Alibek Omarov
1a1d81de62
engine: add stuffcmd filtering, not wired to ClientCmd yet
2021-11-23 05:23:38 +03:00
Alibek Omarov
a235bec5f1
engine: introduce COM_ParseFileSafe, add tests
2021-10-08 17:31:32 +03:00
SNMetamorph
e4ad8def0d
engine: filesystem: fixed current directory changing for Windows
2021-10-03 12:28:59 +03:00
SNMetamorph
ec95948b69
engine: server: implemented instant game library loading
2021-10-03 04:38:05 +03:00
Alibek Omarov
91ee9bd32a
engine: merge tests for imagelib
2021-06-20 20:26:22 +03:00
Alibek Omarov
6ea25b8194
engine: add simple unit-testing (v3?)
2021-06-20 19:59:16 +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
Alibek Omarov
9b22149509
engine: host: execute server.cfg right before main loop starts
2020-05-02 19:26:41 +03:00
Alibek Omarov
732cb925e5
launcher: use engine definitions, enable cocon_win by default, fix Com_LoadLibrary to COM_LoadLibrary, fix memory leak, fix incorrect argv
2020-04-25 21:28:19 +03:00
Alibek Omarov
82c54b1b54
engine: disallow zero-width strings for getenv()
2020-04-19 13:02:51 +03:00
Aimless Wanderer
51a45d745e
engine: userconfig.d support from old engine
2020-04-14 20:08:08 +03:00
Alibek Omarov
3d9c482eae
host: add -help, fix #136
2020-03-04 08:55:22 +03:00
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
2020-02-08 23:15:40 +07:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
mittorn
bbd033c254
lib: restore dll loader support
2020-01-19 07:38:37 +07:00
Alibek Omarov
077bc7323c
engine: host: fix crash
2019-12-02 01:01:39 +03:00
Alibek Omarov
08e7bb1bf4
engine: common: enable our own build number counter, move legacy to Q_buildnum_compat
2019-11-28 17:49:14 +03: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
Alibek Omarov
ac4a14ef6c
engine: host: support DEFAULT_DEV macro
2019-11-24 03:02:12 +03:00
Alibek Omarov
1f308a43c8
engine: fix build after lowmemory rebase
2019-11-02 08:56:07 +03:00
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
2019-11-02 08:56:07 +03:00
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
2019-11-02 08:56:07 +03:00
Alibek Omarov
4beba75159
engine: fix various compiler warnings
2019-07-13 23:25:03 +03:00
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
2019-07-09 03:48:09 +03:00
Alibek Omarov
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
Alibek Omarov
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +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
a9cf3357c7
ref: move GLES driver hint to SetAttribute as we don't choose GLES renderer in compile-time anymore
2019-04-04 22:43:33 +03:00
mittorn
e05c1ed912
HTTP download support
2019-02-02 05:15:59 +07:00
Alibek Omarov
0409107ee2
scripts: appimage: fix generating extras.pak
2019-01-12 03:01:50 +03:00
Alibek Omarov
c8035c1adf
host: fix implicit declaration on Win32 builds
2019-01-12 02:53:41 +03:00
Alibek Omarov
5fda638edf
host: fix compiling error
2019-01-12 02:48:56 +03:00
Alibek Omarov
ed05519c60
host: rearrange conditionals in Host_CalcFPS for better readability
2019-01-11 23:20:35 +03:00
Josh K
422e511aac
Added the 'sleeptime' cvar and behavior from the 'Old Engine'.
2018-12-23 07:32:13 -05:00
mittorn
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
Alibek Omarov
3fe737058f
buildinfo: add host_ver cvar
2018-11-29 01:54:25 +03:00
Alibek Omarov
25d8a94c1c
engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c
2018-11-16 15:25:04 +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
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
fdb2055b62
Add RoDir support
2018-07-10 23:03:27 +03:00
Alibek Omarov
2edbcb996d
Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends.
2018-06-19 16:59:53 +03:00
Alibek Omarov
7cdead7bac
Merge 4143 update
2018-06-12 12:18:14 +03:00
Alibek Omarov
a539384a76
Apply 4143 update
2018-06-12 12:14:56 +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
0561ac2076
Add basecmd from old engine. Add basecmd_stats command
2018-06-01 21:28:25 +03:00
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
2018-06-01 20:44:16 +03:00
mittorn
42b4e456a2
Fix log
2018-05-03 23:51:23 +07:00
Alibek Omarov
0681209114
Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated
2018-05-01 17:30:33 +03:00
mittorn
0c903c1e56
Fix dedicated server build
2018-04-26 14:11:01 +00:00
Alibek Omarov
dcc19aeafb
Merge 4097
2018-04-26 03:23:00 +03:00
Alibek Omarov
9bab7d222a
Apply 4097 update
2018-04-26 03:09:36 +03:00
Alibek Omarov
fd649905ea
Fix some format warnings
2018-04-23 21:49:37 +03:00
Alibek Omarov
e8d13cd0d5
Rebrand from Xash3D to Xash3D FWGS. Add _format() attrubute to print-like functions
2018-04-23 21:36:33 +03:00
mittorn
8704c07e4b
Merge branch 'original'
2018-04-21 13:44:06 +00:00
Alibek Omarov
2c755778f4
Deprecate secure parameter
2018-04-21 11:16:33 +03:00
mittorn
ab0bcc55f8
Apply Apr20 update
2018-04-21 08:06:55 +00:00
Alibek Omarov
d3990e03e6
Add text input mode calls where they should be. Disable text input mode at initialization
2018-04-21 00:37:16 +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
mittorn
af7123f7dd
Merge branch 'original' (except gldebug, msaa)
2018-04-19 20:47:41 +00:00
mittorn
050d2a3d0f
Apply Apr18 update
2018-04-19 20:11:24 +00:00
Alibek Omarov
5d13112e25
Dedicated build
2018-04-18 18:32:30 +03:00
Alibek Omarov
7fdabb73a8
Add identification support from fork
2018-04-17 03:56:49 +03:00
Alibek Omarov
4a0add4063
Move Win32 console into separate file(second commit), hide Win32 console code under _WIN32 macro. Add some fork-specific macros. Add sys_con.c for generic log file implementation.
2018-04-14 04:08:28 +03:00
Alibek Omarov
b940a62f02
host.c port
2018-04-13 21:28:46 +03:00
Alibek Omarov
08984bd549
Rename features.h to enginefeatures.h because this name used internally by glibc
2018-04-13 19:26:48 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00