Commit graph

4041 commits

Author SHA1 Message Date
Andrei Alexeyev
1a2c4bc21a
stage4: make vlad's army slightly less unfair
it still sucks ass
2023-08-24 15:54:18 +02:00
Andrei Alexeyev
9cfbbb27c9
progress: zstd-compress and write with new filename
Old uncompressed progress.dat will be loaded if progress.zst is not
found. The reason for this change is that progress files are much larger
now, and taisei <1.4 had a stupid 4kb size limit for them. Older
versions of taisei would refuse to load the new large file at all,
resulting in possible data loss in case multiple versions are installed.
2023-08-24 14:30:41 +02:00
Andrei Alexeyev
a952fb1426
progress: track per-plrmode stage stats 2023-08-24 14:30:41 +02:00
Andrei Alexeyev
efb234284d
progress: actually change hiscore to uint64_t 2023-08-22 20:07:22 +02:00
Andrei Alexeyev
8cc0e568bf
transition: fix post-credits transition 2023-08-21 17:29:33 +02:00
Andrei Alexeyev
9e857e0229
stage3: firefly_storm: add missing sound 2023-08-20 16:13:35 +02:00
Andrei Alexeyev
d1f8ae883a
stage3: replace night ignite with a new spell card 2023-08-20 16:04:46 +02:00
Andrei Alexeyev
323183061b
common_tasks: add RADIAL_LOOP helper macro
Helps with writing radially symmetrical patterns.

Replace this:

	int cnt = 69;
	cmplx dir = initial_dir;
	cmplx turn = cdir(M_TAU/cnt);
	for(int = 0; i < cnt; ++i, dir *= turn) {
		pew_pew(dir);
	}

with this:

	RADIAL_LOOP(l, 69, initial_dir) {
		pew_pew(l.dir);
	}
2023-08-20 15:48:51 +02:00
Andrei Alexeyev
bc1267f0e8
projectile: fix .prevpos being set incorrectly
This broke collision lerping, and automatic angle calculation in cases
where position is influenced by external tasks. A stage 2 pattern seems
to have relied on this broken behavior, and was also fixed.
2023-08-17 01:28:29 +02:00
Andrei Alexeyev
070768863f
external: update gamecontrollerdb 2023-08-05 02:35:44 +02:00
laochailan
d428063023
stage4: make animate wall more wally 2023-08-05 02:17:16 +02:00
laochailan
78836e6ca8
stage4: center hex fairy lattice 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
c8301a8428
build: update shaderc wrap to 2023.5 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
0bc32ccafa
build: update glslang wrap to 12.3.1 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
4f4c9ecb7e
build: update SPIRV-Tools wrap to 2023.2 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
df26634249
build: update SPIRV-Headers wrap to sdk-1.3.250.1 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
898a10566f
build: update SPIRV-Cross wrap to 1.3.250.1 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
66a146e3e7
build: update libzip wrap to 1.10.0 2023-08-05 02:17:16 +02:00
Andrei Alexeyev
ac6eb852e3
build: update libwebp wrap to 1.3.1 2023-07-31 03:59:55 +02:00
Andrei Alexeyev
338b4f002d
build: update libzstd wrap to 1.5.4 2023-07-31 03:51:43 +02:00
Andrei Alexeyev
e8a361f23a
build: update zlib wrap to 1.2.13 2023-07-31 03:39:29 +02:00
Andrei Alexeyev
8ac88e0ee3
build: update opus wrap to 1.4 2023-07-31 03:32:48 +02:00
Andrei Alexeyev
7259d3fb6c
build: update ogg wrap to 1.3.5 2023-07-31 03:26:59 +02:00
Andrei Alexeyev
3130fb7161
build: update libpng wrap to 1.6.40 2023-07-31 03:11:44 +02:00
Andrei Alexeyev
cbadf904fd
build: update freetype wrap to 2.13.1 2023-07-31 03:07:01 +02:00
Andrei Alexeyev
9c968ba088
build: update cglm wrap to 0.9.0 2023-07-31 02:52:43 +02:00
Andrei Alexeyev
153b1ab702
progress: increase file size limit 2023-07-30 06:24:32 +02:00
Andrei Alexeyev
b26e3b8d24
stagedraw: fix stage_draw_hud_score() signature 2023-07-30 06:22:14 +02:00
Andrei Alexeyev
296e330dae
progress: make hiscore 64-bit 2023-07-30 06:21:18 +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
42cbdc7005
progress: move private definitions out of the header 2023-07-30 03:14:50 +02:00
Andrei Alexeyev
6cc8bf2d47
gl33: shut up -Wunreachable-code on emscripten builds 2023-07-30 03:01:58 +02:00
Andrei Alexeyev
6c59612a6a
ci: update emscripten to 3.1.44 2023-07-29 04:19:55 +02:00
Andrei Alexeyev
4f6e1cf01a
ci: make machine files a bit DRYer 2023-07-29 04:16:08 +02:00
Andrei Alexeyev
651a113009
build: update sdl2 to 2.28.1 2023-07-29 03:25:38 +02:00
Andrei Alexeyev
dfc3b22d2e
resources: enhance sprite_bullet shader 2023-07-17 00:58:14 +02:00
Andrei Alexeyev
b57445900f
gamepad: overhaul analog stick handling
* Use correctly scaled radial deadzones instead of naive per-axis
  deadzones
