Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
2021-03-27 23:46:57 +03:00
Alibek Omarov
155eb1ba58
engine: fix various warnings
2021-03-07 03:40:01 +03:00
Alibek Omarov
d7b3c7b681
engine: proper order for XASH_LOW_MEMORY definitions
2021-01-29 03:24:41 +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
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
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
23fe1c0985
engine: use appropriate path array length
2019-11-24 02:10:52 +03:00
Alibek Omarov
0cb591821a
Merge sdl12-port into master
2019-11-06 22:29:04 +03:00
mittorn
6953e829c4
lowmemory: prevent redefines
2019-11-04 22:34:08 +07:00
mittorn
0e7013eeb0
lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer
2019-11-04 19:58:45 +07:00
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
2019-11-02 08:56:07 +03:00
mittorn
5348046109
lowmemory: increase decals limit
2019-10-28 12:29:44 +07:00
mittorn
57d48b64eb
keys: add OSK
2019-10-28 12:28:52 +07:00
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
2019-10-26 07:06:26 +07:00
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
2019-10-18 16:46:54 +03:00
Alibek Omarov
b539ed5a3d
engine: remove write_to_clipboard, as there was no way to enable it for a long time and no one even asked for this
2019-07-19 17:24:25 +03:00
Alibek Omarov
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
2019-07-13 20:54:16 +03:00
Alibek Omarov
a85a856215
engine: implement connection warning dialog showing up, update menu
2019-07-12 22:42:13 +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
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
2019-07-09 03:48:09 +03:00
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
2019-07-01 05:50:04 +03:00
Alibek Omarov
70d45f23de
public: crclib now is part of public library
2019-06-06 04:33:57 +03:00
Alibek Omarov
003bbea358
engine: common: remove unneeded REF_DLL ifdef, keep #error anyway
2019-06-06 01:28:59 +03:00
Mr0maks
5cf4e34607
filesystem: zip: codestyle
2019-05-27 20:44:14 +05:00
Mr0maks
671c247381
Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs
2019-05-25 22:54:42 +05:00
Alibek Omarov
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
Mr0maks
85b5b4e965
filesystem: add support for zip files
2019-05-24 21:13:03 +05:00
Alibek Omarov
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
Alibek Omarov
3fef353291
android: initial port
2019-05-02 18:07:03 +03:00
Alibek Omarov
4880ca3ca2
engine: move EXPORT definition to xash3d_types
2019-03-20 02:38:37 +03:00
mittorn
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
2019-03-16 11:18:43 +07:00
Alibek Omarov
199ebfed48
ref: implement engine ref API
2019-03-16 04:17:56 +03:00
Alibek Omarov
234507b7f1
ref: fix all undefined references
2019-03-11 17:37:58 +03:00
Alibek Omarov
d0d5fd1a3f
ref: fix some undefined references, compile-in mathlib and crtlib to refdll
2019-03-06 17:14:25 +03:00
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
2019-03-06 16:23:33 +03:00
Alibek Omarov
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
2019-02-24 18:45:44 +03:00
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
2019-02-23 21:49:46 +03:00
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
mittorn
e05c1ed912
HTTP download support
2019-02-02 05:15:59 +07:00
mittorn
f3ae5159cb
Add endian conversion macros
2019-01-29 17:27:36 +07:00
mittorn
bbd4c1315e
legacymode: implement clc_userinfo
2019-01-29 02:33:30 +07:00
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
2019-01-07 04:07:06 +03:00
Alibek Omarov
b8c4c31e02
Merge 4344 update
2018-12-30 01:51:02 +03:00
Alibek Omarov
bf07a9e61e
Apply 4344 update
2018-12-30 01:43:07 +03:00
mittorn
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
Alibek Omarov
deb537c1bb
common: fix NULL redefine(do we really need NULL definition?)
2018-11-18 17:52:01 +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
e123499e23
Fix build
2018-07-12 23:22:06 +03:00
Alibek Omarov
7601a4cd29
Revert 64257ef
to not break C++ header compability
2018-07-12 23:13:30 +03: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
1e7f9d00c3
Apply 4150 update
2018-06-19 16:22:30 +03: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
lewa_j
43b746d2f8
Fix MinGW build
2018-05-13 23:25:51 +03:00
Alibek Omarov
faf15df62f
Correct max_particles clamping
2018-04-26 02:53:24 +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
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
mittorn
ab0bcc55f8
Apply Apr20 update
2018-04-21 08:06:55 +00:00
Alibek Omarov
314a6deba9
Remove gamedir[] from engine-side gameinfo_t
2018-04-21 01:22:00 +03:00
Alibek Omarov
b7622e6009
Fix implicit function declaration. Fix struct declaration in parameter list
2018-04-21 00:05:08 +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
c1076f43f7
Update client engine interface
2018-04-19 21:51:17 +00:00
Alibek Omarov
5d13112e25
Dedicated build
2018-04-18 18:32:30 +03:00
Alibek Omarov
be4b885254
Merge common SDL port changes
2018-04-17 03:53:01 +03:00
Alibek Omarov
64257ef428
Avoid some struct declaration in parameter list
2018-04-14 04:26:12 +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
5a1b03ac20
Integrate FWGS vgui_support
2018-04-14 01:49:14 +03:00
Alibek Omarov
b940a62f02
host.c port
2018-04-13 21:28:46 +03:00
Alibek Omarov
d564a062ce
Filesystem port
2018-04-13 20:44:39 +03:00
Alibek Omarov
e5b0473e4a
Fix conflicting types on NXPrintf function family
2018-04-13 20:08:50 +03:00
Alibek Omarov
25325e6150
Port common.h and system.h. Add backends.h, defaults.h, port.h, xash3d_types.h from fork
2018-04-13 19:56:43 +03:00
Alibek Omarov
a639b72e90
AVI stub for non-Windows
2018-04-13 19:42:17 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00