Alibek Omarov
11d4cb0f1e
engine: client: securedstub: cosmetic changes
2022-05-29 02:27:02 +03:00
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2022-05-25 03:50:06 +03:00
SNMetamorph
9c85d114e7
engine: client: fixed TriWorldToScreen behavior to match GoldSrc
2022-04-13 09:12:12 +03:00
Bien Pham
988183a96a
engine: implement support for secured client dlls
2022-02-01 05:56:54 +03:00
Bien Pham
3a55b9cd67
engine: make pfnDrawString & pfnDrawStringReverse return width
2022-01-29 00:36:43 +03:00
Alibek Omarov
56103a90eb
engine: client: limit token size in client dll parsefile to 1024 (GoldSrc value)
2022-01-27 03:32:52 +03:00
Alibek Omarov
7e687b45bb
engine: client always uses SDL (virtually) on non-Win32 platforms
2022-01-04 08:39:11 +03:00
Alibek Omarov
c96f10d40b
engine: client: restrict LOCALONLY cvars regardless of cl_filterstuffcmd value
2021-11-23 05:23:38 +03:00
Alibek Omarov
c79a649d97
engine: client: implement pfnFilteredClientCmd
2021-11-23 05:23:38 +03:00
Владислав Сухов
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
Alibek Omarov
4ba95277b9
engine: client: fix ParseFile calls
2021-10-08 17:31:32 +03:00
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
2021-10-08 17:31:32 +03:00
Alibek Omarov
91f845c335
engine: client: fix paused icon drawn when levelshots are disabled
2021-09-30 16:43:21 +03:00
Alibek Omarov
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
Alibek Omarov
88ce5fd0b6
engine: modify NetAPI to follow const qualifiers
2021-07-20 16:10:32 +03:00
Velaron
d011dccaab
engine: client: remove redundant index check
2021-06-06 15:51:41 +03:00
Alibek Omarov
155eb1ba58
engine: fix various warnings
2021-03-07 03:40:01 +03:00
Alibek Omarov
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
Velaron
09ae961221
remove platform-specific macros
2020-08-24 21:22:02 +03:00
mittorn
70cddcb9ca
client: fix assert when sprite exist, but not loadable
2020-02-08 23:15:40 +07:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
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
Alibek Omarov
db39f0cc88
engine: client: combine loading or paused icon drawing
2019-11-08 01:28:01 +03:00
Alibek Omarov
3f48bce7da
engine: client: fix #79
2019-11-08 01:09:55 +03:00
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
2019-11-02 08:56:07 +03:00
mittorn
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
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
2019-07-27 13:27:40 +03:00
Alibek Omarov
938a9f372f
engine: add stub function for new undocumented function in clientdll api
2019-07-26 14:51:21 +03:00
Alibek Omarov
d9545e5e78
cl_game: fix missing }
2019-07-20 05:09:24 +03:00
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
Alibek Omarov
4beba75159
engine: fix various compiler warnings
2019-07-13 23:25:03 +03:00
Alibek Omarov
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
Alibek Omarov
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
Alibek Omarov
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
Alibek Omarov
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
Alibek Omarov
5af6506d86
engine: ensure that we loading same client library
2019-05-12 03:08:51 +03:00
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
2019-05-02 19:12:23 +03:00
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
2019-04-15 01:43:43 +03:00
Alibek Omarov
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
mittorn
0a22040c6e
Fix SpriteTexture
2019-03-17 23:41:11 +07:00
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
2019-03-17 23:14:53 +07:00
mittorn
297ca08e81
ref: replace model (un)loading by Mod_ProcessRenderData
2019-03-17 21:19:24 +07:00
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
2019-03-17 18:26:57 +07:00
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
2019-03-16 05:15:32 +03:00
Alibek Omarov
971f9b6de5
ref: fix compiling errors
2019-03-16 04:24:27 +03:00
Alibek Omarov
199ebfed48
ref: implement engine ref API
2019-03-16 04:17:56 +03:00
Alibek Omarov
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
Alibek Omarov
234507b7f1
ref: fix all undefined references
2019-03-11 17:37:58 +03:00
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
2019-02-23 21:49:46 +03:00
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
mittorn
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
a1batross
137836348b
client: fix GetCenterWindow engine call
2018-11-29 20:24:25 +03:00
Alibek Omarov
28471aee97
cl_game: get rid of int* to float* conversion
2018-11-18 18:19:31 +03:00
Alibek Omarov
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
2018-10-27 23:28:29 +03:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
mittorn
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
Alibek Omarov
2edbcb996d
Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends.
2018-06-19 16:59:53 +03:00
Alibek Omarov
1e7f9d00c3
Apply 4150 update
2018-06-19 16:22:30 +03:00
Alibek Omarov
7cdead7bac
Merge 4143 update
2018-06-12 12:18:14 +03:00
Alibek Omarov
a539384a76
Apply 4143 update
2018-06-12 12:14:56 +03:00
Alibek Omarov
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00
Alibek Omarov
814b7eda07
Apply 4140 update
2018-06-09 01:28:35 +03:00
Alibek Omarov
9bab7d222a
Apply 4097 update
2018-04-26 03:09:36 +03:00
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
2018-04-23 23:07:54 +03:00
Alibek Omarov
fd649905ea
Fix some format warnings
2018-04-23 21:49:37 +03:00
Alibek Omarov
545b781934
Restore hud_utf8
2018-04-22 14:01:22 +03:00
Alibek Omarov
314a6deba9
Remove gamedir[] from engine-side gameinfo_t
2018-04-21 01:22:00 +03:00
Alibek Omarov
32aa9a9f54
Implement Mobility API support. Add missing IN_TouchShutdown and Joy_Shutdown calls. Don't save video and opengl configs if engine crashed.
2018-04-21 00:13:20 +03:00
Alibek Omarov
a015d6b915
Revert fork's hud_scale behaviour
2018-04-21 00:03:19 +03:00
mittorn
7350be6e7f
Fix build after update
2018-04-20 21:48:12 +00:00
mittorn
926b909f3d
Merge branch 'original'
2018-04-20 12:38:53 +00:00
mittorn
db92c918b2
Apply Apr19 update
2018-04-20 08:41:02 +00:00
mittorn
c1076f43f7
Update client engine interface
2018-04-19 21:51:17 +00:00
mittorn
af7123f7dd
Merge branch 'original' (except gldebug, msaa)
2018-04-19 20:47:41 +00:00
mittorn
050d2a3d0f
Apply Apr18 update
2018-04-19 20:11:24 +00:00
Alibek Omarov
be4b885254
Merge common SDL port changes
2018-04-17 03:53:01 +03:00
Alibek Omarov
4189af8b50
Engine input port. Incomplete integration of touch, gamepad, evdev input
2018-04-14 02:42:41 +03:00
Alibek Omarov
5a1b03ac20
Integrate FWGS vgui_support
2018-04-14 01:49:14 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00