Commit Graph

28 Commits

Author SHA1 Message Date
Alibek Omarov 3765686077 public: make va() buffer size public 2023-03-11 05:28:17 +03:00
Xav101 9466461ce0
engine: preliminary support for SGI IRIX (#1211)
* Added definitions for IRIX

* Patchset to get dedicated server to compile on IRIX.

* Cleaned up debug statements in wscript

* Potential bug in IRIX implementation of isnan? For now just use the portable macro.

* Include the platform port files in the build

* Temporary execution script for setting appropriate library search paths to the right locations in the build directory. This should probably get replaced with a more permanent script at some point which lives in the same directory as the normal xash binary, or be replaced by a solution that sets the rpath during config or modifies rpath during install.

* Clean up formatting and remove unneeded debugging statements

* Added GPL copyright notice and description

* Moved to irix platform folder and edited script

* Re-introduced _inline macro

* Replace spaces with tabs

Co-authored-by: Xav101 <xaviernye@msn.com>
2023-01-14 09:35:30 +03:00
Alibek Omarov 6e179346c9
common: redefine poolhandle_t back to pointer for 32-bit systems 2022-12-19 18:36:31 +03:00
Alibek Omarov a52d901f25 common: add STATIC_ASSERT macro
We're trying to guess if we have C11 static_assert defined in assert.h
otherwise use good ol' trick with negative array
2022-09-20 21:55:32 +03:00
Alibek Omarov 3eb4862794 common: remove unneeded typedef for wad file type 2022-08-01 15:06:54 +03:00
Alibek Omarov 5d4f8373c4 common: fix usage of __has_builtin for old GCC releases 2022-06-29 03:53:36 +03:00
Alibek Omarov b9b8b0521b common: add unlikely()/likely() macros 2022-06-29 02:36:39 +03:00
Alibek Omarov 6f36edfd16 engine: various const qualifier fixes 2022-05-29 04:22:43 +03:00
Alibek Omarov 9ce8edcb38 public: moved compiler attributes to xash3d_types.h 2022-05-28 17:57:43 +03:00
Alibek Omarov fb8791529e common: include build.h in xash3d_types.h 2021-12-23 18:46:40 +03:00
Alibek Omarov 764ef93984 common: add fs_size_t typedef, for read()/write() return value 2021-12-23 01:21:33 +03:00
Alibek Omarov 9313f7e80e engine: replace pool pointer by pool handle 2021-06-07 02:33:15 +03:00
Alibek Omarov 8d942bcc86 xash3d_types: start refactoring engine to use stdint.h types 2020-04-19 13:02:51 +03:00
mittorn 6953e829c4 lowmemory: prevent redefines 2019-11-04 22:34:08 +07:00
mittorn 0e7013eeb0 lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer 2019-11-04 19:58:45 +07:00
mittorn cb8e0a50bc lowmemory: reduce MAX_QPATH 2019-10-29 11:30:57 +07:00
Alibek Omarov 148846c02d common: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
Mr0maks 1cc2ec9095 filesystem: zip: codestyle 2 2019-05-27 23:02:38 +05:00
Mr0maks 85b5b4e965 filesystem: add support for zip files 2019-05-24 21:13:03 +05:00
Alibek Omarov ab7a67464b engine: fix long<->int conversion UBs 2019-05-02 19:05:09 +03:00
Alibek Omarov 3fef353291 android: initial port 2019-05-02 18:07:03 +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
Alibek Omarov 4880ca3ca2 engine: move EXPORT definition to xash3d_types 2019-03-20 02:38:37 +03:00
Alibek Omarov 7aa7f4dbbd engine: fix broken win32 types after moving more definitions to xash3d_types.h 2019-03-20 01:18:26 +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 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 e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +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