* Option to adjust the "maximum zone" (upper deadzone)
* Option to remap square input into circular. Unfortunately there's no
  nice way to detect which type the controller reports. We assume
  circular by default.
* A more sensible sensitivity setting
* Use a larger minimum deadzone when emulating key presses (e.g. in
  menus)
* Adjusted key repeat to be less aggressive
2023-07-12 00:13:19 +02:00
Andrei Alexeyev
115948857e
item: always collect at full value during power surge 2023-07-11 16:50:05 +02:00
Alice D
8cd5db7f3b
misc: add new square macos icon
thank you to doremy on discord for the inspiration
2023-07-11 12:58:12 +02:00
Andrei Alexeyev
6f5f419c24
cutscenes: unlock bgm on enter 2023-06-26 09:07:47 +02:00
Andrei Alexeyev
e49c20d172
resources: add intro bgm 2023-06-26 09:02:46 +02:00
Andrei Alexeyev
a104c10691
menu/options: make it possible to exit text input with gamepad 2023-06-23 11:09:17 +02:00
Andrei Alexeyev
9564c20ed9
video: retarded broken-ass braindead piece of shit garbage 2023-06-23 10:58:28 +02:00
Andrei Alexeyev
f8adda39be
video: update scaling factor after resize
On wayland the scaling factor doesn't seem to be initialized correctly,
as we get a different framebuffer size from what was requested
initially, followed by a resize event with the correct size.
2023-06-23 10:58:28 +02:00
Andrei Alexeyev
f90c460af1
menu/options: very scuffed "reset to default" option 2023-06-23 10:58:28 +02:00
Andrei Alexeyev
5b0af506d7
config: fix config_reset() 2023-06-23 10:58:28 +02:00
Andrei Alexeyev
e20218837c
resources: add some demos for DoKomi 2023-06-22 08:14:34 +02:00
Andrei Alexeyev
a9ccc5a91f
replay/demoplayer: reduce inter-demo wait time 2023-06-22 08:04:51 +02:00
Andrei Alexeyev
2011d240c9
build: shut up -Wshadow
More annoying than it is useful
2023-06-20 05:44:11 +02:00
Andrei Alexeyev
f9039fac86
build: shut up -Wdeclaration-after-statement
I can't figure out why clang 17 gives us this warning, as we're
targeting GNU C11
2023-06-20 05:41:22 +02:00