chore: storing version and changelog

This commit is contained in:
StraToN
2022-05-11 17:18:33 +00:00
parent 77ba581398
commit 44425a3f92
5 changed files with 34 additions and 13 deletions

View File

@@ -526,7 +526,7 @@ func perform_inputevent_on_object(
# In case of an interrupted walk, we don't want to proceed.
if context == null:
return
destination_position = context.target_position
dont_interact = context.dont_interact_on_arrival
@@ -657,7 +657,7 @@ func _walk_towards_object(
escoria.logger.debug("Original walk context target does not match " \
+ "yielded walk context. Likely interrutped walk.")
return
escoria.logger.info("Context arrived: %s" % context)
# Confirm that reached item was the one user clicked in the first place.

View File

@@ -211,7 +211,7 @@ func queue_event(event: ESCEvent, force: bool = false) -> void:
"Changing scenes. Won't queue event '%s'." % event.name
)
return
# Don't queue the same event more than once in a row.
var last_event = _get_last_event_queued(CHANNEL_FRONT)
@@ -287,7 +287,7 @@ func queue_background_event(channel_name: String, event: ESCEvent) -> void:
func interrupt(exceptions: PoolStringArray = []) -> void:
for channel_name in _running_events.keys():
if _running_events[channel_name] != null and not _running_events[channel_name].name in exceptions:
escoria.logger.debug("Interrupting running event %s in channel %s..."
escoria.logger.debug("Interrupting running event %s in channel %s..."
% [_running_events[channel_name].name, channel_name])
_running_events[channel_name].interrupt()
_channels_state[channel_name] = true
@@ -297,11 +297,11 @@ func interrupt(exceptions: PoolStringArray = []) -> void:
for event in events_queue[channel_name]:
if event.name in exceptions:
continue
escoria.logger.debug("Interrupting queued event %s in channel %s..."
escoria.logger.debug("Interrupting queued event %s in channel %s..."
% [event.name, channel_name])
event.interrupt()
events_queue[channel_name].clear()
@@ -337,7 +337,7 @@ func set_changing_scene(p_is_changing_scene: bool) -> void:
escoria.logger.trace("Setting _changing_scene to %s." % p_is_changing_scene)
_changing_scene = p_is_changing_scene
# If we're changing scenes, interrupt any (other) running events and purge
# all event queues.
if _changing_scene:

View File

@@ -328,7 +328,7 @@ func _perform_script_events(room: ESCRoom) -> void:
# Hide main and pause menus
escoria.game_scene.hide_main_menu()
escoria.game_scene.unpause_game()
# Maybe this is ok to put in set_scene_finish() above? But it might be a bit
# confusing to not see the matching camera.current updates.
new_player_camera.make_current()
@@ -347,7 +347,7 @@ func _perform_script_events(room: ESCRoom) -> void:
escoria.inputs_manager.hotspot_focused = ""
var command_strings: PoolStringArray = []
command_strings.append("%s%s" % [ESCEvent.PREFIX, escoria.event_manager.EVENT_TRANSITION_IN])
if room.enabled_automatic_transitions \
@@ -365,9 +365,9 @@ func _perform_script_events(room: ESCRoom) -> void:
)
]
)
command_strings.append("%s 0.1" % _wait.get_command_name())
command_strings.append("%s 0.1" % _wait.get_command_name())
command_strings.append("%s ALL" % _accept_input.get_command_name())
var script_transition_in = escoria.esc_compiler.compile(command_strings, get_class())

View File

@@ -120,7 +120,7 @@ func validate(command: String, arguments: Array) -> bool:
if arguments[index] == null:
# No type checking for null values
continue
if has_varargs and index == arguments.size() - 1:
# If we have varargs at the end, do not validate them.
continue