Alibek Omarov
ebf3877cda
engine: common: throw an error message into log in normal mode too!
2 years ago
Alibek Omarov
0a49e69818
engine: introduce Sys_DebugBreak function to raise an exception for debugger
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
a1batross
fc84cd2a0a
engine: common: always show message box when we're in normal mode
...
Only dedicated server is expected to throw errors to console
2 years ago
Alibek Omarov
e44718d531
engine: fix build
2 years ago
Alibek Omarov
e6a2c207de
engine: implement change game with execv in-engine. For now it enabled for all platforms, will probably disabled selectively
2 years ago
Alibek Omarov
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
2 years ago
SNMetamorph
d1a5c33bf1
engine: common: removed unused function Sys_SetClipboardData
3 years ago
SNMetamorph
15eb6808c4
engine: platform: updated clipboard read/write functions
3 years ago
SNMetamorph
95ee88720c
engine: platform: win32: major refactoring of console code
3 years ago
SNMetamorph
58dbc1ba31
engine: system: disabled skipping color codes for Wcon_WinPrint
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
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
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
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
adc718f4d5
public: add XASH_POSIX platform define
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
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
e8006c3253
engine: move ShellExecute to client, as it cannot be used in dedicated
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
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
5 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
e3e2f3afe5
platform: move Sys_ShellExecute implementation to platform backends
6 years ago
a1batross
05eab0b5b0
system: fix win32 build
6 years ago
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
6 years ago
Alibek Omarov
25d8a94c1c
engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c
6 years ago
Night Owl
f36d1f5621
Use execv instead of execve, because environ symbol breaks compilation with -Wl,--no-undefined flag under FreeBSD via Waf.
6 years ago
Alibek Omarov
ef39f9c9cf
engine: dedicated: fix build
6 years ago
Alibek Omarov
90d2434bb0
platform: add Set/GetClipboardText calls. Remove unneeded SDL_SetHint call on Android, because Android does not use SDL anymore
6 years ago
Alibek Omarov
bff9ca8438
console: fix double printed console messages on Win32
6 years ago
Alibek Omarov
d0ff201da2
Fix dedicated compiling errors
7 years ago
lewa_j
43b746d2f8
Fix MinGW build
7 years ago
Alibek Omarov
7d37ff33aa
Fix high CPU load on Linux
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
Alibek Omarov
b70fab5384
Add Sys_GetIntFromCmdLine
7 years ago
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.
7 years ago
Alibek Omarov
45c0eaa26c
Move Win32 console and library loader to platform/win32 folder.
7 years ago
Alibek Omarov
7ace83eeab
Add Sys_Warn
7 years ago
Alibek Omarov
b940a62f02
host.c port
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago