Alibek Omarov
4ae608913b
console: fix Home and End buttons or equivalent hotkeys to always set start or end of input buffer
3 years ago
Alibek Omarov
3351ecd754
console: ignore whitespace commands on history, ignore backslash
3 years ago
Alibek Omarov
46fd27eb14
console: remove prepending backslashes
...
This is a leftover from Quake, where the console and chat were
in fact same entity. Because Xash splits it, there is no need
in prepending backslashes to separate commands from chat messages
3 years ago
Alibek Omarov
947b94d29f
engine: client: delete unused test data :)
3 years ago
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
c6648a69ba
engine: client: protect messagemode from command injection too
3 years ago
Владислав Сухов
c9e4912a2a
client: backport con_fontnum from old engine
3 years ago
Alibek Omarov
013918a371
console: redefine con_color as cvar
3 years ago
SNMetamorph
c4ef42009c
engine: client: fixed height argument writing in Con_DrawStringLen
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
Alibek Omarov
0db1a7743d
engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
154dd5c9ae
engine: console: temporarily disable updating screen when something is printed to console, because it can mess up with textures
5 years ago
mittorn
bb48e5209e
console: fix wrong line width on start, remove some hard-coded sizes
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Alibek Omarov
fa622168a0
engine: fix style, disable XASH_USE_SELECT
5 years ago
Alibek Omarov
d2a8cfe614
Revert "engine: client: implement connectionprogress partially"
...
This reverts commit cb417a3d51
.
This commit breaks demo playback. Figure out why, then revert it back.
5 years ago
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
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
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
4819790272
engine: console: fix invalid REF_GET_PARM call
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago
mittorn
ca3913cd88
fix windows build
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
17b0c23f2e
Show engine arch in version
6 years ago
mittorn
4b58b0b168
Fix console background aspect ratio
6 years ago
a1batross
f173ce11f7
console: fix version drawn all the time which engine runs
6 years ago
Alibek Omarov
edde871eb5
console: fix console font scale for Quake I fonts, fix drawing arrows in console for Quake I
6 years ago
Alibek Omarov
48d1aa5115
engine: fix warnings
6 years ago
mittorn
b0c077ccf8
Persistent console history
6 years ago
mittorn
a0f0eca77c
Backup console input when using history
6 years ago
Alibek Omarov
f15e2c2dcf
Move command autocomplete to common engine files, as it used by Wcon and may be used by curses console in future
7 years ago
mittorn
290b9cae0b
Restore utf-8 support
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
e8d13cd0d5
Rebrand from Xash3D to Xash3D FWGS. Add _format() attrubute to print-like functions
7 years ago
Alibek Omarov
fd1f0e685a
Restore con_fontscale functionality
7 years ago
Alibek Omarov
5d13112e25
Dedicated build
7 years ago
Alibek Omarov
40094f2867
Move client-only parts to client
7 years ago
Alibek Omarov
13fe097318
Merge fork's unicode changes(partial)
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago