Alibek Omarov
dca637d4bb
engine: client: eliminate pfnServerCmd limit and, like GoldSrc, send our server command immediately to netchan
2 years ago
Alibek Omarov
1630d87c0d
engine: client: do not alter the state if invalid HANDLE was passed to pfnSPR_Set. Fixes Half-Life: MMod
2 years ago
Alibek Omarov
3a956a1ad3
engine: client: initialize variables in SPR_Width/Height/Frames functions, in case R_GetSpriteParms fails
2 years ago
Alibek Omarov
9690fe9334
engine: client: replace some obvious va uses by temp buffer and Q_snprintf
2 years ago
Alibek Omarov
7e9d46689c
engine: client: fix multiline CenterPrint
2 years ago
Alibek Omarov
f4961d9da7
engine: client: return empty string in pfnGetLevelName if no map is loaded yet
2 years ago
Alibek Omarov
c0fa91bec9
engine: client: consolidate client and menu scissor functions
2 years ago
Alibek Omarov
fd63018fb5
engine: client: make client string drawing functions ignore linefeeds
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
6282acc825
engine: client: simplify drawing loading or paused bar, fix position with hud_scale active
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
500ca54550
Revert "engine: get rid of MSG_BigShort, use htons instead, since network headers are always included"
...
This reverts commit a6475f530b
.
2 years ago
Alibek Omarov
a6475f530b
engine: get rid of MSG_BigShort, use htons instead, since network headers are always included
2 years ago
Alibek Omarov
787d3bc5dd
engine: share playermove ClearPhysEnts function
2 years ago
Alibek Omarov
0bec78a958
engine: client: make few function between pmove and client interface shared, remove unused CL_PointContents wrapper
2 years ago
Alibek Omarov
e305b81df0
engine: merge PM_TraceTexture into PM_TraceTexturePmove
2 years ago
Alibek Omarov
4cb109abe0
engine: make playermove funcs truly shared between client and server
2 years ago
Alibek Omarov
a4865fd2fc
engine: client: fix ScreenFade FFADE_MODULATE rendering, more accurate alpha blending
2 years ago
Alibek Omarov
e5b32fe8ac
engine: client: force nearest filter for HUD textures and sprites to avoid artifacts with hud_scale
2 years ago
Andrey Akhmichin
f4fb8b4ac2
engine: client: simplify strings operation.
2 years ago
Alibek Omarov
9cbf5ab6a6
engine: client: streamline constructing master server scan request through common function
2 years ago
Alibek Omarov
c9e4e62474
engine: client: allow IPv6 in NetAPI
2 years ago
Alibek Omarov
c2a24fbbce
engine: client: put internal vgui shutdown AFTER HUD_Shutdown, to simulate default, external behavior
2 years ago
SNMetamorph
ae94a6aeba
engine: client: fixed client VGUI API shutdown
2 years ago
Alibek Omarov
e9da43666c
engine: client: fix loading internal vgui (thx @SNMetamorph )
2 years ago
Alibek Omarov
d27dd68072
engine: client: vgui: rework loading VGUI and probing client for internal vgui support API
2 years ago
Alibek Omarov
3e9f2df2bf
engine: client: fix incorrect mark for ConsolePrint notifications
2 years ago
Alibek Omarov
7341a6b020
engine: client: add old GoldSrc feature where ConsolePrint could print to notification zone, similar to Con_NPrintf( 0, ... )
2 years ago
Alibek Omarov
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2 years ago
Alibek Omarov
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2 years ago
Alibek Omarov
6e031b518a
engine: client: increase limit of client sprites, lower part of it can be used only for HUD sprites
...
higher part used for client sprites
map overview sprites are loaded as normal models
thus we have equal internal engine and hud sprite indices and it fixes compatibility issues
for mods like Half-Rats Parasomnia
2 years ago
SNMetamorph
fef0993f54
engine: client: cl_game: fixed hudGetModelByIndex function in client API ( fix #518 )
2 years ago
Alibek Omarov
6c7d57e1eb
engine: client: move vgui deinitialization out of CL_UnloadProgs. Delete cls.initialized check in CL_Shutdown, that used to shutdown various client-side subsystems that usually have needed checks by themselves
2 years ago
Alibek Omarov
11d4cb0f1e
engine: client: securedstub: cosmetic changes
3 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
3 years ago
SNMetamorph
9c85d114e7
engine: client: fixed TriWorldToScreen behavior to match GoldSrc
3 years ago
Bien Pham
988183a96a
engine: implement support for secured client dlls
3 years ago
Bien Pham
3a55b9cd67
engine: make pfnDrawString & pfnDrawStringReverse return width
3 years ago
Alibek Omarov
56103a90eb
engine: client: limit token size in client dll parsefile to 1024 (GoldSrc value)
3 years ago
Alibek Omarov
7e687b45bb
engine: client always uses SDL (virtually) on non-Win32 platforms
3 years ago
Alibek Omarov
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
3 years ago
Alibek Omarov
c79a649d97
engine: client: implement pfnFilteredClientCmd
3 years ago
Владислав Сухов
1042291ad6
client: Don't change loading bar color
...
Don't change loading bar color (fix yellow loading bar in Half-Rats Parasomnia, it should be white)
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
Alibek Omarov
91f845c335
engine: client: fix paused icon drawn when levelshots are disabled
3 years ago
Alibek Omarov
32068d8090
client: fix wrong paused icon
3 years ago
SNMetamorph
8c351d9255
engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported
3 years ago
Alibek Omarov
88ce5fd0b6
engine: modify NetAPI to follow const qualifiers
3 years ago