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
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
Alibek Omarov
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
5 years ago
mittorn
cb8e0a50bc
lowmemory: reduce MAX_QPATH
5 years ago
Alibek Omarov
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
mittorn
23956a0b82
platform: alsa support
5 years ago
mittorn
803c396fa2
platform: new fbdev bakend, move in_evdev to bakends
5 years ago
Alibek Omarov
148846c02d
common: explicitly cast literals to floats
5 years ago
Alibek Omarov
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
5 years ago
Alibek Omarov
37f9c25212
port: include winsock2 explicitly, so winsock1 would not be included with windows.h
5 years ago
Alibek Omarov
4b163e6d30
engine: hide FCVAR_RENDERINFO from renderdll, remove OpenGLConfigHack from engine functions, add GetConfigName to renderdll functions
6 years ago
Alibek Omarov
147c702f2f
defaults: specify two default renderers, one is accelerated, second is software
6 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
6 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
6 years ago
Alibek Omarov
4e4a9827b1
defaults: remove dead macro
6 years ago
Alibek Omarov
b8c0d7f59e
port: clean-up old port header
6 years ago
Alibek Omarov
0579ecd30f
engine: check if client.dll linked to SDL2.dll ( #37 )
6 years ago
Alibek Omarov
e9f26fe29d
port: don't define XASH_64BIT, as it defined by waf
6 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
6 years ago
Alibek Omarov
4000654deb
engine: port: disable ARCH_SUFFIX set to "64" for 64-bit platforms, it would replaced with new library naming scheme in near future
6 years ago
Mr0maks
1cc2ec9095
filesystem: zip: codestyle 2
6 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
90e4fbed31
port.h: temporarily disable hardfp postfix
6 years ago
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
6 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago