Gleb Mazovetskiy
5b8d504817
Add .clang-format
...
Based on
725fd84b5b/.clang-format
with the following changes:
1. Uncomments `BasedOnStyle: WebKit` to be explicit.
2. Adds:
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
4 years ago
Alibek Omarov
61fe9fd1fe
engine: fix some left shifts on signed integers
4 years ago
Gleb Mazovetskiy
33ba1f25f3
sys_linux.c: Increase buffer size for /proc/self/status
...
Fixes #263
4 years ago
Gleb Mazovetskiy
2106eef4b2
system.c: Fix `Sys_Warn/Error` text buffer sizes
...
This was using the wrong define
E.g. `-dev 2 -help` output did not fit into it
4 years ago
Gleb Mazovetskiy
23998ef720
makepak.py: Skip all filenames starting with .
...
This makes it much simpler to define a buildroot package for xash-extras
buildroot places various buildroot-internal dot files in the package build directory
4 years ago
Andrey Akhmichin
1332381e2d
engine: server: simplified strings operations.
4 years ago
Gleb Mazovetskiy
7f98998765
ref_gl/gl4es: bump
...
To get this bugfix: 221fa1e67a
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
Gleb Mazovetskiy
69e15e9c7b
gl4es: Fix `so` name and add to renderer collector
...
1. `libref_gles2_gl4es.so` -> `libref_gl4es.so` because this is what's
passed to `R_LoadRenderer`.
2. Add `gl4es` to `DEFAULT_RENDERERS` so that `R_CollectRendererNames`
finds it.
4 years ago
Andrey Akhmichin
9e1170fc56
Documentation: add list of non-supported mods.
4 years ago
Gleb Mazovetskiy
5a36a26dd1
Fix SDL_GAMECONTROLLER handling
...
1. Do not disable SDL_JOYSTICK events. Disabling these events causes
game controller events to be disabled as well. Instead, filter these events out.
2. Fix button mapping (it was off by one).
4 years ago
Gleb Mazovetskiy
a92b310e0e
Add gl4es submodule
...
Fixes #248
4 years ago
Gleb Mazovetskiy
b40344f1f0
travis: unzip quietly
...
Helps avoid the following error message:
> The job exceeded the maximum log length, and has been terminated.
(e.g. https://travis-ci.org/github/FWGS/xash3d-fwgs/jobs/751744736 )
4 years ago
Gleb Mazovetskiy
36b32cad0f
Fix 2 instances of void* pointer arithmetic
...
Partially reverts 341e440c07
Let's see if this fixes the windows build on travis
4 years ago
mittorn
7b127c23f5
client: fix vgui leaving text input move enabled (breaks CTRL in SDL2)
4 years ago
Alibek Omarov
9acedb3408
travis: restore unzipping file
4 years ago
Andrey Akhmichin
5f54582692
ref_gl: simplified strings operations.
4 years ago
Andrey Akhmichin
63d8794902
ref_soft: r_image.c: remove duplicated Q_strlen() call.
4 years ago
Alibek Omarov
ede9e5095d
travis: fix getting android deps
4 years ago
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Andrey Akhmichin
299e3fe957
utils: mdldec: small update.
4 years ago
Alibek Omarov
3e7e251828
codeql: try to fix analysis tool
4 years ago
Alibek Omarov
f2120672d0
travis: update android sdk level
4 years ago
Alibek Omarov
d3ab2023ae
travis: combine downloading zip file and unpacking it
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
88e1780c68
engine: studio.h: use vec_t instead of float.
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
b7fa48a1eb
cirrus: try to fix freebsd 11.4 ci build
4 years ago
Alibek Omarov
eb652d53ac
public: fix compiling
4 years ago
Andrey Akhmichin
c53985c0bc
engine: common: imagelib: img_tga.c: refactor Targa encoder.
4 years ago
mittorn
f60c398f32
scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one
4 years ago
mittorn
bb387cfe4b
ref_gl/gl4es: fix android build
4 years ago
mittorn
341e440c07
public,sprites: fix -Wcast-align, disable -Werror for it
4 years ago
Aydar Zarifullin
e6b9b67825
add codeql-analysis.yml
4 years ago
Alibek Omarov
9c6183e6a0
wscript: add some more alignment related diagnostics
4 years ago
Alibek Omarov
2aaa6c6e04
public: build: add ARMv8 32-bit support, in case of someone actually uses it
4 years ago
Alibek Omarov
80a5c53cb2
engine: client: move ref state updating into standalone function
4 years ago
Agent Agrimar
e4a71afe63
engine: client: update the ref state before R_NewMap is called
...
This fixes fades that occur at the beginning of a map being a tad screwy as a result of the ref state not being updated with fresh values, which only happens when a frame is being rendered (loading happens to prevent that).
4 years ago
Andrey Akhmichin
23ea7ecbcc
public: optimize MD5_Print function.
4 years ago
Logan
5cdb35f508
Pass cl.viewentity into S_StartSound for pfnPlaySoundByNameAtLocation
...
This fixes a minor bug where sounds played via pfnPlaySoundByNameAtLocation (mainly from viewmodel animations e.g. MP5) would be left where it was emitted in the world, rather than following the local player as it does in Goldsrc.
4 years ago
Velaron
03668116d7
platform: win32: COM_CheckLibraryDirectDependency fixes
4 years ago
Velaron
f3d8a2bcb0
client: vgui: don't fail if client path not given
4 years ago
Velaron
09ae961221
remove platform-specific macros
4 years ago
Velaron
d015e97eae
engine: client: m_rawinput support on windows
4 years ago
Velaron
b4aecfbf23
engine: move some input code
4 years ago
lewa_j
df7f8259a1
mainui: update
4 years ago
Alexey
fff71e449e
Fix android travis build again
4 years ago
Alibek Omarov
d4003f9527
crashhandler: fix build
4 years ago
Alibek Omarov
9acd2f5d22
waf: upgrade waf
4 years ago