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
Velaron
d011dccaab
engine: client: remove redundant index check
4 years ago
Alibek Omarov
155eb1ba58
engine: fix various warnings
4 years ago
Alibek Omarov
cf5ebd128c
client: fix XASH_64BIT check
4 years ago
Ivan Avdeev
1b426b67e7
partially fix amd64 build on windows
...
Quality of this commit is questionable. I have no idea whether what I did
here makes sense or not.
But it compiles and runs (provided with hlsdk-xash3d amd64 build, which
is another story).
This omits necessary waf changes that are necessary to make a valid
64-bit build. Apparently it's not enough to just pass `-8` on Windows,
you also need to hack wscript to add `x64` target to MSVC. I'll do that
later when I figure out how.
This change is a precursor for RTX Vulkan effort --
VK_KHR_ray_tracing_pipeline and friends are only available on 64-bit
nvidia drivers (no idea about AMD, pls send GPUs onegai).
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Logan
5cdb35f508
Pass cl.viewentity into S_StartSound for pfnPlaySoundByNameAtLocation
...
This fixes a minor bug where sounds played via pfnPlaySoundByNameAtLocation (mainly from viewmodel animations e.g. MP5) would be left where it was emitted in the world, rather than following the local player as it does in Goldsrc.
4 years ago
Velaron
09ae961221
remove platform-specific macros
4 years ago
mittorn
70cddcb9ca
client: fix assert when sprite exist, but not loadable
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
db39f0cc88
engine: client: combine loading or paused icon drawing
5 years ago
Alibek Omarov
3f48bce7da
engine: client: fix #79
5 years ago
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Wei Mingzhi
88772a1c34
engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs.
5 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
5 years ago
Alibek Omarov
938a9f372f
engine: add stub function for new undocumented function in clientdll api
5 years ago
Alibek Omarov
d9545e5e78
cl_game: fix missing }
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
5 years ago
Alibek Omarov
0579ecd30f
engine: check if client.dll linked to SDL2.dll ( #37 )
5 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
5af6506d86
engine: ensure that we loading same client library
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
mittorn
0a22040c6e
Fix SpriteTexture
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
mittorn
297ca08e81
ref: replace model (un)loading by Mod_ProcessRenderData
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
6 years ago