Commit Graph

1405 Commits

Author SHA1 Message Date
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).
2020-12-28 16:11:19 +03:00
Gleb Mazovetskiy
a92b310e0e Add gl4es submodule
Fixes #248
2020-12-28 16:11:04 +03:00
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)
2020-12-28 13:09:01 +03:00
Gleb Mazovetskiy
36b32cad0f Fix 2 instances of void* pointer arithmetic
Partially reverts 341e440c07

Let's see if this fixes the windows build on travis
2020-12-28 13:08:18 +03:00
7b127c23f5 client: fix vgui leaving text input move enabled (breaks CTRL in SDL2) 2020-12-13 10:11:32 +03:00
9acedb3408 travis: restore unzipping file 2020-11-29 19:45:05 +03:00
5f54582692 ref_gl: simplified strings operations. 2020-11-29 13:46:48 +03:00
63d8794902 ref_soft: r_image.c: remove duplicated Q_strlen() call. 2020-11-29 13:33:50 +03:00
ede9e5095d
travis: fix getting android deps 2020-11-28 23:22:57 +03:00
abd9778ef3 engine: common: simplified strings operations. 2020-11-28 23:20:14 +03:00
299e3fe957 utils: mdldec: small update. 2020-11-28 23:18:30 +03:00
3e7e251828 codeql: try to fix analysis tool 2020-11-28 01:34:26 +03:00
f2120672d0 travis: update android sdk level 2020-11-28 01:30:55 +03:00
d3ab2023ae travis: combine downloading zip file and unpacking it 2020-11-28 01:30:55 +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
88e1780c68 engine: studio.h: use vec_t instead of float. 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
b7fa48a1eb cirrus: try to fix freebsd 11.4 ci build 2020-11-27 21:59:41 +03:00
eb652d53ac public: fix compiling 2020-11-22 19:08:51 +03:00
c53985c0bc engine: common: imagelib: img_tga.c: refactor Targa encoder. 2020-11-18 18:54:25 +05:00
f60c398f32 scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one 2020-11-18 12:34:38 +03:00
bb387cfe4b ref_gl/gl4es: fix android build 2020-11-18 12:19:52 +03:00
341e440c07 public,sprites: fix -Wcast-align, disable -Werror for it 2020-11-18 12:15:54 +03:00
Aydar Zarifullin
e6b9b67825 add codeql-analysis.yml 2020-10-07 23:50:13 +03:00
9c6183e6a0 wscript: add some more alignment related diagnostics 2020-09-29 15:42:43 +03:00
2aaa6c6e04 public: build: add ARMv8 32-bit support, in case of someone actually uses it 2020-09-28 16:17:08 +03:00
80a5c53cb2 engine: client: move ref state updating into standalone function 2020-09-14 14:33:43 +03:00
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).
2020-09-14 14:33:18 +03:00
23ea7ecbcc public: optimize MD5_Print function. 2020-09-14 14:28:47 +03:00
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.
2020-09-11 22:10:32 +03:00
03668116d7 platform: win32: COM_CheckLibraryDirectDependency fixes 2020-09-03 22:04:13 +03:00
f3d8a2bcb0 client: vgui: don't fail if client path not given 2020-09-03 19:22:22 +03:00
09ae961221 remove platform-specific macros 2020-08-24 21:22:02 +03:00
d015e97eae engine: client: m_rawinput support on windows 2020-08-24 21:22:02 +03:00
b4aecfbf23 engine: move some input code 2020-08-24 21:22:02 +03:00
lewa_j
df7f8259a1 mainui: update 2020-08-24 20:27:08 +03:00
Alexey
fff71e449e Fix android travis build again 2020-08-24 19:08:38 +03:00
d4003f9527 crashhandler: fix build 2020-08-23 20:33:17 +03:00
9acd2f5d22 waf: upgrade waf 2020-08-23 19:02:15 +03:00
d30605c09f engine: fixes for dedicated 2020-08-23 19:02:15 +03:00
9ff6d44178 crashhandler: remove unknown arch error 2020-08-23 19:02:15 +03:00
90b163dc1d waf: add more ignored files 2020-08-23 19:02:15 +03:00
2d97126baf defaults: if no crashhandler was defined, fallback to null 2020-08-23 19:02:15 +03:00
3f3160e220
readme: remove archlinux package, it's outdated and there is no one to update it 2020-08-14 15:58:23 +03:00
065811cc46 engine: common: filesystem.c: do not load zip-archives with zip extension as bullet proof. 2020-07-27 18:59:50 +03:00
e69956c9ea engine: common: imagelib: img_png.c: set IMAGE_HAS_ALPHA flag only for RGBA images. 2020-07-22 14:37:40 +03:00
e96271a8a9 platform/android: make host.state actual in Android_UpdateSurface call 2020-07-12 05:16:08 +07:00
f0c9aa1585 vid_android: workaround small output buffer 2020-07-10 09:51:00 +07:00
ce269f8c6d ref_soft/glblit: fix wrong MapBuffer function in GLES3 2020-07-10 09:49:13 +07:00