Alibek Omarov
3cea12627e
engine: client: add cl_trace_stufftext from old engine
11 months ago
Alibek Omarov
c2da125358
engine: client: as an experiment, let users override default font rendermode through hud_fontrender and con_fontrender cvars
11 months ago
Alibek Omarov
6ca5f7c6fb
engine: client: request if font texture has nearest filtering from the renderer
11 months ago
Alibek Omarov
af316bff14
engine: client: add hud_scale_minimal_width to limit scaling factor and potentially avoid unsupported hud sprites resolutions
11 months ago
Alibek Omarov
0b24810927
engine: client: clean up client.h from unused function prototypes, or move them to appropriate C file
11 months ago
Alibek Omarov
b3d8fb03bf
engine: client: add generic handler for simple types of screenshots commands
11 months ago
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
11 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
11 months ago
Alibek Omarov
47bc50b8c6
engine: client: fix taking console color from colors.lst
11 months ago
Alibek Omarov
18136e5320
engine: client: implement HL25's cl_fixmodelinterpolationartifacts cvar
1 year ago
Alibek Omarov
a3c9538d12
engine: client: add support for new PARMs
...
Reorganize internal engine structs, carefully check structs compatibility before casting types
1 year ago
Alibek Omarov
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
1 year ago
Alibek Omarov
7d61b5317c
engine: client: add random key to the query, so we can validate master server response
1 year ago
Alibek Omarov
201258dc9e
engine: client: allow passing additional filter through internetservers command arguments
1 year ago
Alibek Omarov
0330569537
engine: client: remove master server queries from NetAPI, they are never used by mods
1 year ago
Alibek Omarov
a862446072
engine: client: restore cl_trace_events from old engine branch
2 years ago
Alibek Omarov
ca134a85ee
engine: client: make it more obvious that CL_InitEdicts depends on maxclients value
2 years ago
Alibek Omarov
547a862024
engine: client: split protocol 48 support to separate file
2 years ago
Alibek Omarov
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
2 years ago
Alibek Omarov
3918bcd71c
engine: client: move console cvars to static allocation
2 years ago
Alibek Omarov
03ec2f603b
engine: client: move netgraph cvars to static allocation
2 years ago
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2 years ago
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2 years ago
Alibek Omarov
d9cbf1fa89
engine: client: move input cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
de1e53311a
engine: client: cl_game: static-ize engine functions in client API
2 years ago
Alibek Omarov
5d387101b9
engine: client: remove unused Key_IsBind
2 years ago
Alibek Omarov
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2 years ago
Alibek Omarov
48988e66bd
engine: client: fix missing HTTP_ResetProcessState call
2 years ago
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2 years ago
Alibek Omarov
6eae3471cf
engine: client: font: fix consecutive newlines skipped, add flag to reset color after a newline
2 years ago
Alibek Omarov
c0fa91bec9
engine: client: consolidate client and menu scissor functions
2 years ago
Alibek Omarov
d14e486721
engine: client: font: add special flag to ignore linefeeds when drawing strings
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
d7116afc92
engine: client: add hud_fontscale cvar to control HUD font scaling (not wired to any logic yet)
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
c481e52558
engine: client: consolidate variable and quake fixed width font loading functions
2 years ago
Alibek Omarov
9152bbf106
engine: client: more accurate decompilation of CL_LerpPoint and ComputeInterpolationAmount
2 years ago
Alibek Omarov
40ba0238f8
engine: client: cosmetic changes in pmove code
2 years ago
Alibek Omarov
4a3efa511c
engine: client: correctly decompiled version of CL_AdjustClock (with removed useless float-to-int operation)
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
4cb109abe0
engine: make playermove funcs truly shared between client and server
2 years ago
Alibek Omarov
9cbf5ab6a6
engine: client: streamline constructing master server scan request through common function
2 years ago
Alibek Omarov
69b0954007
engine: change RenderAPI's RenderGetParm return type to intptr_t to insure compatibility with 64-bit
2 years ago
Alibek Omarov
69a9211fc9
engine: include voice.h globally
2 years ago
Alibek Omarov
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2 years ago
Alibek Omarov
786c408f6e
engine: client: fix sprites array size, it wasn't meant to be increased after previous commit
3 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
3 years ago
Alibek Omarov
d46d62bf03
engine: client: drop loading plaque on second signon, remove servercount check
3 years ago