Alibek Omarov
b9b8b0521b
common: add unlikely()/likely() macros
3 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
3 years ago
Alibek Omarov
2b8b3e1993
engine: server: new IP filter, rewritten with IPv6 in mind
3 years ago
Alibek Omarov
b0a889d1a1
engine: bring back simple netadr_t, as we don't care about IPv4-to-IPv6 mapped addresses anymore
3 years ago
Alibek Omarov
a1299e1dfe
common: third iteration of ipv6 netadr_t, now binary compatible with v4-to-v6 mapped addresses
3 years ago
Alibek Omarov
12bfb8f795
common: another approach on netadr_t with better compatibility
3 years ago
Alibek Omarov
9ae72dbc47
common: update netadr_t structure to include IPv6 addresses
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
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
4 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 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
Andrey Akhmichin
68e10d7b53
engine: studio.h: use C99 types.
4 years ago
Andrey Akhmichin
378b655cd2
engine: studio.h: add Paranoia 2: The Savior structures and macros.
4 years ago
Alibek Omarov
2d97126baf
defaults: if no crashhandler was defined, fallback to null
4 years ago
mittorn
bef873e1f8
platform/android: enable dynamic dladdr, fix build
5 years ago
Alibek Omarov
f59a3ca417
defaults: use appropriate Win32 check macro
5 years ago
Alibek Omarov
8d942bcc86
xash3d_types: start refactoring engine to use stdint.h types
5 years ago
Alibek Omarov
c39d42cc62
avi: replace longs by ints
5 years ago
mittorn
1b4f997951
renderapi: add glcore context and gl4es wrapper
5 years ago
mittorn
fe07c48431
port.h: split common and posix defines
5 years ago
mittorn
d8f20f3642
common: add DOS4GW platform
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
c613118199
defaults: refactoring, remove XASH_FBDEV macro, remove dead macros(DEFAULT_CON_MAXFRAC and DEFAULT_SV_FORCESIMULATING)
5 years ago
Alibek Omarov
755db4d56b
backends: reformat
5 years ago
mittorn
94fc0febc7
fix some comments
5 years ago
mittorn
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
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
Alibek Omarov
7f1dd248c2
backends: add XASH_MESSAGEBOX to specify messagebox platform implementation
5 years ago