Ivan Avdeev
d4c463c507
move swapchain to framectl; make validation errors crash process early
2021-01-18 10:54:48 -08:00
Ivan Avdeev
4d6739da0a
get it to crappily draw 2d ui menus wtf
2021-01-16 17:02:43 -08:00
Ivan Avdeev
5541bfb541
add loading textures
2021-01-16 15:45:10 -08:00
Ivan Avdeev
b9d872f279
increase draw limit; fix deinit validation
2021-01-16 13:49:07 -08:00
Ivan Avdeev
48e6765222
draw uv menu
2021-01-16 13:22:31 -08:00
Ivan Avdeev
e7a99c2558
create command pool and buffer
2021-01-13 12:10:36 -08:00
Ivan Avdeev
5600cf45ef
create pipeline for 2d rendering
2021-01-13 11:54:34 -08:00
Ivan Avdeev
986d26b8b7
create render pass and framebuffers
2021-01-13 09:58:01 -08:00
Ivan Avdeev
c7203d0ecf
create swapchain
2021-01-11 11:15:32 -08:00
Ivan Avdeev
0170f3e408
create vulkan device
2021-01-09 17:14:32 -08:00
Ivan Avdeev
0dcedece06
create vulkan instance; fix instance extension ref api
2021-01-09 16:05:55 -08:00
Ivan Avdeev
fa683fb882
fix vulkan handles width in 32-bit mode; print vk version
2021-01-09 14:05:34 -08:00
Ivan Avdeev
3e800fa989
start splitting into functional blocks; add vk funcs
2021-01-09 13:21:58 -08:00
Ivan Avdeev
ae6ec2e61d
add texture loading stubs; messages for other stubs
...
now it gets to actually trying to paint a menu without crashing
2021-01-04 12:39:09 -08:00
Ivan Avdeev
4a9101cd2a
gitignore: ignore waf and vim/coc files
2021-01-02 17:54:58 -08:00
Ivan Avdeev
5c99bb0979
ref_vk: add initial vulkan render stub
...
It does not work at all, but serves as an exercise to help me figure out
how to make renderers for HL/xash3d.
2021-01-02 17:52:53 -08:00
Gleb Mazovetskiy
3af742f103
in_touch.c: Fix -Wpointer-to-int-cast
2021-01-02 18:01:53 +03:00
Gleb Mazovetskiy
9452a389a5
SDL GameController: Hotplug and multiple gamepads
...
1. Process events from all game controllers.
2. Support controller hotplug.
2021-01-02 18:00:36 +03:00
766ef84af4
engine: ref: try to bruteforce all available renderers if we're failed to load requested one
2021-01-02 17:59:53 +03:00
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
2021-01-02 17:56:58 +03:00
61fe9fd1fe
engine: fix some left shifts on signed integers
2021-01-02 05:01:51 +03:00
Gleb Mazovetskiy
33ba1f25f3
sys_linux.c: Increase buffer size for /proc/self/status
...
Fixes #263
2021-01-02 04:21:01 +03:00
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
2021-01-02 03:43:17 +03:00
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
2020-12-30 14:40:32 +03:00
1332381e2d
engine: server: simplified strings operations.
2020-12-29 20:20:25 +03:00
Gleb Mazovetskiy
7f98998765
ref_gl/gl4es: bump
...
To get this bugfix: 221fa1e67a
2020-12-29 03:25:57 +03:00
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
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.
2020-12-29 00:44:42 +03:00
9e1170fc56
Documentation: add list of non-supported mods.
2020-12-29 00:43:50 +03:00
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