Alibek Omarov
b5f02324a6
engine: add basic sounds.lst implementation
10 months ago
Alibek Omarov
33da68b013
engine: client: move reseting gamma changed flag to the end of the frame for custom renderers
10 months ago
Alibek Omarov
8c61a2f021
engine: server: cleanup server.h header from unused functions prototypes
10 months ago
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
10 months ago
Alibek Omarov
df6546d5b1
engine: client: add new gamma implementation
...
* immediately expose it in RefAPI. Bump RefAPI to version 7.
* remove VID_StartupGamma, it's not used anymore
* remove stub lightgamma and direct cvars
* add a temporary check for v_direct and v_lightgamma default values
11 months ago
Alibek Omarov
ce73838f1b
engine: add a function that validates requested features bits
11 months ago
Alibek Omarov
a3c9538d12
engine: client: add support for new PARMs
...
Reorganize internal engine structs, carefully check structs compatibility before casting types
11 months ago
Alibek Omarov
96f7f5457d
engine: print all supported and enabled features
12 months ago
Alibek Omarov
36c2f9e9f2
engine: refactor rcon redirect, don't make it depend on global object
12 months ago
Alibek Omarov
683c4874f8
common: add ALLOC_CHECK macro that enables attribute alloc_size on GCC that allows to prevent suspicious allocation sizes
12 months ago
Alibek Omarov
597429cf41
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
1 year ago
Alibek Omarov
d8b261370a
engine: common: do not probe server to collect cvars for game.cfg (CHECK THIS)
1 year ago
Alibek Omarov
aee99f6094
engine: don't release DLL that wasn't loaded during settings.scr parsing. This should be deleted as soon as possible!
1 year ago
Alibek Omarov
40e248aa63
engine: common: remove unused tentlist_t definition
1 year ago
Alibek Omarov
7e06d049f5
engine: common: static-ize common.c functions, set GAME_EXPORT to API functions
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
9e0d389d9e
engine: server: moved server cvars to static allocation
2 years ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2 years ago
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
2 years ago
Alibek Omarov
4005ef831a
engine: common: remove unused IsBackgroundMap/Demo calls, remove unused gamma function
2 years ago
Alibek Omarov
01e0542223
engine: server: move master announce logic to masterlist, keep unique heartbeat challenge and heartbeat timer for each master
2 years ago
SNMetamorph
714b4f45e4
engine: common: added COM_GetResourceTypeName function
2 years ago
SNMetamorph
68be8157ea
engine: common: soundlib: added Sound_SupportedFileFormat function
2 years ago
Alibek Omarov
b12b2aaf79
engine: common: cmd: add Cbuf_AddTextf wrapper
2 years ago
Alibek Omarov
fb6e310eab
public: move va() function back to engine, it's not recommended to use in shared modules
2 years ago
Andrey Akhmichin
3299999f3d
engine: common: add printf-like version of Info_SetValueForKey function.
2 years ago
Alibek Omarov
0984368a31
engine: server: GoldSrc compliant pfnServerExecute(), don't execute config.cfg for server!
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
a3ef6c955c
engine: don't double register rcon_password cvar
2 years ago
Alibek Omarov
7d0d6b8e0d
engine: common: host: implement adaptive sleeptime, log time to first time for debug purposes
2 years ago
Alibek Omarov
d13f7f06e4
engine: fix framerate being capped to 60FPS with vsync, remove vid_displayfrequency cvar. Never sleep with vsync or timedemo, for accuracy
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
01a3321d63
engine: client: only accept server list from master servers (thanks @tyabus for idea)
2 years ago
Alibek Omarov
6e864e4f8f
engine: introduce bug compatibility levels
...
* for now we only have GoldSrc bug compatibility, can be used for
games that require precise GoldSrc behaviour, like CSCZDS
* enabled with -bugcomp command line
* added text in --help
2 years ago
Alibek Omarov
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2 years ago
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2 years ago
Alibek Omarov
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2 years ago
Alibek Omarov
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
2 years ago
Alibek Omarov
12ea6dcfd7
public: move build.c from engine to public library, in preparation of filesystem_stdio merge
2 years ago
Alibek Omarov
a41f8cb01b
engine: move version strings to com_strings.h file, in preparation of filesystem_stdio branch merge
2 years ago
Alibek Omarov
86a777880f
engine: common: mark AbortCurrentFrame as NORETURN, fix noreturn warnings
3 years ago
Alibek Omarov
924e895753
engine: common: set Host_Error and Sys_Error as NORETURN
3 years ago
Alibek Omarov
51526948c0
engine: server: make PEntityOfEntIndex bug-compatible with GoldSrc
...
Add new undocumented GoldSrc eiface function, PEntityOfEntIndexAllEntities,
a bug-free version of PEntityOfEntIndex
Ref: https://github.com/ValveSoftware/halflife/issues/2272
3 years ago
Alibek Omarov
85f99c723a
engine: add sys_timescale implementation
3 years ago
Alibek Omarov
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
508eb7ab5f
engine: restore command escaping
3 years ago