Commit Graph

65 Commits

Author SHA1 Message Date
mittorn 22c148a39e filesystem: refactor zip/pak loading, partially fix reading files from zip, add option to reduce FD usage, remove dup() dependency 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 f56887bde9 engine: fix rodir, now it always creates gamefolder in rwdir. Fixes #87 2019-11-24 02:12:17 +03:00
Alibek Omarov aa6674b032 engine: support compiling with gcc3 2019-11-02 08:56:07 +03:00
mittorn d6f8112860 gameinfo: add MIN_EDICTS constant instead of magic number 600, low it to 64 2019-11-02 12:46:11 +07:00
iZarif bf8b87c29d engine: client/common: fix a few more format warnings 2019-10-22 17:56:08 +03:00
Aimless Wanderer 409eee3bb4 engine: fix gameinfo parsing 2019-10-04 11:58:14 +03:00
Alibek Omarov ca57c8424d filesystem: follow C89 2019-07-30 18:20:54 +03:00
Alibek Omarov 4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
Alibek Omarov e700a7498e engine: move matchpattern from old engine 2019-07-09 16:36:15 +03:00
Alibek Omarov 89a3fd6323 engine: make use of platform-unique library naming scheme 2019-07-01 05:50:04 +03:00
Alibek Omarov 8d2bea03e0
filesystem: disable netpath code
This code was used in ancient approach, where executables and game files may have different path.
And this code was working only on Win32 with case-insensitive `getenv()`
2019-06-10 00:21:41 +03:00
Alibek Omarov 70d45f23de public: crclib now is part of public library 2019-06-06 04:33:57 +03:00
Alibek Omarov 85240f0145 filesystem: zip: use miniz header only library instead of zlib, add miniz generated header(stripped ZIP reading/writing code) 2019-06-02 12:27:58 +03:00
Mr0maks 3023c8a72b
Merge branch 'master' into master 2019-05-30 21:25:56 +05:00
Mr0maks 01a33dcf7e filesystem: zip: remove 'big' block 2019-05-30 00:51:52 +05:00
Mr0maks b42f020ad5 filesystem: zip: warning else zip file is empty 2019-05-29 20:04:14 +05:00
Mr0maks 6422005716 filesystem: zip: remove commented code 2019-05-29 13:05:19 +05:00
Mr0maks efc9048b43 filesystem: zip: zlib error code 2019-05-29 13:01:33 +05:00
Mr0maks 12bc507156 filesystem: zip: working unpack code 2019-05-28 18:51:44 +05:00
Mr0maks f9a7ffa5e8 filesystem: zip: remove malloc 2019-05-28 15:04:08 +05:00
Alibek Omarov 1d78d7c720 filesystem: fix even more char signness 2019-05-27 23:27:20 +03:00
Mr0maks 1cc2ec9095 filesystem: zip: codestyle 2 2019-05-27 23:02:38 +05:00
Mr0maks 5cf4e34607 filesystem: zip: codestyle 2019-05-27 20:44:14 +05:00
Mr0maks b32de42ab7 filesystem: zip: fix memory leak (not freed info) 2019-05-26 23:04:17 +05:00
Mr0maks b04a48f126 filesystem: zip: remove XASH_ZLIB macro 2019-05-26 20:12:41 +05:00
Mr0maks 3c0a34926a filesystem: zip: pk3 support 2019-05-26 00:38:21 +05:00
Mr0maks 039b42868d filesystem: zip: add FS_AddFileToZip 2019-05-25 23:24:34 +05:00
Mr0maks 671c247381 Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs 2019-05-25 22:54:42 +05:00
Alibek Omarov 9048c108c4 engine: fix char default signness 2019-05-25 03:12:17 +03:00
Mr0maks 85b5b4e965 filesystem: add support for zip files 2019-05-24 21:13:03 +05:00
Alibek Omarov 5af6506d86 engine: ensure that we loading same client library 2019-05-12 03:08:51 +03:00
Alibek Omarov b8c4c31e02 Merge 4344 update 2018-12-30 01:51:02 +03:00
Alibek Omarov bf07a9e61e Apply 4344 update 2018-12-30 01:43:07 +03:00
mittorn 298393b653 Initial amd64 port 2018-12-05 23:57:05 +07:00
Alibek Omarov 1ef0b44a41 filesystem: allow setting extras.pak by env-var for everyone 2018-11-16 15:34:02 +03:00
Alibek Omarov 25d8a94c1c engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c 2018-11-16 15:25:04 +03:00
Alibek Omarov a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
Alibek Omarov aae3510763 Apply 4281 update 2018-10-27 23:32:09 +03:00
Alibek Omarov 48d1aa5115 engine: fix warnings 2018-10-06 03:42:09 +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 fdb2055b62 Add RoDir support 2018-07-10 23:03:27 +03: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 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 415e517107 Library loader refactoring. Not tested for platforms other than Linux 2018-05-01 21:52:00 +03:00
Alibek Omarov 0681209114 Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated 2018-05-01 17:30:33 +03:00