Alibek Omarov
fe1fd5b024
engine: client: make color array of DrawString functions const
2025-02-23 06:46:22 +03:00
Alibek Omarov
1abec80191
engine: client: set codepage to 0 if con_charset value is unknown
2025-02-02 02:34:08 +03:00
Alibek Omarov
3917e096ea
engine: client: the most important change since forever, move downloading message a bit to the right so it looks better on 640x480
2024-11-07 14:12:10 +03:00
Alibek Omarov
562b54839c
engine: client: console: fix printing multiline messages with CRLF, like HTTP headers
2024-10-28 01:58:47 +03:00
Alibek Omarov
0b59fa9416
engine: swap Cvar_VariableInteger and simple integer checks for performance
2024-10-16 06:57:46 +03:00
Alibek Omarov
9a2588f7eb
engine: client: console: fix a rare crash when we're in game, console is enabled but it's empty
...
With ui_allowconsole toggle it's easy to reproduce: join game without console, go to menu,
enable console and return back to game.
2024-07-28 14:48:40 +03:00
Alibek Omarov
40af058406
engine: client: console: add conback.dds by request, don't fail on texture that cannot be loaded
2024-07-06 22:30:05 +03:00
Alibek Omarov
a0230b7e00
engine: client: console: minor refactoring, move common NXPrintf code to Con_NXPrintfv
2024-07-04 05:49:33 +03:00
Alibek Omarov
768755c31a
engine: client: use Con_Printf instead of Con_Print (which is just printing to console, not the logging)
2024-07-03 04:22:28 +03:00
Alibek Omarov
3503c721ac
engine: client: console: simplify loading console background image
2024-06-19 03:35:28 +03:00
Alibek Omarov
b102727320
engine: client: try to not save passwords to console history
2024-06-14 11:34:37 +03:00
Alibek Omarov
32d4bdb80f
engine: fix UTF-8 sequence input
...
Fixes: 2e0fc3e4c1
("engine: client: do not repeatedly check cl_charset value, use generic Con_UtfProcessChar")
2024-06-07 22:16:32 +03:00
Alibek Omarov
6c03fb0226
engine: client: first attempt to use utflib to replace Con_UtfProcessCharForce calls
2024-05-15 05:25:53 +03:00
Alibek Omarov
052e0445ab
engine: client: console: cleanup input buffer from line feed characters before pushing it to the console history
2024-05-15 03:08:22 +03:00
Alibek Omarov
a6c2cfe89b
engine: avoid constants in Q_strncpy third argument, where possible
2024-05-06 14:27:26 +03:00
Alibek Omarov
081cf9132b
engine: client: read console_history.txt as binary, skip empty and repeating lines, reimplement it through FS_Gets for fun
2024-03-08 15:25:36 +03:00
Bohdan Shulyar
f1bc9b87b1
platform: android: port to SDL
2024-02-19 17:47:40 +03:00
Alibek Omarov
dec71850a1
engine: console: allow changing background filtering
2024-02-13 15:34:33 +03:00
Alibek Omarov
c2da125358
engine: client: as an experiment, let users override default font rendermode through hud_fontrender and con_fontrender cvars
2024-02-09 07:25:47 +03:00
Alibek Omarov
a28d45fdb2
engine: console: fix TF_NEAREST missing from quake fixed font
2024-01-29 05:42:22 +03:00
Alibek Omarov
0b24810927
engine: client: clean up client.h from unused function prototypes, or move them to appropriate C file
2024-01-28 11:17:06 +03:00
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
47bc50b8c6
engine: client: fix taking console color from colors.lst
2024-01-25 04:22:20 +03:00
Alibek Omarov
40041e30eb
engine: console: add cvar con_oldfont to toggle usage between fonts.wad fonts or gfx.wad legacy font
2024-01-15 18:11:08 +03:00
Alibek Omarov
7e71e20714
engine: client: add cvar scr_drawversion to hide engine version in screenshots (sorry, Uncle Mike!)
2024-01-14 10:58:04 +03:00
Alibek Omarov
4cb425d2bb
engine: console: do not draw console and do not draw notify in timedemo
2023-10-27 03:47:52 +03:00
Alibek Omarov
73fcb84b62
engine: client: console: remove unneeded return from Con_DrawConsoleLen
2023-10-09 05:24:58 +03:00
Alibek Omarov
435b95fc5a
engine: client: don't write download notify outside of window
2023-08-31 08:40:24 +03:00
Alibek Omarov
3918bcd71c
engine: client: move console cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
03ec2f603b
engine: client: move netgraph cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
2023-05-14 09:50:17 +03:00
Alibek Omarov
9f92e2a1f7
engine: client: console: do not save history if nothing was executed in console
2023-04-30 10:14:02 +03:00
Alibek Omarov
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2023-04-15 04:08:40 +03:00
SNMetamorph
3361e74f54
engine: client: console: fixed console scrolling on psvita platform
2023-03-27 03:52:51 +03:00
Alibek Omarov
58e95c7d6f
engine: client: console: elinimate unneeded Sys_DoubleTime call in Con_DrawDebug
2023-02-17 22:50:42 +03:00
Alibek Omarov
e481c86ba2
engine: client: console: fix NXPrintf newlines, small refactoring
2023-02-15 05:53:39 +03:00
Alibek Omarov
5e1b5d89f7
engine: client: console: allow opening OSK and existing console with gamepads for all platforms
2023-02-09 05:58:54 +03:00
fgsfds
f3e50b5500
add barebones gamepad controls for input fields and console
2023-02-05 02:27:12 +01:00
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
2023-02-03 08:51:18 +03:00
Alibek Omarov
c481e52558
engine: client: consolidate variable and quake fixed width font loading functions
2023-01-25 02:38:18 +03:00
Andrey Akhmichin
3287501f97
engine: client: simplify strings operations.
2022-12-04 22:04:07 +03:00
Alibek Omarov
4b05cf4399
engine: client: better fix for notify debug messages, rely on host.allow_console variable to don't allow uninitialized console usage
2022-08-31 02:46:33 +03:00
Alibek Omarov
28001ea150
engine: client: enable notify messages in non-developer mode
2022-08-28 00:48:12 +03:00
Alibek Omarov
1d558b33d6
engine: client: don't let set unsupported con_charset
2022-08-13 00:58:45 +03:00
Alibek Omarov
64eb0a694d
engine: client: also drop loading plaque on toggleconsole, in case if it's stuck
2022-06-29 18:58:07 +03:00
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2022-05-25 03:50:06 +03:00
Alibek Omarov
aa5594d11f
engine: client: don't let servers clear console
2022-01-14 00:03:05 +03:00
Alibek Omarov
4ae608913b
console: fix Home and End buttons or equivalent hotkeys to always set start or end of input buffer
2022-01-04 03:01:59 +03:00