16 DebugScript() : inp(), currentAction(), m_actions(), m_labels(), m_index(0) {}
17 virtual ~DebugScript() {}
18 void Load(const char *filename)
22 bool Execute(View *view, Screen *scr);
33 AT_EnableLazyRendering,
34 AT_DisableLazyRendering,
56 Action() : type(AT_WaitFrame), x(0), y(0), ix(0), iy(0), z(0), loops(0), textargs("") {}
62 std::vector<Action> m_actions;
63 std::map<std::string, int> m_labels;
66 struct PerformanceData
69 unsigned object_count;
73 PerformanceData m_perf_start;
74 PerformanceData m_perf_last;
76 void PrintPerformance(View * view, Screen * scr);
77 void ClearPerformance(View * view, Screen * scr);