Commit Graph

40 Commits

Author SHA1 Message Date
fc84cd2a0a
engine: common: always show message box when we're in normal mode
Only dedicated server is expected to throw errors to console
2022-07-11 02:45:40 +03:00
e44718d531 engine: fix build 2022-06-13 04:17:02 +03:00
e6a2c207de engine: implement change game with execv in-engine. For now it enabled for all platforms, will probably disabled selectively 2022-06-13 03:42:20 +03:00
7c9f5f8ab1 engine: remove LoadLibrary macros, to avoid possible misuse. Although macros moved to game_launch, it's part of it's own problem from now 2022-06-11 03:25:57 +03:00
SNMetamorph
d1a5c33bf1 engine: common: removed unused function Sys_SetClipboardData 2022-05-02 03:29:24 +03:00
SNMetamorph
15eb6808c4 engine: platform: updated clipboard read/write functions 2022-05-02 03:29:24 +03:00
SNMetamorph
95ee88720c engine: platform: win32: major refactoring of console code 2022-04-06 15:17:15 +03:00
SNMetamorph
58dbc1ba31 engine: system: disabled skipping color codes for Wcon_WinPrint 2022-04-06 15:17:15 +03:00
4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
0efc5e82ec engine: fix some const qualifier lose and pointer-to-int casts 2021-07-20 16:03:06 +03:00
c62db950f1 server: implement rcon redirection, add redirect command from old engine 2021-03-27 23:46:57 +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
Gleb Mazovetskiy
2106eef4b2 system.c: Fix Sys_Warn/Error text buffer sizes
This was using the wrong define
E.g. `-dev 2 -help` output did not fit into it
2021-01-02 03:43:17 +03:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
adc718f4d5 public: add XASH_POSIX platform define 2020-02-08 23:15:40 +07:00
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
9e99a2bc37 engine: dirty sdl1.2 port 2019-11-02 08:56:07 +03:00
dc207a449c engine: fix -Werror=strict-prototypes 2019-10-05 02:09:45 +03:00
e8006c3253 engine: move ShellExecute to client, as it cannot be used in dedicated 2019-09-19 17:09:18 +03:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
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
f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
3fef353291 android: initial port 2019-05-02 18:07:03 +03:00
e3e2f3afe5 platform: move Sys_ShellExecute implementation to platform backends 2019-05-01 19:21:47 +03:00
05eab0b5b0 system: fix win32 build 2018-11-29 19:48:16 +03:00
7c772d6bfd engine: rework timer stuff, move to platform. Move debugger present checks to platform 2018-11-16 16:32:16 +03:00
25d8a94c1c engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c 2018-11-16 15:25:04 +03:00
f36d1f5621 Use execv instead of execve, because environ symbol breaks compilation with -Wl,--no-undefined flag under FreeBSD via Waf. 2018-11-05 15:39:00 +05:00
ef39f9c9cf engine: dedicated: fix build 2018-11-01 23:31:16 +03:00
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
90d2434bb0 platform: add Set/GetClipboardText calls. Remove unneeded SDL_SetHint call on Android, because Android does not use SDL anymore 2018-10-27 23:28:29 +03:00
bff9ca8438 console: fix double printed console messages on Win32 2018-10-10 23:43:03 +03:00
d0ff201da2 Fix dedicated compiling errors 2018-06-14 20:31:46 +03:00
43b746d2f8 Fix MinGW build 2018-05-13 23:25:51 +03:00
7d37ff33aa Fix high CPU load on Linux 2018-05-01 21:52:17 +03:00
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
fd649905ea Fix some format warnings 2018-04-23 21:49:37 +03:00
8704c07e4b Merge branch 'original' 2018-04-21 13:44:06 +00:00
b70fab5384 Add Sys_GetIntFromCmdLine 2018-04-17 03:49:30 +03:00
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