Commit graph

2793 commits

Author SHA1 Message Date
Andrei Alexeyev
4aa6ba5b3f
Extra stage background prototype 2020-03-04 22:26:50 +02:00
Andrei Alexeyev
e3d5518e9b
Remove coroutine finalizers 2020-03-04 22:26:50 +02:00
Andrei Alexeyev
129566d543
Remove some old unused coroutine macros 2020-03-04 22:26:49 +02:00
Andrei Alexeyev
34c31b6bd1
temp fix for stage 5 midboss section 2020-03-04 22:26:49 +02:00
Andrei Alexeyev
4bfe8fccbb
Make coroutine stack usage tracking compatible with ASan 2020-03-04 22:26:49 +02:00
Andrei Alexeyev
f0c1dd8dde
update koishi 2020-03-04 22:26:49 +02:00
Andrei Alexeyev
260b29d4ee
Track peak coroutine stack usage (approximate)
Also reduced CO_TASK_SIZE back to 64kb
2020-03-04 22:26:49 +02:00
Andrei Alexeyev
57182994c1
cont. coroutinizing ReimuB; gapping works properly now 2020-03-04 22:26:49 +02:00
Andrei Alexeyev
d756790b6e
show num. of context swiches/frame in coroutine stats 2020-03-04 22:26:48 +02:00
Andrei Alexeyev
fb99199856
convert reimu_dream_needle into a task (test) 2020-03-04 22:26:48 +02:00
Andrei Alexeyev
77a65432d6
fix remaining deprecations (except in legacy stages) 2020-03-04 22:26:48 +02:00
Andrei Alexeyev
d362ec2ac9
'modernize' youmu_particle_slice_draw 2020-03-04 22:26:48 +02:00
Andrei Alexeyev
9fd9dfcf94
fix some trivial deprecations 2020-03-04 22:26:48 +02:00
Andrei Alexeyev
a1177bb817
remove DeathShrink 2020-03-04 22:26:47 +02:00
Andrei Alexeyev
80f3728390
clean up some dead code 2020-03-04 22:26:47 +02:00
Andrei Alexeyev
2647c25c4a
fix and tweak player death effect 2020-03-04 22:26:47 +02:00
Andrei Alexeyev
17f6f159c1
replace remaining GrowFade usage in non-stage code 2020-03-04 22:26:47 +02:00
Andrei Alexeyev
7f91a4664d
fix MarisaA laser flares 2020-03-04 22:26:47 +02:00
Andrei Alexeyev
c73b05bdd1
Make animation_get_frame never return transient sprites
Animations now store flipped copies of frames as needed.
2020-03-04 22:26:47 +02:00
Andrei Alexeyev
be5ee1900d
replace remaining Fade usage in non-stage code 2020-03-04 22:26:46 +02:00
Andrei Alexeyev
cfbc697936
replace remaining Shrink usage in non-stage code 2020-03-04 22:26:46 +02:00
Andrei Alexeyev
215cbe7a75
Get rid of youmu_common_draw_proj
continuing unraveling the youmu draw code spaghetti
2020-03-04 22:26:46 +02:00
Andrei Alexeyev
0b9c5e967b
emscripten: move all JS code out of the html 2020-03-04 22:26:46 +02:00
Andrei Alexeyev
d3ed5ca274
emscripten: build with STRICT=1; use closure in release builds 2020-03-04 22:26:46 +02:00
Andrei Alexeyev
3259a844fa
new bullet clear effect 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
4182078d93
shut up deprecation warnings from outdated stages 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
3d1c0eee4e
WIP proj draw rule revamp; YoumuB revamp; misc changes; giant mess
cursed commit
2020-03-04 22:26:45 +02:00
Andrei Alexeyev
5c6b7671ef
fixup some post-rebase chaos 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
75744681ed
update koishi 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
c19922bd1d
Upgrade several files to new RNG API 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
9868fbcaa4
display number of active/allocated tasks 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
1e577f5907
stage1: tweak boss appearance time 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
23636c4ace
pimp up stage1 background 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
229fe032b5
'finish' stage 1 part 2 (lunatic) 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
d118204a2e
fix regression: subtasks not immediatelly cancelled after parent dies 2020-03-04 22:26:43 +02:00
Andrei Alexeyev
d7579606a3
use new RNG api in player.c 2020-03-04 22:26:43 +02:00
Andrei Alexeyev
b685379245
ignore -Wdeprecated-declarations in impl. of deprecated RNG api 2020-03-04 22:26:43 +02:00
Andrei Alexeyev
dc8ecc0dc7
use new RNG api in boss.c, enemy.c, item.c 2020-03-04 22:26:43 +02:00
Andrei Alexeyev
3268a7ae04
Switch koishi back to master branch
It was switched to emscripten-fibers accidentally
2020-03-04 22:26:43 +02:00
Andrei Alexeyev
de5b821010
Experimental coroutine waiting optimization (WIP)
Avoids unnecessary back and forth context switches when waiting for a
delay or an event. Should be helpful for Emscripten, but needs
benchmarking.
2020-03-04 22:26:43 +02:00
Andrei Alexeyev
3725e3184a
fix error: initializer element is not a compile-time constant 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
afd9d492dc
more verbose coroutine debugging output 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
b010bf05c7
update koishi 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
1f1db18076
New RNG API, with crude semi-automatic misuse detection 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
753858b968
Emscripten compat fixups 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
3dea6535fb
fix double_to_bits (copypaste fail) 2020-03-04 22:26:41 +02:00
Andrei Alexeyev
35c1a90912
RNG improvements (replay-breaking) 2020-03-04 22:26:41 +02:00
Andrei Alexeyev
14a2d50edf
stage1: improve post-midboss filler 2020-03-04 22:26:41 +02:00
laochailan
738ef7eca5
port second half of stage 1 till boss 2020-03-04 22:26:41 +02:00
Andrei Alexeyev
3f2cf9104c
fix non-pch build 2020-03-04 22:26:41 +02:00