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
84c14b32ec
engine: client: fix filtering errors by adjusting texcoords by half of a pixel
...
Remove useless wrapper functions and conversions
Don't scale texcoords and position if hud_scale is not active
2 years ago
Alibek Omarov
fe9ed0ac9b
engine: client: gameui: add new NET_CompareAdrSort function to menu API
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2 years ago
Alibek Omarov
fa09854671
engine: client: deprecate and remove ChangeInstance menu call
3 years ago
Alibek Omarov
df616b950d
engine: add NET_AdrToString to menu extended API, upgrade mainui submodule
3 years ago
Alibek Omarov
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
3 years ago
Alibek Omarov
f3fedbfdba
engine: add safe ParseFile to menu extended API
3 years ago
Alibek Omarov
4ba95277b9
engine: client: fix ParseFile calls
3 years ago
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
3 years ago
Gleb Mazovetskiy
6d614e028a
Fix COM_LibraryError newline handling
...
1. Do not append a trailing newline to the result of COM_GetLibraryError.
2. Fix call sites.
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
Alibek Omarov
5d97a293fe
menu_int: add DoubleTime extension
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
e8006c3253
engine: move ShellExecute to client, as it cannot be used in dedicated
5 years ago
Alibek Omarov
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
5 years ago
Alibek Omarov
01dcb52b4c
mainui: update submodule, add connectionprogress calls to engine
5 years ago
Alibek Omarov
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
6 years ago
Alibek Omarov
9e30fc253f
engine: gameui: add new extended API and declare old engine menu extensions deprecated
6 years ago
Alibek Omarov
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
6 years ago
Alibek Omarov
89a3fd6323
engine: make use of platform-unique library naming scheme
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago
Alibek Omarov
f48335f2f2
ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values
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
Jonathan Poncelet
35869586c9
Made various log messages more informative
6 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
Alibek Omarov
b60b3f7d18
GameUI: avoid const modifier loss
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
Alibek Omarov
f1d9034546
GameUI: fix menu APIs loading order
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
415e517107
Library loader refactoring. Not tested for platforms other than Linux
7 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago
Alibek Omarov
78365d2bc6
Add new two functions to Menu API
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
Alibek Omarov
362217935f
Don't increase server library reference counter, free it pfnCheckGameDll
7 years ago
Alibek Omarov
9ab3300b76
Rename allow_console to developer in menu_int.h. Define NEW_ENGINE_INTERFACE.
7 years ago
Alibek Omarov
cec7bf8488
Fix server library sanity checking
7 years ago
Alibek Omarov
5af7eb6c18
Add support for TextAPI in menu
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago