Commit graph

37 commits

Author SHA1 Message Date
Andrei Alexeyev
8b37d1cbf2
src: the great #include massacre of 2024 2024-05-17 14:11:48 +02:00
Andrei Alexeyev
be7905d6a3
src: run upkeep 2024-05-17 04:58:47 +02:00
Andrei Alexeyev
8f8ca2beca
all: use min/max macros; avoid some unnecessary conversions 2023-09-28 17:43:14 +02:00
Andrei Alexeyev
c2810e228d
all: use re()/im() macros 2023-09-28 17:43:14 +02:00
Andrei Alexeyev
bd361067df
headers: isolate endings, remove stage.h inc. from plrmodes.h, fix resulting mess 2023-07-30 06:16:17 +02:00
Andrei Alexeyev
b233afaaa6
common_tasks: fix gcc warnings 2023-05-26 01:41:41 +02:00
Andrei Alexeyev
bffe79281c
common_tasks: add common_play_sfx 2023-05-25 04:46:16 +02:00
Andrei Alexeyev
bebf0bdb77
common_tasks: fix move_towards deprecation warnings 2023-02-27 07:09:43 +01:00
Lukas Weber
efa8e0b126
stage6: port to coroutine system (WIP)
Closes #323

Mostly faithful to the original with a few changes. Needs a design
iteration.

Squashed commit of the following:

commit 17232ad797
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 07:14:12 2023 +0100

    stage6: fix uninitialized variable

commit 46f7345d00
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 06:57:10 2023 +0100

    stage6: fix warnings

commit 2c5ebc1f6c
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 06:49:07 2023 +0100

    stage6: fix ricci grace period

commit f43e1069d5
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 06:48:56 2023 +0100

    stage6: formatting (ricci)

commit d6c21a7e45
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 06:38:41 2023 +0100

    stage6: remove dead code

commit 8cc8bc3358
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 06:38:27 2023 +0100

    stage6: fix spell practice background

commit 555feafccf
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 01:59:43 2023 +0100

    stage6: adjust elly's pre-ToE movement

commit c0e71ccf92
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 01:55:58 2023 +0100

    stage6: enable pre-ToE dialogue

commit 0902897b5a
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 01:24:49 2023 +0100

    stage6: fix spell practice

commit b4bd0c5902
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Mon Feb 6 01:24:33 2023 +0100

    stage6: fix broglie issues

commit 115c90273f
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sun Feb 5 03:49:00 2023 +0100

    stage6: formatting

commit f0b564a290
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sun Feb 5 03:47:16 2023 +0100

    stage6: fix a bunch of scythe-related issues

commit 8fcfb57080
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sun Feb 5 03:47:46 2023 +0100

    stage6: define MAX_BARYON_PARTICLES

commit ff68532f9f
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sat Feb 4 07:00:50 2023 +0100

    stage6: reset baryon target pos after attack

commit bb49d60a79
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sat Feb 4 06:32:55 2023 +0100

    stage6: more optimal draw order for baryon effect

commit 3230d378c1
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sat Feb 4 06:19:00 2023 +0100

    stage6: port baryon background effect

commit bf3df74eda
Author: Andrei Alexeyev <akari@taisei-project.org>
Date:   Sat Feb 4 04:35:49 2023 +0100

    stage6: fix scythe and baryon visuals not spinning

commit 2492711a00
Author: Alice D <alice@starwitch.productions>
Date:   Sat Feb 12 18:38:55 2022 -0500

    fix merge and compile issues, make stage end correctly

commit 4b04855932
Author: laochailan <laochailan@web.de>
Date:   Sat Sep 25 08:40:47 2021 +0200

    kepler: remove shadowing

commit 657345cce6
Author: laochailan <laochailan@web.de>
Date:   Sat Sep 25 08:39:24 2021 +0200

    move and rename scythe_nonspell_common task

commit 6a58fea718
Author: laochailan <laochailan@web.de>
Date:   Sat Sep 25 08:34:33 2021 +0200

    solve strange bug

commit 54df567170
Author: laochailan <laochailan@web.de>
Date:   Sat Sep 25 08:21:36 2021 +0200

    trigger weird bug in collision code by accident

commit 0bd3ceb9ac
Author: laochailan <laochailan@web.de>
Date:   Sat Sep 25 08:06:08 2021 +0200

    scythe and baryon logic loose ends

commit b4596a773e
Author: laochailan <laochailan@web.de>
Date:   Fri Sep 24 18:01:45 2021 +0200

    toe port

commit bc9137393c
Author: laochailan <laochailan@web.de>
Date:   Fri Sep 24 16:23:29 2021 +0200

    wip toe port: pretty much all but the lasers

commit 60fd678d63
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 20:37:32 2021 +0200

    wip toe port (only top level)

commit e14a35ed05
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 17:04:18 2021 +0200

    forgotten port

commit 0cb56aee4c
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 14:34:51 2021 +0200

    baryons_explode port

commit c589a79bbf
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 09:04:01 2021 +0200

    nonspell 5 port

commit aac688112f
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 08:46:27 2021 +0200

    ricci: remove obsolete commandments

commit 146d591b4c
Author: laochailan <laochailan@web.de>
Date:   Thu Sep 23 08:43:29 2021 +0200

    lhc port

commit 2146ca342d
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 22:00:39 2021 +0200

    broglie: implement Akari comments

commit 0222c67f60
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 20:24:58 2021 +0200

    make ricci thicc

commit a04f122e99
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 20:12:13 2021 +0200

    fix ricci timing and improve laser looks

commit d3330ecd21
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 18:19:29 2021 +0200

    wip: ricci but timing still wrong

commit 6c2129607a
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 16:53:42 2021 +0200

    wip: ricci

commit 96d6e4499c
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 16:53:09 2021 +0200

    make circle laser turn speed rad/frame

commit d943e7ab88
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 16:52:27 2021 +0200

    remove smoothreclamp

commit 7fbcd8fb43
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 12:17:36 2021 +0200

    remove unused code

commit a6c8979107
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 22 12:16:06 2021 +0200

    modernize broglie sign

commit 278bd104d3
Author: laochailan <laochailan@web.de>
Date:   Wed Sep 1 19:54:00 2021 +0200

    first baryon non

commit 20a7193de3
Author: laochailan <laochailan@web.de>
Date:   Tue Aug 31 22:03:54 2021 +0200

    elly eigenstate

commit c64ae7c792
Author: laochailan <laochailan@web.de>
Date:   Sat Aug 28 21:52:09 2021 +0200

    elly until baryons spawn

commit 3d1a1eae9c
Author: laochailan <laochailan@web.de>
Date:   Sun Aug 22 14:54:02 2021 +0200

    add double version of common_easing_animate

commit 16e6d51851
Author: laochailan <laochailan@web.de>
Date:   Sat Aug 7 21:52:58 2021 +0200

    kepler sign + tweaks

commit c460627e41
Author: laochailan <laochailan@web.de>
Date:   Thu Aug 5 20:31:15 2021 +0200

    newton difficulty scaling

commit be97924a53
Author: laochailan <laochailan@web.de>
Date:   Wed Aug 4 22:06:30 2021 +0200

    newton sign redesign

commit 20a4f3b4c7
Author: laochailan <laochailan@web.de>
Date:   Mon Aug 2 08:51:36 2021 +0200

    first elly non wip

commit a2a5fb6ada
Author: laochailan <laochailan@web.de>
Date:   Mon Jul 26 20:23:09 2021 +0200

    scythe wip

commit ae0eeec1ad
Author: laochailan <laochailan@web.de>
Date:   Mon Jul 26 18:16:59 2021 +0200

    scythe wip

commit f215d330d9
Author: laochailan <laochailan@web.de>
Date:   Fri Jul 23 22:18:51 2021 +0200

    wip entity scythe

commit 66ccf18c63
Author: laochailan <laochailan@web.de>
Date:   Sun May 9 14:33:02 2021 +0200

    wip spawn elly

commit c947f0c3f9
Author: laochailan <laochailan@web.de>
Date:   Thu May 6 07:30:53 2021 +0200

    modernize scythe mid

commit bfae46ed24
Author: laochailan <laochailan@web.de>
Date:   Sun May 2 18:15:45 2021 +0200

    more or less port flowermine fairy

commit 98370ed44b
Author: laochailan <laochailan@web.de>
Date:   Sun May 2 15:42:49 2021 +0200

    modernized side fairy

commit ece28c70f0
Author: laochailan <laochailan@web.de>
Date:   Sun May 2 15:14:08 2021 +0200

    modernize hacker fairy

