Commit Graph

33 Commits

Author SHA1 Message Date
Alibek Omarov edc08e39ef common: move FORCEINLINE from port.h to xash3d_types.h, alongside other compiler-specific attributes 2024-01-24 20:51:34 +03:00
fgsfds 7424b29e56 engine: initial psvita build support 2023-03-11 07:09:14 +03:00
fgsfds 4e87eb068a engine: common: nswitch: use #if instead of #ifdef 2023-02-07 23:03:59 +01:00
fgsfds 25fb89f717 nswitch: don't redefine O_BINARY 2023-02-05 02:16:56 +01:00
fgsfds 25a1cb8ce7 Nintendo Switch support (again) 2023-02-05 02:09:32 +01:00
Alibek Omarov 4684f174ee public: completely get rid of PATH_SEPARATOR macros 2023-01-05 06:06:07 +03:00
Alibek Omarov e1ea3387ee common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character 2022-12-27 02:31:46 +03:00
Alibek Omarov 7c9f5f8ab1 engine: remove LoadLibrary macros, to avoid possible misuse. Although macros moved to game_launch, it's part of it's own problem from now 2022-06-11 03:25:57 +03:00
Alibek Omarov 4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
Alibek Omarov 764ef93984 common: add fs_size_t typedef, for read()/write() return value 2021-12-23 01:21:33 +03:00
SNMetamorph e4ad8def0d engine: filesystem: fixed current directory changing for Windows 2021-10-03 12:28:59 +03:00
mittorn fe07c48431 port.h: split common and posix defines 2020-02-08 23:15:40 +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
mittorn 114a256675 Implement XASH_LOW_MEMORY, memory-reduced configuration 2019-10-26 07:06:26 +07:00
Alibek Omarov 8bb6aa2c51 engine: don't include windows headers, as they globally included by port.h already 2019-08-09 02:46:29 +03:00
Alibek Omarov 37f9c25212 port: include winsock2 explicitly, so winsock1 would not be included with windows.h 2019-08-09 02:28:28 +03:00
Alibek Omarov b8c0d7f59e port: clean-up old port header 2019-07-01 05:50:54 +03:00
Alibek Omarov 0579ecd30f engine: check if client.dll linked to SDL2.dll (#37) 2019-06-29 23:56:50 +03:00
Alibek Omarov e9f26fe29d port: don't define XASH_64BIT, as it defined by waf 2019-06-17 08:37:51 +03:00
Alibek Omarov 4000654deb
engine: port: disable ARCH_SUFFIX set to "64" for 64-bit platforms, it would replaced with new library naming scheme in near future 2019-05-29 19:53:48 +03:00
Alibek Omarov 90e4fbed31 port.h: temporarily disable hardfp postfix 2019-05-12 03:00:50 +03:00
Alibek Omarov e3e2f3afe5 platform: move Sys_ShellExecute implementation to platform backends 2019-05-01 19:21:47 +03:00
Alibek Omarov 6c006e087d common: don't use SDL headers and types in refdll, if for some reason dll wants it 2019-03-30 03:06:23 +03:00
mittorn 4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07: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 574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
Alibek Omarov 7601a4cd29 Revert 64257ef to not break C++ header compability 2018-07-12 23:13:30 +03:00
Alibek Omarov 473810fc0c MSVC & Win32 related fixes 2018-06-14 20:32:40 +03:00
Alibek Omarov aa5d52cebc Change libxashmenu to libmenu to keep same names between different OSes 2018-05-28 23:44:52 +03:00
mittorn 7d1df4c097 Add string.h, fix decals with unsigned char 2018-04-21 13:39:55 +00:00
Alibek Omarov 2de6d00a82 Update filesystem. Use fork's gameinfo/liblistgam parser, use PATH_SPLITTER to avoid errors 2018-04-17 03:46:30 +03:00
Alibek Omarov 64257ef428 Avoid some struct declaration in parameter list 2018-04-14 04:26:12 +03:00
Alibek Omarov 25325e6150 Port common.h and system.h. Add backends.h, defaults.h, port.h, xash3d_types.h from fork 2018-04-13 19:56:43 +03:00