Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
9 months ago
Alibek Omarov
2f2890cd11
engine: client: use PARM_TEX_FILTERING to figure out whether we should apply half-texel trick to HUD textures when scaling
9 months ago
Alibek Omarov
93ceb0e4ed
engine: client: split the sprites indices only when loading new sprite. Scan the whole array when searching.
...
Fixes incorrect sprite loading in XDM
11 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
11 months ago
SNMetamorph
a87f399e68
engine: client: revert export for pfnSPR_Load and pfnSPR_Frames functions
...
This needed for native support GoldSrc Monitor utility.
12 months ago
Alibek Omarov
0330569537
engine: client: remove master server queries from NetAPI, they are never used by mods
1 year ago
Alibek Omarov
ca134a85ee
engine: client: make it more obvious that CL_InitEdicts depends on maxclients value
1 year ago
Alibek Omarov
7e06d049f5
engine: common: static-ize common.c functions, set GAME_EXPORT to API functions
1 year ago
Alibek Omarov
6a1f96a2c6
engine: always unlink variables and commands BEFORE all pointers to them would be lost
1 year ago
Alibek Omarov
3918bcd71c
engine: client: move console cvars to static allocation
1 year ago
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
1 year ago
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
1 year ago
Alibek Omarov
d9cbf1fa89
engine: client: move input cvars to static allocation
1 year ago
Alibek Omarov
04107d384e
engine: client: fix incorrectly parsed timings for TE_TEXTMESSAGE
1 year ago
Alibek Omarov
377dd9a255
engine: client: bring back NetAPI infostring options, as they conform to the API definitions
1 year ago
Alibek Omarov
de1e53311a
engine: client: cl_game: static-ize engine functions in client API
1 year ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
b72033eb74
engine: client: fix master server query through NetAPI
2 years ago
Alibek Omarov
398cec626e
engine: client: remove media/ prefix for CD tracks, add it while parsing cdaudio.txt for compatibility
2 years ago
Alibek Omarov
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2 years ago
Alibek Omarov
101a7a1240
engine: client: try to fix random crash in CL_ClearWorld when using legacy protocol
2 years ago
Alibek Omarov
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2 years ago
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