Co-authored-by: Andrei Alexeyev <akari@taisei-project.org>
Co-authored-by: Alice D <alice@starwitch.productions>
2023-02-06 07:41:10 +01:00
Andrei Alexeyev
211c197f30
item,common_tasks: fix off-by-one error in ItemCounts
lives weren't accounted for in the array view
2023-01-31 04:15:51 +01:00
Andrei Alexeyev
b746738c5c
common_tasks: add common_rotate_velocity 2022-09-24 04:11:32 +02:00
Andrei Alexeyev
ffb005c8c6
common_tasks: respect overbright colors in common_charge 2022-09-13 17:08:56 +02:00
Andrei Alexeyev
3ccc0273a9
common_tasks: fix common_easing_animate_vec4 2021-11-24 09:36:41 +02:00
Andrei Alexeyev
3e6abaa478
common_tasks: fix deprecations 2021-10-29 16:37:27 +03:00
Andrei Alexeyev
a6caa9cf7c
common_tasks: add vec3 and vec4 versions of common_easing_animate 2021-10-25 14:03:57 +03:00
Andrei Alexeyev
c1f36bf0a5
common_tasks: fix common_easing_animate
Make it actually arrive at the target value
2021-06-23 05:30:43 +03:00
laochailan
d724d7d997
move easing_animate to common tasks 2021-06-19 02:28:19 +03:00
Andrei Alexeyev
937aabacf2
enemy_classes: only drop items when killed by player 2021-05-06 21:31:56 +03:00
Andrei Alexeyev
086e27e8da
common_charge: interrupt charge-up sound if task ends prematurely 2021-01-22 18:26:39 +02:00
Andrei Alexeyev
48f0a21e81
Stage 2 revamp (#229)
* stage2: remake wriggle non

* stage2: coroutinize first enemy

* stage2: coroutinize small_spin_circle (renamed redwall_fairy)

* stage2: remake aimshot fairies

* stage2: remove dead code

* stage2: blind-coroutinize flea-shooting fairy; not tested at all

* stage2: some hina nonspell shenanigans

* stage2: coroutinize amulet of harm (very lazily)

* stage2: lame hina nons (no balance)

* stage2: remake wheel of fortune (lunatic tuning only for now)

* stage2: Add raz's Hina nonspell

* coroutinize bad pick

* bad pick tweaks

* coroutinize and remake Monty Hall Danmaku

* stage2: coroutinize turning fairies

* it's big brain time

* look ma, i'm doing level design!

* stage2 second half (WIP)

* stage2: use new enemy spawners

* stage2: remove dead code

* stage2: fix post-midboss turning fairies

* stage2: swap post-midboss red/blue aimshot fairies order

* stage2: amulet of harm redesign prototype

* Amulet of Harm tweaks:

	* Less erratic boss movement
	* Improved "amulet" visuals

* stage2: very bare-bones difficulty scaling (enemies only)

* stage2: wheel of fortune balance tweaks

* stage2: amulet of harm difficulty balancing

* stage2: add hina spin animation to amulet of harm

* stage2: remove dead code
2020-12-01 19:25:00 +02:00
Andrei Alexeyev
8e9363cbca
Dither, downscale, and merge atlas/gray16 into atlas/common 2020-11-05 16:41:54 +02:00
Andrei Alexeyev
cecedbb740
common_tasks: charge effect visual tweaks 2020-11-04 17:59:43 +02:00
Andrei Alexeyev
2bc7d52369
Add a simpler synchronous interface to common_charge 2020-09-30 03:44:58 +03:00
Andrei Alexeyev
fdc00bb906
Improve charge effect appearance 2020-09-29 20:45:11 +03:00
Andrei Alexeyev
8480d41b7b
Audio rewrite (#236)
This replaces SDL_mixer with an internal streaming and mixing system,
relying only on basic SDL audio support. It's also a partial refactor of
the audio API, most notably BGM-related. The BGM metadata resource type
is gone, as well as the `.bgm` files. The metadata is now stored inside
the `.opus` files directly, using standard Opus tags.
2020-06-22 17:41:03 +03:00
Andrei Alexeyev
45a4283225
use custom ents for Reimu; cleanup Marisa; etc. 2020-04-06 04:34:55 +03:00
Andrei Alexeyev
a9604b1109
some sprite batching optimizations 2020-03-05 21:14:31 +02:00
Andrei Alexeyev
c7572d8e32
better sound effects for common_charge 2020-03-04 22:26:55 +02:00
Andrei Alexeyev
cd6004dde0
some WIP charge effects 2020-03-04 22:26:54 +02:00
Andrei Alexeyev
fb19028ed5
New dialogue system powered by coroutines 2020-03-04 22:26:50 +02:00
Andrei Alexeyev
5c6b7671ef
fixup some post-rebase chaos 2020-03-04 22:26:45 +02:00
Andrei Alexeyev
23636c4ace
pimp up stage1 background 2020-03-04 22:26:44 +02:00
Andrei Alexeyev
1f1db18076
New RNG API, with crude semi-automatic misuse detection 2020-03-04 22:26:42 +02:00
Andrei Alexeyev
490b224bd7
run upkeep 2020-03-04 22:06:39 +02:00
Andrei Alexeyev
1ddea7ab97
random wandering function 2020-03-04 22:06:38 +02:00
Andrei Alexeyev
9498e64dd1
further task-boss infrastructure WIP 2020-03-04 22:06:38 +02:00
Andrei Alexeyev
156d8147b1
Add a way to define extern tasks (to reference across files) 2020-03-04 21:50:51 +02:00