6a1f96a2c6
engine: always unlink variables and commands BEFORE all pointers to them would be lost
2023-05-27 21:52:58 +03:00
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +03:00
c0fa91bec9
engine: client: consolidate client and menu scissor functions
2023-02-04 21:24:19 +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
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
2023-01-25 04:17:48 +03:00
fe9ed0ac9b
engine: client: gameui: add new NET_CompareAdrSort function to menu API
2022-12-12 06:30:47 +03:00
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
2022-07-28 18:56:02 +03:00
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2022-07-26 03:17:11 +03:00
fa09854671
engine: client: deprecate and remove ChangeInstance menu call
2022-06-15 18:22:57 +03:00
df616b950d
engine: add NET_AdrToString to menu extended API, upgrade mainui submodule
2022-03-08 07:00:36 +03:00
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
2022-02-10 02:53:35 +03:00
f3fedbfdba
engine: add safe ParseFile to menu extended API
2021-10-08 17:31:32 +03:00
4ba95277b9
engine: client: fix ParseFile calls
2021-10-08 17:31:32 +03:00
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
2021-10-08 17:31:32 +03:00
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.
2021-01-07 17:33:09 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
5d97a293fe
menu_int: add DoubleTime extension
2020-03-04 07:23:38 +03:00
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
e8006c3253
engine: move ShellExecute to client, as it cannot be used in dedicated
2019-09-19 17:09:18 +03:00
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
2019-08-09 04:44:50 +03:00
01dcb52b4c
mainui: update submodule, add connectionprogress calls to engine
2019-08-08 07:18:02 +03:00
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
2019-07-13 20:54:16 +03:00
9e30fc253f
engine: gameui: add new extended API and declare old engine menu extensions deprecated
2019-07-12 22:42:13 +03:00
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
2019-07-07 02:47:45 +03:00
89a3fd6323
engine: make use of platform-unique library naming scheme
2019-07-01 05:50:04 +03:00
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
2019-04-15 01:43:43 +03:00
f48335f2f2
ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values
2019-03-28 18:17:58 +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
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
Jonathan Poncelet
35869586c9
Made various log messages more informative
2019-01-28 18:32:29 +00:00
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
b60b3f7d18
GameUI: avoid const modifier loss
2018-11-16 15:12:43 +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
f1d9034546
GameUI: fix menu APIs loading order
2018-10-06 03:28:40 +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
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00
814b7eda07
Apply 4140 update
2018-06-09 01:28:35 +03:00
415e517107
Library loader refactoring. Not tested for platforms other than Linux
2018-05-01 21:52:00 +03:00
9bab7d222a
Apply 4097 update
2018-04-26 03:09:36 +03:00
78365d2bc6
Add new two functions to Menu API
2018-04-24 05:54:57 +03:00
fd649905ea
Fix some format warnings
2018-04-23 21:49:37 +03:00
362217935f
Don't increase server library reference counter, free it pfnCheckGameDll
2018-04-22 13:01:06 +03:00
9ab3300b76
Rename allow_console to developer in menu_int.h. Define NEW_ENGINE_INTERFACE.
2018-04-21 11:16:11 +03:00
cec7bf8488
Fix server library sanity checking
2018-04-21 00:36:14 +03:00