Alibek Omarov
4cb425d2bb
engine: console: do not draw console and do not draw notify in timedemo
1 year ago
Alibek Omarov
73fcb84b62
engine: client: console: remove unneeded return from Con_DrawConsoleLen
1 year ago
Alibek Omarov
435b95fc5a
engine: client: don't write download notify outside of window
1 year ago
Alibek Omarov
3918bcd71c
engine: client: move console cvars to static allocation
2 years ago
Alibek Omarov
03ec2f603b
engine: client: move netgraph cvars to static allocation
2 years ago
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2 years ago
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2 years ago
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
2 years ago
Alibek Omarov
9f92e2a1f7
engine: client: console: do not save history if nothing was executed in console
2 years ago
Alibek Omarov
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2 years ago
SNMetamorph
3361e74f54
engine: client: console: fixed console scrolling on psvita platform
2 years ago
Alibek Omarov
58e95c7d6f
engine: client: console: elinimate unneeded Sys_DoubleTime call in Con_DrawDebug
2 years ago
Alibek Omarov
e481c86ba2
engine: client: console: fix NXPrintf newlines, small refactoring
2 years ago
Alibek Omarov
5e1b5d89f7
engine: client: console: allow opening OSK and existing console with gamepads for all platforms
2 years ago
fgsfds
d944301a60
engine: client: add barebones gamepad controls to input fields
2 years ago
fgsfds
f3e50b5500
add barebones gamepad controls for input fields and console
2 years ago
Alibek Omarov
77ea03a62c
engine: client: introduce bare-bones font manager and text drawing manager
...
* wire hud_fontscale so HUD font scaling can be used independently from
hud_scale
* allow small optimizatinons, like optional UTF-8 decoding, or not calling
SetRenderMode for each character
* even less copypasted code in text drawing between client code and console
* get rid of direct DrawCharacter calls when it can be just DrawString
* fix net_speeds, r_speeds with scaled console fonts
* try to fix MobilityAPI's pfnDrawCharacterScaled
* center keyboard keys in OSK code
2 years ago
Alibek Omarov
c481e52558
engine: client: consolidate variable and quake fixed width font loading functions
2 years ago
Andrey Akhmichin
3287501f97
engine: client: simplify strings operations.
2 years ago
Alibek Omarov
4b05cf4399
engine: client: better fix for notify debug messages, rely on host.allow_console variable to don't allow uninitialized console usage
2 years ago
Alibek Omarov
28001ea150
engine: client: enable notify messages in non-developer mode
2 years ago
Alibek Omarov
1d558b33d6
engine: client: don't let set unsupported con_charset
2 years ago
Alibek Omarov
64eb0a694d
engine: client: also drop loading plaque on toggleconsole, in case if it's stuck
2 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
3 years ago
Alibek Omarov
aa5594d11f
engine: client: don't let servers clear console
3 years ago
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