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" 39 void projectBoundingBoxPoints(
IVec3 *point3d,
IVec3 *point3dProjected);
40 bool checkZoneType(ZoneType type)
const;
45 struct ScenePositionsProjected {
46 IVec3 frontBottomLeftPoint;
47 IVec3 frontBottomRightPoint;
49 IVec3 frontTopLeftPoint;
50 IVec3 frontTopRightPoint;
52 IVec3 backBottomLeftPoint;
53 IVec3 backBottomRightPoint;
55 IVec3 backTopLeftPoint;
56 IVec3 backTopRightPoint;
58 IVec3 frontBottomLeftPoint2D;
59 IVec3 frontBottomRightPoint2D;
61 IVec3 frontTopLeftPoint2D;
62 IVec3 frontTopRightPoint2D;
64 IVec3 backBottomLeftPoint2D;
65 IVec3 backBottomRightPoint2D;
67 IVec3 backTopLeftPoint2D;
68 IVec3 backTopRightPoint2D;
71 ScenePositionsProjected calculateBoxPositions(
const IVec3 &mins,
const IVec3 &maxs);
72 bool drawBox(
const ScenePositionsProjected &positions, uint8 color);
75 void changeGridCamera();
79 bool _showingZones =
false;
80 bool _showingActors =
false;
81 bool _showingTracks =
false;
82 bool _showingClips =
false;
83 bool _godMode =
false;
84 unsigned int _typeZones = 127;
85 int16 _onlyLoadActor = -1;
86 const char *_openPopup =
nullptr;
87 bool _holomapFlagsWindow =
false;
88 bool _gameFlagsWindow =
false;
89 bool _menuTextWindow =
false;
90 bool _sceneDetailsWindow =
false;
91 bool _actorDetailsWindow =
true;
92 bool _sceneFlagsWindow =
false;
93 bool _paletteWindow =
false;
94 bool _loggerWindow =
false;
95 bool _frameTimeWindow =
false;
96 bool _frameDataRecording =
true;
97 bool _playFoundItemAnimation =
false;
99 bool _useFreeCamera =
false;
100 bool _disableGridRendering =
false;
101 TextBankId _textBankId = TextBankId::Inventory_Intro_and_Holomap;
103 void renderDebugView();
114 void addFrameData(uint32 frameTime, int32 waitMillis, uint32 maxDelay);
Definition: debug_state.h:35
Definition: achievements_tables.h:27
Definition: debug_state.h:106