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,
55 Action() : type(AT_WaitFrame), x(0), y(0), ix(0), iy(0), z(0), loops(0), textargs("") {}
61 std::vector<Action> m_actions;
62 std::map<std::string, int> m_labels;
65 struct PerformanceData
68 unsigned object_count;
72 PerformanceData m_perf_start;
73 PerformanceData m_perf_last;
75 void PrintPerformance(View * view, Screen * scr);
76 void ClearPerformance(View * view, Screen * scr);