22 #ifndef TWINE_DEBUG_SCENE_H 23 #define TWINE_DEBUG_SCENE_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "common/scummsys.h" 29 #include "twine/shared.h" 40 void projectBoundingBoxPoints(
IVec3 *point3d,
IVec3 *point3dProjected);
41 bool checkZoneType(ZoneType type)
const;
46 struct ScenePositionsProjected {
47 IVec3 frontBottomLeftPoint;
48 IVec3 frontBottomRightPoint;
50 IVec3 frontTopLeftPoint;
51 IVec3 frontTopRightPoint;
53 IVec3 backBottomLeftPoint;
54 IVec3 backBottomRightPoint;
56 IVec3 backTopLeftPoint;
57 IVec3 backTopRightPoint;
59 IVec3 frontBottomLeftPoint2D;
60 IVec3 frontBottomRightPoint2D;
62 IVec3 frontTopLeftPoint2D;
63 IVec3 frontTopRightPoint2D;
65 IVec3 backBottomLeftPoint2D;
66 IVec3 backBottomRightPoint2D;
68 IVec3 backTopLeftPoint2D;
69 IVec3 backTopRightPoint2D;
72 ScenePositionsProjected calculateBoxPositions(
const IVec3 &mins,
const IVec3 &maxs);
73 bool drawBox(
const ScenePositionsProjected &positions, uint8 color);
76 void changeGridCamera();
80 bool _showingZones =
false;
81 bool _showingActors =
false;
82 bool _showingTracks =
false;
83 bool _showingClips =
false;
84 bool _godMode =
false;
85 unsigned int _typeZones = 127;
86 int16 _onlyLoadActor = -1;
87 const char *_openPopup =
nullptr;
88 bool _holomapFlagsWindow =
false;
89 bool _gameFlagsWindow =
false;
90 bool _menuTextWindow =
false;
91 bool _sceneDetailsWindow =
false;
92 bool _actorDetailsWindow =
true;
93 bool _sceneFlagsWindow =
false;
94 bool _paletteWindow =
false;
95 bool _loggerWindow =
false;
96 bool _frameTimeWindow =
false;
97 bool _frameDataRecording =
true;
98 bool _playFoundItemAnimation =
false;
100 bool _useFreeCamera =
false;
101 bool _disableGridRendering =
false;
102 TextBankId _textBankId = TextBankId::Inventory_Intro_and_Holomap;
104 void renderDebugView();
115 void addFrameData(uint32 frameTime, int32 waitMillis, uint32 maxDelay);
Definition: debug_state.h:36
Definition: achievements_tables.h:27
Definition: debug_state.h:107