Alibek Omarov
2388260848
engine: optimize colored output
...
* removed unneeded formatting for Android
* make generic function to output colorless and colorized strings
* disable color output on low memory devices to not waste CPU cycles on it
2 years ago
Alibek Omarov
347c6d6a91
engine: common: don't output log to stdout on Win32 where it's done by Wcon. Better colorcode filtration
2 years ago
Velaron
402b38951d
engine: better color code stripping
2 years ago
Velaron
6807cf5849
engine: fix build on android
2 years ago
Velaron
15dc25d2cd
engine: rename Q_cleanstr to something more meaningful
2 years ago
Velaron
568c7fd917
engine: strip color codes when writing to log
2 years ago
Alibek Omarov
18933e7981
engine: ensure all data was written to stdout when exiting
3 years ago
Alibek Omarov
a6b43fbfff
engine: show additional errno string when log file cannot be opened
3 years ago
Alibek Omarov
61643585e0
engine: fix NULL ptr dereference when log file cannot be opened
3 years ago
Alibek Omarov
f5e400de69
server: fix wrong xashid key on server, it's uuid now
4 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
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
tyabus
934dffd273
engine: common: fix message formating
5 years ago
Alibek Omarov
fa622168a0
engine: fix style, disable XASH_USE_SELECT
5 years ago
Alibek Omarov
07aa9595c0
engine: android: allow building dedicated on Android
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 years ago
Alibek Omarov
5f849c4823
engine: bring back XASH_USE_SELECT. I need somehow disable this only on my work PC
6 years ago
Alibek Omarov
1162e5a65b
legacymode: retry connecting using legacy protocol automatically
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
d9320f964e
Crashhandler refactoring for POSIX systems. Shows engine version now.
7 years ago
mittorn
42b4e456a2
Fix log
7 years ago
Alibek Omarov
0b0ec876a5
Oops, this isn't supposed to be commited
7 years ago
Alibek Omarov
0681209114
Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated
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
ec41db7ef8
Prepend USE_SELECT and COLORIZE_CONSOLE with XASH_
7 years ago
Alibek Omarov
5d13112e25
Dedicated build
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
b940a62f02
host.c port
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago