Alibek Omarov
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
11 months 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
1 year ago
Alibek Omarov
ca134a85ee
engine: client: make it more obvious that CL_InitEdicts depends on maxclients value
1 year ago
Alibek Omarov
547a862024
engine: client: split protocol 48 support to separate file
1 year ago
Alibek Omarov
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
1 year ago
Alibek Omarov
3918bcd71c
engine: client: move console cvars to static allocation
1 year ago
Alibek Omarov
03ec2f603b
engine: client: move netgraph 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
5d7d5319fd
engine: move ref cvars to static allocation
1 year 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
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
Alibek Omarov
d46d62bf03
engine: client: drop loading plaque on second signon, remove servercount check
2 years ago
Alibek Omarov
11d4cb0f1e
engine: client: securedstub: cosmetic changes
2 years ago
Alibek Omarov
37cf4da136
engine: client: switch to protocol info key in detecting old engine servers
3 years ago
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
3 years ago
Alibek Omarov
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
3 years ago
SNMetamorph
8c351d9255
engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported
3 years ago
SNMetamorph
f7f069a38b
engine: client: added Host_Error for CL_EDICT_NUM (hotfix for issue #434 )
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
SNMetamorph
386ae2067b
engine: client: another interpolation fix
3 years ago
SNMetamorph
b289de26a6
engine: client: added cvar cl_nointerp for disabling interpolation
3 years ago
Velaron
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
4 years ago
Alibek Omarov
0a818f3f3f
client: add waveplaylen console command like in GoldSrc
4 years ago