Commit graph

3643 commits

Author SHA1 Message Date
Andrei Alexeyev
e957f11790
thread: add over-engineered wrapper for thread management 2023-03-29 20:47:27 +02:00
Andrei Alexeyev
427d2ca32c
ci: trigger on *.m (objc) sources too 2023-03-29 19:31:26 +02:00
Andrei Alexeyev
3c0a538ae6
ci: run tests on staging branches 2023-03-28 23:09:02 +02:00
Andrei Alexeyev
beae2e0302
util/assert: fix static_assert 2023-03-26 14:06:05 +02:00
Andrei Alexeyev
ff532b0f33
taskmanager: introduce TAISEI_TASKMGR_NUM_THREADS env variable
Controls the number of worker threads spawned by the global task
manager. 0 for default (equal to number of CPU cores), -1 for max
(capped to number of CPU cores * 4)
2023-03-26 03:27:20 +02:00
Andrei Alexeyev
ce7159d630
resource: fix incorrect assumption in threaded loading 2023-03-26 03:26:19 +02:00
Andrei Alexeyev
15bdbc496b
util/compat: include assert(0) in UNREACHABLE macro
Stop overriding it in log.h
2023-03-26 03:14:07 +02:00
Andrei Alexeyev
6c30decd8e
util/miscmath: don't check for __GNUC__ 2023-03-26 03:12:01 +02:00
Andrei Alexeyev
277e003510
util/assert: don't check for __GNUC__ 2023-03-26 03:10:16 +02:00
Andrei Alexeyev
9363c6b883
util/compat: don't check for __GNUC__ 2023-03-26 03:08:33 +02:00
Andrei Alexeyev
711edc218f
util/assert: add optional message to assert, assume, and static_assert
Removed static_assert_nomsg, since static_assert's message argument is
optional now. In C2X mode this uses the native _Static_assert
functionality, otherwise it falls back to a macro-based overload.

Additionally, rewrote the assert macro so it correctly marks the failing
branch as a dead end.
2023-03-26 01:52:41 +01:00
Andrei Alexeyev
7c19322940
log: flush buffers after assert failure 2023-03-26 01:07:17 +01:00
Andrei Alexeyev
efe8370845
resource: add loading debug prints (disabled by default) 2023-03-26 01:04:42 +01:00
Andrei Alexeyev
77dc94bb71
menu,renderer,vfs: fix -Wcast-function-type-strict on clang 16 2023-03-22 22:38:52 +01:00
Andrei Alexeyev
8b4c440bc9
stage4: merge fog and tonemap passes 2023-03-17 02:54:50 +01:00
Andrei Alexeyev
50e571e39a
shader: optimize and enhance water effects 2023-03-17 02:50:16 +01:00
Andrei Alexeyev
b0e0041015
stage6: fix -Wmaybe-uninitialized 2023-03-12 17:26:17 +01:00
Andrei Alexeyev
c10cab4776
plrmodes/reimu_b: fix -Wmaybe-uninitialized 2023-03-12 17:20:25 +01:00
Andrei Alexeyev
7bf8e84fd6
resource/postprocess: fix -Wenum-int-mismatch 2023-03-12 17:19:02 +01:00
Andrei Alexeyev
1c0c5ec336
stage1: fix -Wmaybe-uninitialized 2023-03-12 17:17:41 +01:00
Andrei Alexeyev
de7cf50441
stage6: experimental newton redesign 2023-03-12 17:08:43 +01:00
Andrei Alexeyev
7104d951a2
stage6: spin kepler main bullets; draw with half-add blending 2023-03-12 14:46:39 +01:00
Andrei Alexeyev
bde29889c4
stage6: don't stall kepler scythe task 2023-03-12 14:44:16 +01:00
Andrei Alexeyev
7590e3a89f
stage6: kepler formatting 2023-03-12 14:42:32 +01:00
Andrei Alexeyev
a07d3cb01a
stage6: fix small issue with kepler bullet spawner
sub-bullets spawned at 0,0 if the main bullet is dead
2023-03-12 14:40:55 +01:00
Andrei Alexeyev
55e3ac9140
stage6: fix warning 2023-03-06 07:45:32 +01:00
Andrei Alexeyev
0f41d6961a
stage6: fix broglie aim 2023-03-06 07:29:59 +01:00
Andrei Alexeyev
51caf2c790
stage6: cooler broglie charge effect 2023-03-06 07:25:32 +01:00
Andrei Alexeyev
17e7cad101
stage6: fix ToE particles 2023-03-06 06:20:46 +01:00
Andrei Alexeyev
ae9a5494c5
stage6: wallmakers, scythe adjustments 2023-03-06 06:15:30 +01:00
Andrei Alexeyev
090720fff8
stage6: fix elly appearance 2023-03-06 06:00:51 +01:00
Andrei Alexeyev
e45bb690e1
stage6: tweak flowermines slightly 2023-03-03 05:59:36 +01:00
Andrei Alexeyev
142d4e2519
stage6: flowermine section extension + sniper fairies 2023-03-03 05:44:41 +01:00
Andrei Alexeyev
9ab3c3e7e6
stage6: tweak opening sequence 2023-03-03 05:44:40 +01:00
Andrei Alexeyev
dee7a1520b
stage4: implement scythe 2023-02-28 08:15:29 +01:00
Andrei Alexeyev
1d455c5da9
stage6: scale scythe particles 2023-02-28 08:14:33 +01:00
Andrei Alexeyev
f3935b4b67
stage6: add opacity property to EllyScythe 2023-02-28 07:55:54 +01:00
Andrei Alexeyev
4234a4cdf2
stage6: fix move_towards deprecation warnings 2023-02-27 07:11:22 +01:00
Andrei Alexeyev
c0b742a954
stage5: fix move_towards deprecation warnings 2023-02-27 07:11:13 +01:00
Andrei Alexeyev
8a36360965
stage4: fix move_towards deprecation warnings 2023-02-27 07:11:04 +01:00
Andrei Alexeyev
a673af25f2
stage3: fix move_towards deprecation warnings 2023-02-27 07:10:57 +01:00
Andrei Alexeyev
b43fcde1ce
stage2: fix move_towards deprecation warnings 2023-02-27 07:10:47 +01:00
Andrei Alexeyev
7544566aaa
stage1: fix move_towards deprecation warnings 2023-02-27 07:10:39 +01:00
Andrei Alexeyev
de6c53d56b
stages/dpstest: fix move_towards deprecation warnings 2023-02-27 07:10:29 +01:00
Andrei Alexeyev
74c439fa83
plrmodes/reimu_a: fix move_towards deprecation warnings 2023-02-27 07:10:17 +01:00
Andrei Alexeyev
27dd644791
player: fix move_towards deprecation warnings 2023-02-27 07:10:02 +01:00
Andrei Alexeyev
98242db7c0
enemy_classes: fix move_towards deprecation warnings 2023-02-27 07:09:52 +01:00
Andrei Alexeyev
bebf0bdb77
common_tasks: fix move_towards deprecation warnings 2023-02-27 07:09:43 +01:00
Andrei Alexeyev
caf7dd2cba
boss: fix move_towards deprecation warnings 2023-02-27 07:09:06 +01:00
Andrei Alexeyev
556f5b6667
move: add move_from_towards_exp 2023-02-27 07:08:11 +01:00