22 #ifndef TWINE_HOLOMAPV1_H 23 #define TWINE_HOLOMAPV1_H 25 #include "twine/holomap.h" 26 #include "twine/shared.h" 28 #define NUM_HOLOMAPCOLORS 32 29 #define HOLOMAP_PALETTE_INDEX (12*16) 46 TextId mess = TextId::kNone;
50 IVec3 _holomapSurface[561];
55 uint16 projectedPosIdx = 0;
57 HolomapSort _holomapSort[16 * 32];
59 struct HolomapProjectedPos {
65 HolomapProjectedPos _projectedSurfacePositions[561];
66 int _projectedSurfaceIndex = 0;
69 int32 _numHoloPos = 0;
70 Location _listHoloPos[MAX_HOLO_POS];
73 uint8 _rotPal[NUMOFCOLORS * 3]{0};
75 void drawTitle(int32 centerx, int32 top,
const char *title);
76 int32 searchNextArrow(int32 num)
const;
77 int32 searchPrevArrow(int32 num)
const;
79 void drawListPos(
int xRot,
int yRot,
int zRot,
bool lower);
84 void drawHoloObj(
const IVec3 &angle, int32 x, int32 y, int16 size);
86 void computeCoorMapping();
87 void computeGlobeProj();
88 void drawHoloMap(uint8 *holomapImage, uint32 holomapImageSize);
94 int32 distance(
float distance)
const;
95 int32 scale(
float val)
const;
110 bool _automove =
false;
111 bool _flagredraw =
false;
112 bool _dialstat =
false;
113 bool _flagpal =
false;
121 bool loadLocations()
override;
123 const char *getLocationName(
int index)
const override;
131 void holoTraj(int32 trajectoryIndex)
override;
void initHoloDatas() override
Definition: holomap_v1.h:38
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