Commit Graph

50 Commits

Author SHA1 Message Date
6eae3471cf engine: client: font: fix consecutive newlines skipped, add flag to reset color after a newline 2023-02-04 21:59:46 +03:00
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
39fd30a472 engine: client: fix HUD font loading 2023-01-27 19:07:26 +03:00
c481e52558 engine: client: consolidate variable and quake fixed width font loading functions 2023-01-25 02:38:18 +03:00
eb7eb4acbc engine: client: cl_scrn: minor refactoring 2022-12-30 01:58:26 +03:00
e5b32fe8ac engine: client: force nearest filter for HUD textures and sprites to avoid artifacts with hud_scale 2022-12-30 01:57:10 +03:00
436a788ac8 engine: client: disable FPS counter by default 2022-12-07 21:54:23 +03:00
d27dd68072 engine: client: vgui: rework loading VGUI and probing client for internal vgui support API 2022-11-12 16:35:18 +03:00
d46d62bf03 engine: client: drop loading plaque on second signon, remove servercount check 2022-06-29 18:57:10 +03:00
SNMetamorph
87ceb0f9cb engine: client: fixed checking client library for vgui_support interface export 2022-05-02 03:29:24 +03:00
SNMetamorph
6ceb101ba1 engine: client: correctly named values in net_speeds stats 2021-06-18 08:58:46 +03:00
a813be7d54 client: add cl_showpos 2021-03-07 00:03:19 +03:00
e77957bc81 client: decrease visibility of some cvars 2021-03-06 23:40:04 +03:00
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 2020-05-12 02:00:34 +03:00
40c73719c0 engine: remove useless defines 2020-01-12 03:56:53 +03:00
022792709d engine: fix build 2020-01-12 03:56:53 +03:00
b9ec7ac886 engine: fix dedicated server crash 2020-01-12 03:56:53 +03:00
e424112020 engine: don't update screen when we're only in transition from STATE_RUNFRAME to something else 2019-12-23 06:32:39 +03:00
d0010cf9cb engine: don't call SCR_VidInit too soon 2019-11-28 17:43:06 +03:00
3a9801853d engine: client: detailed message if menu failed to load 2019-11-26 02:47:25 +03:00
d2a8cfe614 Revert "engine: client: implement connectionprogress partially"
This reverts commit cb417a3d51.

This commit breaks demo playback. Figure out why, then revert it back.
2019-10-06 07:45:32 +03:00
cb417a3d51 engine: client: implement connectionprogress partially 2019-08-08 07:19:08 +03:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
b16529cc65 Apply 4511 update 2019-06-17 07:05:36 +03:00
5af6506d86 engine: ensure that we loading same client library 2019-05-12 03:08:51 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00
b9945d62a3 Apply 4312 update 2018-11-27 16:15:24 +03:00
622de7a7f1 Apply 4312 update 2018-11-27 16:11:26 +03:00
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
aae3510763 Apply 4281 update 2018-10-27 23:32:09 +03:00
491188a0f3 Merge branch 'original' 2018-10-04 14:27:14 +07:00
5c738b3402 Apply 4253 update 2018-10-04 13:08:48 +07:00
2edbcb996d Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends. 2018-06-19 16:59:53 +03:00
1e7f9d00c3 Apply 4150 update 2018-06-19 16:22:30 +03:00
7cdead7bac Merge 4143 update 2018-06-12 12:18:14 +03:00
a539384a76 Apply 4143 update 2018-06-12 12:14:56 +03:00
f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
814b7eda07 Apply 4140 update 2018-06-09 01:28:35 +03:00
dcc19aeafb Merge 4097 2018-04-26 03:23:00 +03:00
9bab7d222a Apply 4097 update 2018-04-26 03:09:36 +03:00
176b31b4a2 Fix wrong max edicts clamp. Add game_dll_linux and game_dll_osx to gameinfo.txt. Fix crash in R_ChangeVideoSettings 2018-04-24 05:50:10 +03:00
13fe097318 Merge fork's unicode changes(partial) 2018-04-17 03:54:07 +03:00
5a1b03ac20 Integrate FWGS vgui_support 2018-04-14 01:49:14 +03:00
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00