Refactor VM to ExecFrame + tag emitted lines with source script (no behavior change)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-07 13:11:50 -04:00
parent 39e5fa544e
commit e724f41b12
6 changed files with 70 additions and 37 deletions

View File

@@ -1,6 +1,7 @@
namespace Age.Engine.Model;
public sealed class Script
{
public string Name { get; init; } = "";
public required ScriptHeader Header { get; init; }
public required IReadOnlyList<Instruction> Instructions { get; init; }
public required IReadOnlyDictionary<int, int> IndexByOffset { get; init; }