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
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
c28aeb2362
engine: make crashhandler implementation choice private to crashhandler code
2023-01-09 07:55:54 +03:00
4684f174ee
public: completely get rid of PATH_SEPARATOR macros
2023-01-05 06:06:07 +03:00
e1ea3387ee
common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character
2022-12-27 02:31:46 +03:00
6e179346c9
common: redefine poolhandle_t back to pointer for 32-bit systems
2022-12-19 18:36:31 +03:00
f20fddee1c
common: bspfile: add separate definitions for clipnodes limit for HLBSP and QBSP2
2022-12-15 00:42:40 +03:00
SNMetamorph
080cd146dd
common: com_model: changed common structs reserved fields type to intptr_t
2022-12-11 22:59:17 +03:00
e48b708fa6
engine: imagelib: img_png: validate image size through common engine function
2022-12-05 04:54:20 +03:00
e30c61c0e2
common: netadr: use static_assert macro
2022-11-17 19:44:47 +03:00
64e97124c3
Merge master to ipv6
2022-11-17 19:34:46 +03:00
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
69b0954007
engine: change RenderAPI's RenderGetParm return type to intptr_t to insure compatibility with 64-bit
2022-09-20 18:06:19 +03:00
cb34c23844
common: increase MAX_MAP_MODELS to 1024, to match PrimeXT compilers
2022-08-21 17:27:48 +03:00
3eb4862794
common: remove unneeded typedef for wad file type
2022-08-01 15:06:54 +03:00
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
2022-07-01 03:41:55 +03:00
5d4f8373c4
common: fix usage of __has_builtin for old GCC releases
2022-06-29 03:53:36 +03:00
b9b8b0521b
common: add unlikely()/likely() macros
2022-06-29 02:36:39 +03:00
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
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
2022-06-09 03:10:02 +03:00
b0a889d1a1
engine: bring back simple netadr_t, as we don't care about IPv4-to-IPv6 mapped addresses anymore
2022-06-09 03:10:02 +03:00
a1299e1dfe
common: third iteration of ipv6 netadr_t, now binary compatible with v4-to-v6 mapped addresses
2022-06-09 03:10:02 +03:00
12bfb8f795
common: another approach on netadr_t with better compatibility
2022-06-09 03:10:02 +03:00
9ae72dbc47
common: update netadr_t structure to include IPv6 addresses
2022-06-09 03:10:02 +03:00
6f36edfd16
engine: various const qualifier fixes
2022-05-29 04:22:43 +03:00
9ce8edcb38
public: moved compiler attributes to xash3d_types.h
2022-05-28 17:57:43 +03:00
SNMetamorph
6473efa995
engine: added support for BC7 and BC6H compression formats of DDS textures
2022-03-07 02:03:40 +03:00
203afda053
engine: add render_picbutton_text flag to use mainui_cpp font renderer for rendering WON buttons
2022-02-10 02:53:35 +03:00
ccf90beb7d
public: crtlib: add Q_isspace function
2022-01-04 02:22:20 +03:00
4f89288ccf
common: cleanup port.h
2021-12-23 19:17:11 +03:00
fb8791529e
common: include build.h in xash3d_types.h
2021-12-23 18:46:40 +03:00
764ef93984
common: add fs_size_t typedef, for read()/write() return value
2021-12-23 01:21:33 +03:00
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
2021-12-08 20:27:02 +03:00
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
2021-12-07 09:09:45 +03:00
a3d6e7bcfe
common: define FCVAR_FILTERABLE, change FCVAR_LATCH value (probably losing compatibility with XashXT and Paranoia 2)
2021-11-23 05:23:38 +03:00
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
66d66eb835
common: define FCVAR_LOCALONLY the same bit used in GoldSource, move FCVAR_MOVEVARS into internal engine flags
2021-11-23 05:23:38 +03:00
SNMetamorph
6c9321e50c
ref_gl: added multisample textures support
2021-11-23 05:17:19 +03:00
SNMetamorph
e4ad8def0d
engine: filesystem: fixed current directory changing for Windows
2021-10-03 12:28:59 +03:00
88ce5fd0b6
engine: modify NetAPI to follow const qualifiers
2021-07-20 16:10:32 +03:00
f8e6033ae6
engine: move TIMER_LINUX to TIMER_POSIX, enabling dedicated builds for FreeBSD and other *nix platforms
2021-06-26 00:19:49 +03:00
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
c9f176f802
common: remove double defines
2021-03-10 21:49:09 +03:00
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.
2021-01-07 17:31:56 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
61fe9fd1fe
engine: fix some left shifts on signed integers
2021-01-02 05:01:51 +03:00
cdcd139171
engine: studio.h: rename unused fields as "unused".
...
engine: studio.h: add assimp-like comments.
2020-11-27 22:06:05 +03:00
68e10d7b53
engine: studio.h: use C99 types.
2020-11-27 22:06:05 +03:00
378b655cd2
engine: studio.h: add Paranoia 2: The Savior structures and macros.
2020-11-27 22:06:05 +03:00
2d97126baf
defaults: if no crashhandler was defined, fallback to null
2020-08-23 19:02:15 +03:00
bef873e1f8
platform/android: enable dynamic dladdr, fix build
2020-07-08 08:45:24 +07:00
f59a3ca417
defaults: use appropriate Win32 check macro
2020-04-25 21:28:19 +03:00
8d942bcc86
xash3d_types: start refactoring engine to use stdint.h types
2020-04-19 13:02:51 +03:00
c39d42cc62
avi: replace longs by ints
2020-04-19 13:02:51 +03:00
1b4f997951
renderapi: add glcore context and gl4es wrapper
2020-02-25 12:59:04 +07:00
fe07c48431
port.h: split common and posix defines
2020-02-08 23:15:40 +07:00
d8f20f3642
common: add DOS4GW platform
2020-02-08 23:15:40 +07:00
22dc5b7416
Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs
2020-01-18 07:15:45 +07:00
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
c613118199
defaults: refactoring, remove XASH_FBDEV macro, remove dead macros(DEFAULT_CON_MAXFRAC and DEFAULT_SV_FORCESIMULATING)
2019-11-24 03:01:50 +03:00
755db4d56b
backends: reformat
2019-11-24 03:00:35 +03:00
94fc0febc7
fix some comments
2019-11-18 21:13:21 +07:00
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
2019-11-18 03:31:55 +07:00
0cb591821a
Merge sdl12-port into master
2019-11-06 22:29:04 +03:00
79adaa11e0
lowmemory: merge
2019-11-05 01:15:31 +03:00
6953e829c4
lowmemory: prevent redefines
2019-11-04 22:34:08 +07:00
0e7013eeb0
lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer
2019-11-04 19:58:45 +07:00
90038d2924
common: fix broken build
2019-11-02 08:56:07 +03:00
aa6674b032
engine: support compiling with gcc3
2019-11-02 08:56:07 +03:00
7f1dd248c2
backends: add XASH_MESSAGEBOX to specify messagebox platform implementation
2019-11-02 08:56:07 +03:00
9e99a2bc37
engine: dirty sdl1.2 port
2019-11-02 08:56:07 +03:00
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
2019-11-02 08:56:07 +03:00
cb8e0a50bc
lowmemory: reduce MAX_QPATH
2019-10-29 11:30:57 +07:00
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
2019-10-27 22:29:03 +03:00
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
2019-10-26 07:06:26 +07:00
23956a0b82
platform: alsa support
2019-10-25 09:04:52 +07:00
803c396fa2
platform: new fbdev bakend, move in_evdev to bakends
2019-10-22 01:42:02 +07:00
148846c02d
common: explicitly cast literals to floats
2019-10-18 16:46:54 +03:00
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
2019-08-09 02:46:29 +03:00
37f9c25212
port: include winsock2 explicitly, so winsock1 would not be included with windows.h
2019-08-09 02:28:28 +03:00
4b163e6d30
engine: hide FCVAR_RENDERINFO from renderdll, remove OpenGLConfigHack from engine functions, add GetConfigName to renderdll functions
2019-07-28 00:13:40 +03:00
147c702f2f
defaults: specify two default renderers, one is accelerated, second is software
2019-07-28 00:10:55 +03:00
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
4beba75159
engine: fix various compiler warnings
2019-07-13 23:25:03 +03:00
4e4a9827b1
defaults: remove dead macro
2019-07-13 19:49:27 +03:00
b8c0d7f59e
port: clean-up old port header
2019-07-01 05:50:54 +03:00
0579ecd30f
engine: check if client.dll linked to SDL2.dll ( #37 )
2019-06-29 23:56:50 +03:00
e9f26fe29d
port: don't define XASH_64BIT, as it defined by waf
2019-06-17 08:37:51 +03:00
f2c927906f
Merge 4511 update
2019-06-17 07:36:46 +03:00
b16529cc65
Apply 4511 update
2019-06-17 07:05:36 +03:00
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
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
90e4fbed31
port.h: temporarily disable hardfp postfix
2019-05-12 03:00:50 +03:00
ab7a67464b
engine: fix long<->int conversion UBs
2019-05-02 19:05:09 +03:00
3fef353291
android: initial port
2019-05-02 18:07:03 +03:00
e3e2f3afe5
platform: move Sys_ShellExecute implementation to platform backends
2019-05-01 19:21:47 +03:00
d62a12dd9a
ref: allow to use shortened name when specifying -ref in command line
2019-04-14 22:04:32 +03:00
441795943b
ref_gl: move gl specific defines out from defaults.h, remove VIDEO_DONTCARE hack, automatically set XASH_GLES if wrapper is set
2019-04-04 23:13:17 +03:00