Commit graph

2636 commits

Author SHA1 Message Date
Andrei Alexeyev
a84f7c8629
fix video viewport not being updated after leaving fullscreen 2019-09-11 19:19:44 +03:00
Andrei Alexeyev
28ba4dc955
Make video struct private
Also display actual window size in settings when no known mode is
selected
2019-09-11 18:42:13 +03:00
Andrei Alexeyev
2b58c3515f
glcommon: more robust glsl versions detection 2019-09-10 18:53:46 +03:00
Andrei Alexeyev
0bd00116a1
gl33: fix glObjectLabel called on nonexistent buffer objects 2019-09-10 18:37:17 +03:00
Andrei Alexeyev
445f22cdf7
gl33: add some env variables controlling context creation 2019-09-10 18:36:33 +03:00
Andrei Alexeyev
e68bfdb2ea
workaround for some textures not loading in WebGL 2019-09-10 09:23:35 +03:00
Andrei Alexeyev
241bda0c45
emscripten: pre-init WebGL context; build system fixes
The context can be wrapped via
https://github.com/KhronosGroup/WebGLDeveloperTools for debugging
2019-09-10 04:27:35 +03:00
Andrei Alexeyev
c0d0ca9710
hackish static linking mode for GLES3 (webgl; not really good for anything else) 2019-09-09 04:39:33 +03:00
Andrei Alexeyev
7d5830adcb
emscripten: use name_suffix for the llvm bitcode target 2019-09-08 04:06:07 +03:00
Andrei Alexeyev
a2dda4e83f
disable anisotropy by default 2019-09-08 01:38:53 +03:00
Andrei Alexeyev
4b4036e6a6
update gamecontrollerdb 2019-09-07 05:51:05 +03:00
Andrei Alexeyev
b0140d742e
options: fix first entry having focus when it's disabled 2019-09-07 05:30:46 +03:00
Andrei Alexeyev
3a7dfdd5b0
emscripten: add some GL debugging link flags 2019-09-05 07:43:12 +03:00
Andrei Alexeyev
6fc14c6c2a
Make most bullets smaller; add red channel for glow effects 2019-08-30 21:24:34 +03:00
Andrei Alexeyev
cd244149ed
improve laser rendering, in some cases performance 2019-08-30 02:55:06 +03:00
Andrei Alexeyev
b92fb58da9
fix build on latest emscripten 2019-08-27 01:02:37 +03:00
Andrei Alexeyev
2e9904e83c
New system to manage auto-resized framebuffers 2019-08-25 02:52:39 +03:00
Andrei Alexeyev
5d535bb93c
fix broken interaction of ReimuB gaps with powersurge effect (visual) 2019-08-23 18:29:40 +03:00
Andrei Alexeyev
a6d0327e49
optimize/simplify powersurge effect 2019-08-23 18:29:05 +03:00
Andrei Alexeyev
673df39f7f
optimize Reimu bomb bg 2019-08-23 16:27:16 +03:00
Andrei Alexeyev
31ea0d409c
replace Yukkuri Reimu with Yukkuri Kyouko 2019-08-22 23:00:13 +03:00
Andrei Alexeyev
80fda75ffb
Dialogue updates with dynamic facial expressions and defeated character portraits (#175)
* WIP portrait faces

* character expressions for dialogue in first 3 stages (wip)

* dialog: simplified face system, new faces, script revisions (wip)

* fix wrong face name in reimu script

* cirno angry face; elly beaten variant

* render_character_portrait(): fix garbage bg and filter-bleeding

* workaround for incorrect face blending on dialog fade

* render_character_portrait(): fix bogus debug labels

* Replace sprite offsets with the more powerful paddings

* new faces for youmu, wriggle, kurumi; dialogue updates

* fix release build

* Update portraits; add Iku faces and Elly shouting face

* Add Reimu sigh face and Marisa sweat_smile face

* Add Kurumi dissatisfied face

* update Hina
2019-08-22 22:43:34 +03:00
Andrei Alexeyev
f15270219a
Start v1.4 development 2019-08-20 17:05:55 +03:00
Samuel P
11f3b6701e Switch SDL video modes detection (#174)
* Use SDL driver and video modes detection on Switch

* Don't add windowed modes if always fullscreen
2019-08-17 08:58:55 +03:00
Andrei Alexeyev
00d4bb7b81
fix non-pch build 2019-08-16 03:56:57 +03:00
Andrei Alexeyev
78bfbec122
increase coolness of spellcard_walloftext.frag.glsl 2019-08-15 16:08:51 +03:00
Andrei Alexeyev
7aec3fd56d
optimize spellcard_walloftext.frag.glsl a bit 2019-08-15 16:07:53 +03:00
Andrei Alexeyev
42b0c64851
allow setting sampler uniforms in postprocess files 2019-08-11 00:50:26 +03:00
Andrei Alexeyev
b88fc4ad2e
Support full-screen custom postprocessing
Works just like the viewport one, except the configuration goes in
shaders/global.pp instead. The player uniforms aren't available.
2019-08-09 21:42:04 +03:00
Andrei Alexeyev
2fb8b1672b
gen-atlas: bruteforce the best algo/sort combination 2019-08-09 07:49:22 +03:00
Andrei Alexeyev
692e28c771
remove some dead code 2019-08-04 01:36:00 +03:00
Andrei Alexeyev
10d3e4226b
add attr_returns_allocated for functions that allocate new objects 2019-08-04 01:29:41 +03:00
Andrei Alexeyev
f0dc4ec04a
use INLINE for some more functions 2019-08-03 23:42:58 +03:00
Andrei Alexeyev
9b5c295f0b
remove accidental debug stuff 2019-08-03 21:14:28 +03:00
Andrei Alexeyev
5a23fb95fc
make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
Andrei Alexeyev
b61d1b3254
backport improved assertions from the lua branch 2019-08-03 19:57:02 +03:00
Andrei Alexeyev
583f0dbf26
add INLINE macro for less mouthful static-inline declarations 2019-08-03 19:47:21 +03:00
Andrei Alexeyev
f7b2031e7f
remove attr_designated_init from SpriteParams
It gets in the way more often than it helps
2019-08-03 19:23:08 +03:00
Andrei Alexeyev
557192f75f
fix non-pch build 2019-08-02 22:30:25 +03:00
Samuel P
469d6e2f48 Switch homebrew port (#173)
* Initial port

* Switch specific video modes

* Handle clean exit

* Hide option to disable gamepads, force it enabled

* Match buttons layout with Switch controllers

* Hide player name setting (to avoid getting stuck)

* Switch specific VFS setup instead of env bootstrap

* Clean up, get rid of warnings and a few ifdefs

* Add Switch specific build script and assets

* Make vfs setup mount packages

* Re-enable packaging on Switch

* Transpile shaders to es and install them

* Add applet warning and shader deps to README

* Remove script; instead using meson build scripts

* Strict prototypes

* Build script compat with project minimum meson ver

Refactor of pack.py exclude option

* Uniformise header inclusion on arch_switch.c

* Allow input for any dev; hide the option on Switch

* Silence unsused function warnings
2019-08-02 21:38:33 +03:00
Andrei Alexeyev
c6c83a7c03
Create FUNDING.yml 2019-08-01 00:35:13 +03:00
Andrei Alexeyev
f7e9b1e3f4
backport vfs loadpacks split from android branch 2019-07-29 19:19:20 +03:00
Andrei Alexeyev
0b08607330
enable some safe optimizations 2019-07-22 10:35:21 +03:00
Andrei Alexeyev
9c7813f57a
fix missing ifdef __GNUC__ 2019-07-20 17:25:05 +03:00
Andrei Alexeyev
cf1ab225cb
basic support for portrait faces; make charselect menu more fun 2019-07-08 03:51:15 +03:00
Andrei Alexeyev
0c5e0b3bb4
update year in COPYING 2019-07-03 21:01:48 +03:00
Andrei Alexeyev
3055901998
update my email 2019-07-03 21:00:56 +03:00
Andrei Alexeyev
c2cd91463c
New character art by Afensorm + other visual tweaks (#170)
* implement player spellcard declarations on bomb

* stagedraw: move "bottom text" to a separate (higher) layer

* update boss spell declaration effect

* import afensorm's character portrait art

* improve dialog visuals

* acknowledge afensorm in credits and COPYING

* 'alphamap' functionality; effects for wriggle and youmu portraits

* update afens art

* add cirno alphamap

* dialog: draw active speaker above other other

* charselect: use r_draw_sprite
2019-07-03 20:50:43 +03:00
laochailan
5f6ada9e7e Item indicators (#172)
* indicators indicate indication

* optimize

* preload the right resource

* integrate point indicators into atlas
2019-06-25 07:27:57 +03:00
ailin-nemui
6b8efb4457 Update gamepads unconditionally, once (#169)
* Update gamepads unconditionally, once

The commit of #168 was incomplete in that it did not enable the device by setting active_dev_num

* Set update_needed instead
2019-06-19 21:44:13 +03:00