Commit graph

2590 commits

Author SHA1 Message Date
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
ailin-nemui
48bd6063ad always update gamepad device list at least once (#168) 2019-06-11 03:23:00 +03:00
Andrei Alexeyev
e8ed370509
#undef CMPLX as a compatibility workaround 2019-06-02 20:55:17 +03:00
Andrei Alexeyev
686686d56f
add .editorconfig 2019-05-21 22:23:03 +03:00
Andrei Alexeyev
0a797096ce
emscripten: don't package gamecontrollerdb, it's useless 2019-05-19 20:25:05 +03:00
Andrei Alexeyev
35215c113f
emscripten: force WASM_OBJECT_FILES=0 when lto is enabled
See emscripten-core/emscripten#8574
2019-05-19 20:23:18 +03:00
Andrei Alexeyev
0c24da938a
improve sprite batch state management 2019-05-19 17:39:36 +03:00
Andrei Alexeyev
d2df6fa3f2
update cglm 2019-05-19 15:07:27 +03:00
Andrei Alexeyev
53a9394818
HUD OCD 2019-05-18 23:54:25 +03:00
Andrei Alexeyev
c4c05f1579
fix some text alignment bugs due to improper use of font_get_metrics() 2019-05-18 23:46:39 +03:00
Andrei Alexeyev
19eb6740aa
fix memory use-after-free in MarisaA 2019-05-18 20:57:00 +03:00
Andrei Alexeyev
218fb66ca9
r_draw_sprite: flip intrinsic offset according to .flip params 2019-05-18 20:42:39 +03:00
Andrei Alexeyev
9ecd6d08ae
add support for an intrinsic offset property in sprites 2019-05-18 16:49:39 +03:00
Andrei Alexeyev
c0e8ec8507
gen-atlas: fix sprite override template generation 2019-05-18 14:57:16 +03:00
Andrei Alexeyev
2fec4bfe62
text: fix bboxes, overlay TCs; add "overlay projection" parameter
The "overlay projection" allows specifying a rectangle, in the same
coordinate system as the text position, that will be used instead of the
text's BBox to compute overlay texture coordinates. This is useful to
apply an overlay effect to variably-sized text in a consistent fashion,
without having to rely on RTT.
2019-05-14 12:04:48 +03:00
Andrei Alexeyev
bfb3941cf3
renderer: *slightly* more consistent coordinate system; it's still a god-damn mess though 2019-05-12 10:38:31 +03:00
Andrei Alexeyev
4c0359ecbe
gl33: make the stupid framebuffer swap hack slightly more correct 2019-05-11 21:20:38 +03:00
Andrei Alexeyev
f17c64e3ce
VFS: streamline path separators; only allow /, even on windows
System paths are also normalized properly in more places now
2019-05-11 20:08:15 +03:00
Andrei Alexeyev
e1a7a23e65
remove dead code 2019-05-11 19:26:01 +03:00
Andrei Alexeyev
ff6cf2e234
jump through some hoops for LLVM wasm backend compat 2019-05-11 09:46:48 +03:00
Andrei Alexeyev
b0856ce07d
Switch audio assets to Opus (#167)
* Switch BGMs to Opus

* Switch SFX to Opus; use floating-point mixing

* opus sfx: support resampling via SDL_AudioStream

* bump SDL2 version requirement to 2.0.6

2.0.5 doesn't have the SDL_AudioStream API, and is ancient anyway.
2019-05-11 09:46:26 +03:00
Andrei Alexeyev
219aa34254
fix a rare collision bug in perfect freeze 2019-05-06 13:22:49 +03:00
Andrei Alexeyev
4e4922ad02
fix typo in stage 3 theme title 2019-05-06 13:10:15 +03:00
Martin Herkt
235d5ad40a
sbelling 2019-05-06 11:18:41 +02:00
Andrei Alexeyev
ee924cddf8
emscripten: preload taisei.wasm ahead of time 2019-05-06 12:08:18 +03:00
Andrei Alexeyev
8047ca18ce
improve lossless webp compression 2019-05-06 11:19:03 +03:00
Andrei Alexeyev
b4081c6550
manually optimize some heavy textures w/ lossy compression 2019-05-06 10:04:12 +03:00
Andrei Alexeyev
fb617764df
fix another stack-use-after-scope 2019-05-05 17:01:12 +03:00
Martin Herkt
e5affccdeb
Fixup include order of previous commit
Because @Akaricchi said so.
2019-05-03 23:51:30 +02:00
Martin Herkt
088225ae01
util: Add missing time.h include
Fixes Windows builds.
2019-05-03 23:46:52 +02:00
Andrei Alexeyev
abd334f1d0
fix stack-use-after-scope in stagedraw
fixes #166
2019-05-01 20:55:24 +03:00
Andrei Alexeyev
6baf71e228
don't rely on the "buildtype" option 2019-05-01 08:18:25 +03:00
Andrei Alexeyev
02afb993a2
Define _POSIX_C_SOURCE if compiling for a POSIX-like platform
Do not try to declare random POSIX functions ourselves. Fixes #165
2019-05-01 07:05:39 +03:00
Andrei Alexeyev
dcf6425a04
move SystemTime stuff into a more appropriate place 2019-05-01 07:03:22 +03:00
Andrei Alexeyev
f8ef67224f
🦀🦀 v1.3 IS OUT 🦀🦀 2019-04-27 11:29:36 +03:00
Andrei Alexeyev
e139d5226e
prevent the piece of shit that is NSIS from segfaulting 2019-04-27 11:29:36 +03:00
Andrei Alexeyev
582ee2e5c1
emscripten: remove unnecessary angery and update links 2019-04-27 10:43:43 +03:00
Andrei Alexeyev
9c33e88beb
delay Elly's final dialog slightly
so it appears as the explosion flash disperses
2019-04-27 07:42:39 +03:00
Andrei Alexeyev
f66c071c32
minor clarifications in the controls menus 2019-04-26 23:40:16 +03:00
laochailan
ad011a4d9a
reduce jiggliness in the charselect 2019-04-26 19:26:17 +02:00
laochailan
c4252c434a
kick out abstract_blue (and raise the warmly waiting text) 2019-04-25 18:22:30 +02:00
Andrei Alexeyev
337cc978e7
optimize images 2019-04-25 03:50:58 +03:00
Andrei Alexeyev
5c404d0547
remove references to "full_power" sfx, we don't have it 2019-04-25 02:43:50 +03:00
Andrei Alexeyev
60df9455c5
demote some log warnings 2019-04-25 02:43:18 +03:00
Andrei Alexeyev
a98722d5ec
fix python <3.7 compat 2019-04-25 01:18:29 +03:00
Andrei Alexeyev
1dd1f1a7ea
remove a silly print() 2019-04-25 00:10:52 +03:00
Andrei Alexeyev
62b258e52c
wasted way too much time to add some stupid links to the emscripten shell 2019-04-25 00:08:49 +03:00