Commit Graph

78 Commits

Author SHA1 Message Date
Владислав Сухов
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)
2021-10-25 00:48:36 +06:00
4ba95277b9 engine: client: fix ParseFile calls 2021-10-08 17:31:32 +03:00
9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 2021-10-08 17:31:32 +03:00
91f845c335 engine: client: fix paused icon drawn when levelshots are disabled 2021-09-30 16:43:21 +03:00
32068d8090 client: fix wrong paused icon 2021-08-27 18:09:07 +03:00
SNMetamorph
8c351d9255 engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported 2021-07-31 13:47:43 +03:00
88ce5fd0b6 engine: modify NetAPI to follow const qualifiers 2021-07-20 16:10:32 +03:00
d011dccaab engine: client: remove redundant index check 2021-06-06 15:51:41 +03:00
155eb1ba58 engine: fix various warnings 2021-03-07 03:40:01 +03:00
cf5ebd128c client: fix XASH_64BIT check 2021-02-26 16:04:45 +03:00
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).
2021-02-26 16:04:45 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
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.
2020-09-11 22:10:32 +03:00
09ae961221 remove platform-specific macros 2020-08-24 21:22:02 +03:00
70cddcb9ca client: fix assert when sprite exist, but not loadable 2020-02-08 23:15:40 +07:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
9421457b3a engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h 2019-11-24 03:52:08 +03:00
db39f0cc88 engine: client: combine loading or paused icon drawing 2019-11-08 01:28:01 +03:00
3f48bce7da engine: client: fix #79 2019-11-08 01:09:55 +03:00
9e99a2bc37 engine: dirty sdl1.2 port 2019-11-02 08:56:07 +03:00
114a256675 Implement XASH_LOW_MEMORY, memory-reduced configuration 2019-10-26 07:06:26 +07:00
Wei Mingzhi
88772a1c34 engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs. 2019-10-07 16:08:10 +03:00
8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
938a9f372f engine: add stub function for new undocumented function in clientdll api 2019-07-26 14:51:21 +03:00
d9545e5e78 cl_game: fix missing } 2019-07-20 05:09:24 +03:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
54920f13df engine: rename library naming function, as it returns a full path and not just library name 2019-07-07 02:47:45 +03:00
0579ecd30f engine: check if client.dll linked to SDL2.dll (#37) 2019-06-29 23:56:50 +03:00
Mr0maks
671c247381 Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs 2019-05-25 22:54:42 +05:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
Mr0maks
85b5b4e965 filesystem: add support for zip files 2019-05-24 21:13:03 +05:00
c215b89923 Apply 4483 update 2019-05-19 15:01:23 +03:00
5af6506d86 engine: ensure that we loading same client library 2019-05-12 03:08:51 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
5be982cc72 ref: remove shared textures enum, instead use hardcoded texture names 2019-04-15 01:43:43 +03:00
92b89936b3 ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs 2019-03-22 16:36:46 +03:00
0a22040c6e Fix SpriteTexture 2019-03-17 23:41:11 +07:00
c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
971f9b6de5 ref: fix compiling errors 2019-03-16 04:24:27 +03:00
199ebfed48 ref: implement engine ref API 2019-03-16 04:17:56 +03:00
97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00
e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00
ddd17fe238 client: clear usermessages 2019-02-05 01:28:39 +07:00
Jonathan Poncelet
35869586c9 Made various log messages more informative 2019-01-28 18:32:29 +00:00