taisei/src
Andrei Alexeyev 71109fd253
transition: more robust handling of "canceled" transitions
Ensure callbacks are always called, but if a transition was overwritten
by another set_transition() call mid-transition, pass a non-NULL
argument as the result. This allows the callback to gracefully cancel
whatever it was meant to do, if needed.
2023-04-07 16:08:50 +02:00
..
audio audio: remove deprecated API 2023-02-24 18:13:08 +01:00
coroutine coroutine/cotask: add cotask_get_name() API 2023-03-30 04:31:22 +02:00
cutscenes transition: use the callchain system for callbacks 2023-04-07 16:08:49 +02:00
dialog dialog/reimu: fix typo 2023-01-13 21:51:39 +01:00
eventloop util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
filewatch memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
lasers stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
memory memory/allocator: add ALLOC_VIA macros 2023-04-03 01:53:36 +02:00
menu transition: more robust handling of "canceled" transitions 2023-04-07 16:08:50 +02:00
pch fix stupid gcc warnings 2021-08-31 23:34:48 +03:00
pixmap util/assert: add optional message to assert, assume, and static_assert 2023-03-26 01:52:41 +01:00
plrmodes plrmodes/reimu_b: fix -Wmaybe-uninitialized 2023-03-12 17:20:25 +01:00
projectile_prototypes
renderer util/assert: add optional message to assert, assume, and static_assert 2023-03-26 01:52:41 +01:00
replay replay: add replay_load_vfspath 2023-04-07 16:08:50 +02:00
resource util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
rwops vfs: refactor VFSNode allocation and handling of backend-specific data 2023-01-20 17:13:46 +01:00
stages stage1: fix stain particles 2023-04-01 05:45:38 +02:00
util util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
vfs util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
aniplayer.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
aniplayer.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
arch_switch.c build,ci: Build system maintenance (#350) 2022-12-28 23:15:55 +01:00
arch_switch.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
assert.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
boss.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
boss.h boss,stages: remove rule from AttackInfo 2023-02-24 16:54:51 +01:00
camcontrol.c camcontrol: F8 to toggle mouse grab; ungrab on pause 2021-11-24 09:36:41 +02:00
camcontrol.h camcontrol: add cleanup 2021-10-08 19:06:14 +03:00
cli.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
cli.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
color.c Get rid of custom min() and max() functions 2020-05-09 09:16:07 +03:00
color.h color: fix -Wmissing-braces 2022-11-11 01:10:58 +01:00
common_tasks.c common_tasks: fix move_towards deprecation warnings 2023-02-27 07:09:43 +01:00
common_tasks.h stage6: port to coroutine system (WIP) 2023-02-06 07:41:10 +01:00
config.c config: debug log config changes 2023-02-23 01:49:57 +01:00
config.h stage: add replay-based quicksave/quickload functionality 2022-01-09 14:11:26 +02:00
coroutine.h coroutine: break down into smaller sub-modules 2022-12-28 23:47:48 +01:00
credits.c transition: use the callchain system for callbacks 2023-04-07 16:08:49 +02:00
credits.h util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
dialog.c sprite: handle virtual paddings transparently 2022-11-27 20:14:05 +01:00
dialog.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
difficulty.c difficulty: make difficulty_value() a type-generic macro 2023-02-03 07:05:49 +01:00
difficulty.h difficulty: make difficulty_value() a type-generic macro 2023-02-03 07:05:49 +01:00
drawlayers.inc.h WIP proj draw rule revamp; YoumuB revamp; misc changes; giant mess 2020-03-04 22:26:45 +02:00
dynarray.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
dynarray.h dynarray: fix dynarray_foreach_reversed 2023-01-20 17:13:29 +01:00
dynstage.c log: flush buffers after assert failure 2023-03-26 01:07:17 +01:00
dynstage.h stageinfo,stage: implement stage hot-reloading 2022-02-05 17:58:42 +02:00
dynstage_stub.c stageinfo,stage: implement stage hot-reloading 2022-02-05 17:58:42 +02:00
enemy.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
enemy.h enemy: remove logic rule and args 2023-02-24 05:37:58 +01:00
enemy_classes.c enemy_classes: fix move_towards deprecation warnings 2023-02-27 07:09:52 +01:00
enemy_classes.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
entity.c refs: nuke from orbit 2023-02-24 05:37:58 +01:00
entity.h compat: bless C23-style auto for type inference 2023-01-08 23:48:14 +01:00
events.c events: fix events_unregister_handler() 2023-04-07 16:08:49 +02:00
events.h util/assert: add optional message to assert, assume, and static_assert 2023-03-26 01:52:41 +01:00
framerate.c framerate: slightly optimize fpscounter_update 2022-01-12 14:19:21 +02:00
framerate.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
gamepad.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
gamepad.h gamepad: support extra buttons 2022-01-08 18:22:44 +02:00
global.c replay: general refactor 2021-06-16 01:43:10 +03:00
global.h global: remove EVENT_KILLED 2023-02-24 05:37:58 +01:00
hashtable.c Implement Robin Hood hashing (#200) 2020-03-17 10:09:49 +02:00
hashtable.h hashtable: add APIs: write_(un)lock, get_ptr_unsafe(_prehashed), unset_unsafe 2021-12-28 09:00:20 +02:00
hashtable.inc.h memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
hashtable_incproxy.inc.h
hashtable_predefs.inc.h hashtable: add strset to predefs 2023-01-18 13:26:32 +01:00
hirestime.c thread: add over-engineered wrapper for thread management 2023-03-29 20:47:27 +02:00
hirestime.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
item.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
item.h item,common_tasks: fix off-by-one error in ItemCounts 2023-01-31 04:15:51 +01:00
known_entities.h fix stupid gcc warnings 2021-08-31 23:34:48 +03:00
laser.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
list.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
list.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
log.c log: cotask support; rewrite console formatter 2023-03-30 04:37:57 +02:00
log.h log: cotask support; rewrite console formatter 2023-03-30 04:37:57 +02:00
main.c transition: use the callchain system for callbacks 2023-04-07 16:08:49 +02:00
meson.build stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
move.c move: downgrade assume(isfinite()) to assert() 2023-02-24 03:51:21 +01:00
move.h move: add move_from_towards_exp 2023-02-27 07:08:11 +01:00
objectpool.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
objectpool.h stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
player.c player: fix move_towards deprecation warnings 2023-02-27 07:10:02 +01:00
player.h player: freeze effective power during surge (experimental) 2022-10-03 20:53:22 +02:00
plrmodes.c Establish more-or-less consistent resource getter functions 2020-06-09 04:33:22 +03:00
plrmodes.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
portrait.c sprite: handle virtual paddings transparently 2022-11-27 20:14:05 +01:00
portrait.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
progress.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
progress.h In-Game Character Profiles (#327) 2021-12-22 23:52:22 +02:00
projectile.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
projectile.h projectile: remove old rule handling 2023-02-24 05:37:58 +01:00
projectile_prototypes.c projectile_prototypes: remove args init for pp_blast 2023-02-24 05:37:58 +01:00
random.c random: remove old API 2023-02-24 18:13:08 +01:00
random.h random: remove old API 2023-02-24 18:13:08 +01:00
stage.c stage: poll events while transitioning away 2023-04-07 16:08:50 +02:00
stage.h stage: remove old timer macros 2023-02-24 05:37:58 +01:00
stagedraw.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
stagedraw.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
stageinfo.c stages/corotest: remove 2023-02-24 05:37:58 +01:00
stageinfo.h stageinfo,stage: implement stage hot-reloading 2022-02-05 17:58:42 +02:00
stageobjects.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
stageobjects.h stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
stagetext.c stageobjects,objectpool: simplify and reimplement on top of arenas 2023-04-07 16:08:49 +02:00
stagetext.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
stageutils.c stageutils: remove linear3dpos 2023-02-24 18:17:00 +01:00
stageutils.h stageutils: remove linear3dpos 2023-02-24 18:17:00 +01:00
stats.c bunch of portrait and dialog-related shuffling around 2020-04-27 22:59:16 +03:00
stats.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
taisei.h memory: move into subdir 2023-04-03 01:53:36 +02:00
taisei.manifest Improve high-DPI handling (#213) 2020-04-16 19:25:54 +03:00
taisei.rc.in windows: detect intel's shitty driver and fall back to ANGLE 2019-09-21 16:46:22 +03:00
taskmanager.c thread: add over-engineered wrapper for thread management 2023-03-29 20:47:27 +02:00
taskmanager.h thread: add over-engineered wrapper for thread management 2023-03-29 20:47:27 +02:00
thread.c thread: make thread_get_current() safe to call after thread_shutdown() 2023-03-31 03:25:16 +02:00
thread.h thread: add over-engineered wrapper for thread management 2023-03-29 20:47:27 +02:00
transition.c transition: more robust handling of "canceled" transitions 2023-04-07 16:08:50 +02:00
transition.h transition: more robust handling of "canceled" transitions 2023-04-07 16:08:50 +02:00
util.h util/callchain: split from eventloop 2023-04-07 16:08:49 +02:00
version.c Don't redefine standard complex macro; use a new cmplx typedef 2019-11-22 05:38:48 +02:00
version.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
version_auto.c.in make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
video.c video: debug log SDL_WINDOWEVENT_SIZE_CHANGED events 2023-02-23 01:49:57 +01:00
video.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00
video_postprocess.c memory: use custom memory allocation wrappers 2023-01-18 13:23:22 +01:00
video_postprocess.h replace include guards with #pragma once 2021-08-31 23:34:46 +03:00