tiger-cleanup #1

Merged
tiger merged 97 commits from tiger-cleanup into development 2026-01-15 14:54:23 +00:00
4 changed files with 0 additions and 23 deletions
Showing only changes of commit dbfe0cfdd0 - Show all commits

View File

@ -99,4 +99,3 @@ func unload():
func play_chest_animation(_id):
$AnimationPlayer.play("intro")
await $AnimationPlayer.animation_finished
Scenes.continue_sequence(self)

View File

@ -45,8 +45,6 @@ func burn_cards(_id: int, _repeat: bool = false) -> void:
$AnimationPlayer.play("vanish")
await $AnimationPlayer.animation_finished
Scenes.finish_sequence(self)
signal card_burned
func handle_hover(to_handle: Area2D):

View File

@ -220,7 +220,6 @@ func transition():
cards_picked.emit(out_str)
selection_state = DONE
Scenes.finish_sequence(self)
func show_posts():
for player:AnimationPlayer in anim_players:

View File

@ -65,22 +65,6 @@ func end_sequence(scene_id: id) -> void:
# Re-enable player movement after cutscene
player_enable.emit(true)
# Legacy support - redirects to begin_sequence
func start_sequence(scene_id: id) -> void:
push_warning("start_sequence is deprecated. CollectableUi should call begin_sequence directly.")
begin_sequence(scene_id)
# Legacy support - redirects to end_sequence
func finish_sequence(_actor: Object) -> void:
push_warning("finish_sequence is deprecated. CollectableUi should call end_sequence directly.")
if current_sequence != -1 and current_sequence < id.size():
end_sequence(id.values()[current_sequence])
# Legacy alias
func end_current_sequence() -> void:
if current_sequence != -1 and current_sequence < id.size():
end_sequence(id.values()[current_sequence])
# Legacy support - no longer needed
func continue_sequence(_former_actor: Object) -> void:
push_warning("continue_sequence is deprecated and does nothing.")
@ -89,9 +73,6 @@ func continue_sequence(_former_actor: Object) -> void:
func sign_up_for_sequence(_callable: Callable, _sequence_id: id, _index: int = 0) -> void:
push_warning("sign_up_for_sequence is deprecated. CollectableUi now manages playback directly.")
# Legacy support - no longer needed
func register_scene_actor(_scene_id: id, _callable: Callable) -> void:
push_warning("register_scene_actor is deprecated. CollectableUi now manages playback directly.")
func is_sequence_repeating(index: int) -> bool:
return completed_sequences & (1 << index) > 0