Alibek Omarov
9b0ac7cb32
common: add shared synctype_t definition header, borrowed from Quake's modelgen.h
2 years ago
Alibek Omarov
555fd02407
defaults: reorganize platform default overrides, disable touch for nswitch
2 years ago
fgsfds
4e87eb068a
engine: common: nswitch: use #if instead of #ifdef
2 years ago
fgsfds
25fb89f717
nswitch: don't redefine O_BINARY
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
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
c28aeb2362
engine: make crashhandler implementation choice private to crashhandler code
2 years ago
Alibek Omarov
4684f174ee
public: completely get rid of PATH_SEPARATOR macros
2 years ago
Alibek Omarov
e1ea3387ee
common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character
2 years ago
Alibek Omarov
6e179346c9
common: redefine poolhandle_t back to pointer for 32-bit systems
2 years ago
Alibek Omarov
f20fddee1c
common: bspfile: add separate definitions for clipnodes limit for HLBSP and QBSP2
2 years ago
SNMetamorph
080cd146dd
common: com_model: changed common structs reserved fields type to intptr_t
2 years ago
Alibek Omarov
e48b708fa6
engine: imagelib: img_png: validate image size through common engine function
2 years ago
Alibek Omarov
e30c61c0e2
common: netadr: use static_assert macro
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
69b0954007
engine: change RenderAPI's RenderGetParm return type to intptr_t to insure compatibility with 64-bit
2 years ago
Alibek Omarov
cb34c23844
common: increase MAX_MAP_MODELS to 1024, to match PrimeXT compilers
2 years ago
Alibek Omarov
3eb4862794
common: remove unneeded typedef for wad file type
2 years ago
Alibek Omarov
6e031b518a
engine: client: increase limit of client sprites, lower part of it can be used only for HUD sprites
...
higher part used for client sprites
map overview sprites are loaded as normal models
thus we have equal internal engine and hud sprite indices and it fixes compatibility issues
for mods like Half-Rats Parasomnia
2 years ago
Alibek Omarov
5d4f8373c4
common: fix usage of __has_builtin for old GCC releases
2 years ago
Alibek Omarov
b9b8b0521b
common: add unlikely()/likely() macros
2 years ago
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
2 years ago
Alibek Omarov
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
2 years ago
Alibek Omarov
b0a889d1a1
engine: bring back simple netadr_t, as we don't care about IPv4-to-IPv6 mapped addresses anymore
2 years ago
Alibek Omarov
a1299e1dfe
common: third iteration of ipv6 netadr_t, now binary compatible with v4-to-v6 mapped addresses
2 years ago
Alibek Omarov
12bfb8f795
common: another approach on netadr_t with better compatibility
2 years ago
Alibek Omarov
9ae72dbc47
common: update netadr_t structure to include IPv6 addresses
2 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
SNMetamorph
6473efa995
engine: added support for BC7 and BC6H compression formats of DDS textures
3 years ago
Alibek Omarov
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
3 years ago
Alibek Omarov
ccf90beb7d
public: crtlib: add Q_isspace function
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.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
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
a3d6e7bcfe
common: define FCVAR_FILTERABLE, change FCVAR_LATCH value (probably losing compatibility with XashXT and Paranoia 2)
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
66d66eb835
common: define FCVAR_LOCALONLY the same bit used in GoldSource, move FCVAR_MOVEVARS into internal engine flags
3 years ago
SNMetamorph
6c9321e50c
ref_gl: added multisample textures support
3 years ago
SNMetamorph
e4ad8def0d
engine: filesystem: fixed current directory changing for Windows
3 years ago
Alibek Omarov
88ce5fd0b6
engine: modify NetAPI to follow const qualifiers
3 years ago
Alibek Omarov
f8e6033ae6
engine: move TIMER_LINUX to TIMER_POSIX, enabling dedicated builds for FreeBSD and other *nix platforms
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
c9f176f802
common: remove double defines
4 years ago
Gleb Mazovetskiy
a234888d44
Remove DEFAULT_(ACCELERATED|SOFTWARE)_RENDERER
...
This is no longer needed as we now use DEFAULT_RENDERERS order priority
and only try to load the detected renderers.
4 years ago
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:]]\+$//' {} \+
```
4 years ago
Alibek Omarov
61fe9fd1fe
engine: fix some left shifts on signed integers
4 years ago
Andrey Akhmichin
cdcd139171
engine: studio.h: rename unused fields as "unused".
...
engine: studio.h: add assimp-like comments.
4 years ago