22 #ifndef TWINE_HOLOMAPV1_H 23 #define TWINE_HOLOMAPV1_H 25 #include "twine/holomap.h" 26 #include "twine/shared.h" 27 #include "twine/text.h" 29 #define NUM_HOLOMAPCOLORS 32 30 #define HOLOMAP_PALETTE_INDEX (12*16) 47 TextId mess = TextId::kNone;
51 IVec3 _holomapSurface[561];
56 uint16 projectedPosIdx = 0;
58 HolomapSort _holomapSort[16 * 32];
60 struct HolomapProjectedPos {
66 HolomapProjectedPos _projectedSurfacePositions[561];
67 int _projectedSurfaceIndex = 0;
70 int32 _numHoloPos = 0;
71 Location _listHoloPos[MAX_HOLO_POS];
74 uint8 _rotPal[NUMOFCOLORS * 3]{0};
76 void drawTitle(int32 centerx, int32 top,
const char *title);
77 int32 searchNextArrow(int32 num)
const;
78 int32 searchPrevArrow(int32 num)
const;
80 void drawListPos(
int xRot,
int yRot,
int zRot,
bool lower);
85 void drawHoloObj(
const IVec3 &angle, int32 x, int32 y, int16 size);
87 void computeCoorMapping();
88 void computeGlobeProj();
89 void drawHoloMap(uint8 *holomapImage, uint32 holomapImageSize);
95 int32 distance(
float distance)
const;
96 int32 scale(
float val)
const;
111 bool _automove =
false;
112 bool _flagredraw =
false;
113 bool _dialstat =
false;
114 bool _flagpal =
false;
115 ProgressiveTextState _textState = ProgressiveTextState::End;
123 bool loadLocations()
override;
125 const char *getLocationName(
int index)
const override;
133 void holoTraj(int32 trajectoryIndex)
override;
void initHoloDatas() override
Definition: holomap_v1.h:39
Definition: achievements_tables.h:27
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
bool setHoloPos(int32 locationIdx) override
void clrHoloPos(int32 locationIdx) override