Alibek Omarov
02b8037f33
common: xash3d_types: add NONNULL attribute
1 year ago
Alibek Omarov
3765686077
public: make va() buffer size public
2 years ago
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>
2 years ago
Alibek Omarov
6e179346c9
common: redefine poolhandle_t back to pointer for 32-bit systems
2 years ago
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
2 years ago
Alibek Omarov
3eb4862794
common: remove unneeded typedef for wad file type
2 years ago
Alibek Omarov
5d4f8373c4
common: fix usage of __has_builtin for old GCC releases
3 years ago
Alibek Omarov
b9b8b0521b
common: add unlikely()/likely() macros
3 years ago
Alibek Omarov
6f36edfd16
engine: various const qualifier fixes
3 years ago
Alibek Omarov
9ce8edcb38
public: moved compiler attributes to xash3d_types.h
3 years ago
Alibek Omarov
fb8791529e
common: include build.h in xash3d_types.h
3 years ago
Alibek Omarov
764ef93984
common: add fs_size_t typedef, for read()/write() return value
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Alibek Omarov
8d942bcc86
xash3d_types: start refactoring engine to use stdint.h types
5 years ago
mittorn
6953e829c4
lowmemory: prevent redefines
5 years ago
mittorn
0e7013eeb0
lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer
5 years ago
Alibek Omarov
90038d2924
common: fix broken build
5 years ago
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
mittorn
cb8e0a50bc
lowmemory: reduce MAX_QPATH
5 years ago
Alibek Omarov
148846c02d
common: explicitly cast literals to floats
5 years ago
Mr0maks
1cc2ec9095
filesystem: zip: codestyle 2
6 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
6 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
6c006e087d
common: don't use SDL headers and types in refdll, if for some reason dll wants it
6 years ago
Alibek Omarov
4880ca3ca2
engine: move EXPORT definition to xash3d_types
6 years ago
Alibek Omarov
7aa7f4dbbd
engine: fix broken win32 types after moving more definitions to xash3d_types.h
6 years ago
mittorn
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
6 years ago
Alibek Omarov
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
6 years ago
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
25325e6150
Port common.h and system.h. Add backends.h, defaults.h, port.h, xash3d_types.h from fork
7 years ago