ESC compiler rewrite

Splits the former ESC_Runner and ESC_Level_Runner into multiple dedicated managers. 
Authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
Dennis Ploeger
2021-06-04 16:12:42 +02:00
committed by GitHub
parent f069ab2ffd
commit 746a724f5a
115 changed files with 4740 additions and 2584 deletions

View File

@@ -9,6 +9,81 @@
config_version=4
_global_script_classes=[ {
"base": "ESCBaseCommand",
"class": "AcceptInputCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/accept_input.gd"
}, {
"base": "ESCBaseCommand",
"class": "AnimCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/anim.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraPushCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_push.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraSetLimitsCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_set_limits.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraSetPosCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_set_pos.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraSetTargetCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_set_target.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraSetZoomCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraSetZoomHeightCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_set_zoom_height.gd"
}, {
"base": "ESCBaseCommand",
"class": "CameraShiftCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/camera_shift.gd"
}, {
"base": "ESCBaseCommand",
"class": "ChangeSceneCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/change_scene.gd"
}, {
"base": "ESCBaseCommand",
"class": "CustomCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/custom.gd"
}, {
"base": "ESCBaseCommand",
"class": "CutSceneCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/cut_scene.gd"
}, {
"base": "ESCBaseCommand",
"class": "DebugCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/debug.gd"
}, {
"base": "ESCBaseCommand",
"class": "DecGlobalCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/dec_global.gd"
}, {
"base": "Object",
"class": "ESCActionManager",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd"
}, {
"base": "TextureRect",
"class": "ESCBackground",
"language": "GDScript",
@@ -24,21 +99,86 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/sound/bg_sound.gd"
}, {
"base": "Node",
"class": "ESCBaseCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_base_command.gd"
}, {
"base": "Camera2D",
"class": "ESCCamera",
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/camera_player/esccamera.gd"
}, {
"base": "ESCStatement",
"class": "ESCCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_command.gd"
}, {
"base": "Object",
"class": "ESCCommandArgumentDescriptor",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_command_argument_descriptor.gd"
}, {
"base": "Object",
"class": "ESCCommandRegistry",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_command_registry.gd"
}, {
"base": "Object",
"class": "ESCCompiler",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_compiler.gd"
}, {
"base": "Object",
"class": "ESCCondition",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_condition.gd"
}, {
"base": "ESCStatement",
"class": "ESCDialog",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_dialog.gd"
}, {
"base": "ESCStatement",
"class": "ESCDialogOption",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_dialog_option.gd"
}, {
"base": "ResourcePreloader",
"class": "ESCDialogsPlayer",
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/dialogs/dialog_player.gd"
}, {
"base": "ESCStatement",
"class": "ESCEvent",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_event.gd"
}, {
"base": "Node",
"class": "ESCEventManager",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd"
}, {
"base": "Object",
"class": "ESCExecution",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_execution.gd"
}, {
"base": "Node2D",
"class": "ESCGame",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/escgame.gd"
}, {
"base": "Resource",
"class": "ESCGlobalsManager",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_globals_manager.gd"
}, {
"base": "ESCStatement",
"class": "ESCGroup",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_group.gd"
}, {
"base": "Control",
"class": "ESCInventory",
"language": "GDScript",
@@ -49,11 +189,31 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/escinventoryitem.gd"
}, {
"base": "Object",
"class": "ESCInventoryManager",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_inventory_manager.gd"
}, {
"base": "Area2D",
"class": "ESCItem",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/escitem.gd"
}, {
"base": "Object",
"class": "ESCLogger",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/log/logging.gd"
}, {
"base": "Node",
"class": "ESCObject",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_object.gd"
}, {
"base": "Node",
"class": "ESCObjectManager",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/esc_object_manager.gd"
}, {
"base": "KinematicBody2D",
"class": "ESCPlayer",
"language": "GDScript",
@@ -64,10 +224,20 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/escroom.gd"
}, {
"base": "Script",
"base": "Object",
"class": "ESCScheduledEvent",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_scheduled_event.gd"
}, {
"base": "Object",
"class": "ESCScript",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/resources/esc_script_resource.gd"
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_script.gd"
}, {
"base": "Object",
"class": "ESCStatement",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_statement.gd"
}, {
"base": "Navigation2D",
"class": "ESCTerrain",
@@ -79,27 +249,253 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esctooltip.gd"
}, {
"base": "ESCBaseCommand",
"class": "EnableTerrainCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/enable_terrain.gd"
}, {
"base": "ESCBaseCommand",
"class": "GameOverCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/game_over.gd"
}, {
"base": "ESCBaseCommand",
"class": "IncGlobalCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/inc_global.gd"
}, {
"base": "ESCBaseCommand",
"class": "InventoryAddCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/inventory_add.gd"
}, {
"base": "ESCBaseCommand",
"class": "InventoryRemoveCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/inventory_remove.gd"
}, {
"base": "Node",
"class": "Movable",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/behaviors/movable.gd"
}, {
"base": "ESCBaseCommand",
"class": "PlaySndCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/play_snd.gd"
}, {
"base": "ESCBaseCommand",
"class": "QueueAnimationCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_animation.gd"
}, {
"base": "ESCBaseCommand",
"class": "QueueResourceCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_resource.gd"
}, {
"base": "ESCBaseCommand",
"class": "RepeatCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/repeat.gd"
}, {
"base": "Object",
"class": "ResourceCache",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/resource_queue.gd"
}, {
"base": "ESCBaseCommand",
"class": "SayCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/say.gd"
}, {
"base": "ESCBaseCommand",
"class": "SchedEventCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/sched_event.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetActiveCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_active.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetAngleCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_angle.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetGlobalCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_global.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetGlobalsCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_globals.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetHudVisibleCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_hud_visible.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetInteractiveCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_interactive.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetSoundStateCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_sound_state.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetSpeedCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_speed.gd"
}, {
"base": "ESCBaseCommand",
"class": "SetStateCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_state.gd"
}, {
"base": "ESCBaseCommand",
"class": "SlideBlockCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/slide_block.gd"
}, {
"base": "ESCBaseCommand",
"class": "SlideCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/slide.gd"
}, {
"base": "ESCBaseCommand",
"class": "SpawnCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/spawn.gd"
}, {
"base": "ESCBaseCommand",
"class": "StopCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/stop.gd"
}, {
"base": "ESCBaseCommand",
"class": "TeleportCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/teleport.gd"
}, {
"base": "ESCBaseCommand",
"class": "TurnToCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/turn_to.gd"
}, {
"base": "ESCBaseCommand",
"class": "WaitCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/wait.gd"
}, {
"base": "ESCBaseCommand",
"class": "WalkBlockCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/walk_block.gd"
}, {
"base": "ESCBaseCommand",
"class": "WalkCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/walk.gd"
}, {
"base": "ESCBaseCommand",
"class": "WalkToPosBlockCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/walk_to_pos_block.gd"
}, {
"base": "ESCBaseCommand",
"class": "WalkToPosCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/walk_to_pos.gd"
} ]
_global_script_class_icons={
"AcceptInputCommand": "",
"AnimCommand": "",
"CameraPushCommand": "",
"CameraSetLimitsCommand": "",
"CameraSetPosCommand": "",
"CameraSetTargetCommand": "",
"CameraSetZoomCommand": "",
"CameraSetZoomHeightCommand": "",
"CameraShiftCommand": "",
"ChangeSceneCommand": "",
"CustomCommand": "",
"CutSceneCommand": "",
"DebugCommand": "",
"DecGlobalCommand": "",
"ESCActionManager": "",
"ESCBackground": "",
"ESCBackgroundMusic": "",
"ESCBackgroundSound": "",
"ESCBaseCommand": "",
"ESCCamera": "",
"ESCCommand": "",
"ESCCommandArgumentDescriptor": "",
"ESCCommandRegistry": "",
"ESCCompiler": "",
"ESCCondition": "",
"ESCDialog": "",
"ESCDialogOption": "",
"ESCDialogsPlayer": "",
"ESCEvent": "",
"ESCEventManager": "",
"ESCExecution": "",
"ESCGame": "",
"ESCGlobalsManager": "",
"ESCGroup": "",
"ESCInventory": "",
"ESCInventoryItem": "",
"ESCInventoryManager": "",
"ESCItem": "",
"ESCLogger": "",
"ESCObject": "",
"ESCObjectManager": "",
"ESCPlayer": "",
"ESCRoom": "",
"ESCScheduledEvent": "",
"ESCScript": "",
"ESCStatement": "",
"ESCTerrain": "",
"ESCTooltip": "",
"Movable": ""
"EnableTerrainCommand": "",
"GameOverCommand": "",
"IncGlobalCommand": "",
"InventoryAddCommand": "",
"InventoryRemoveCommand": "",
"Movable": "",
"PlaySndCommand": "",
"QueueAnimationCommand": "",
"QueueResourceCommand": "",
"RepeatCommand": "",
"ResourceCache": "",
"SayCommand": "",
"SchedEventCommand": "",
"SetActiveCommand": "",
"SetAngleCommand": "",
"SetGlobalCommand": "",
"SetGlobalsCommand": "",
"SetHudVisibleCommand": "",
"SetInteractiveCommand": "",
"SetSoundStateCommand": "",
"SetSpeedCommand": "",
"SetStateCommand": "",
"SlideBlockCommand": "",
"SlideCommand": "",
"SpawnCommand": "",
"StopCommand": "",
"TeleportCommand": "",
"TurnToCommand": "",
"WaitCommand": "",
"WalkBlockCommand": "",
"WalkCommand": "",
"WalkToPosBlockCommand": "",
"WalkToPosCommand": ""
}
[application]
@@ -144,7 +540,7 @@ ui/dialogs_folder="res://game/ui/commons/dialogs"
ui/default_dialog_scene="res://game/ui/commons/dialogs/dialog_label.tscn"
ui/main_menu_scene="res://game/ui/commons/main_menu/main_menu.tscn"
ui/pause_menu_scene="res://game/ui/commons/pause_menu/pause_menu.tscn"
ui/game_scene="res://game/ui/ui_mouse_icons/game.tscn"
ui/game_scene="res://game/ui/ui_9verbs/game.tscn"
internals/save_data=""
main/text_lang="fr_FR"
main/voice_lang="fr_FR"
@@ -152,6 +548,8 @@ sound/music_volume=1
sound/sfx_volume=1
sound/speech_volume=1
sound/master_volume=1
main/command_directories=[ "res://addons/escoria-core/game/core-scripts/esc/commands" ]
debug/log_level="DEBUG"
[input]