Files
tp/include/d/d_meter_map.h
T

63 lines
1.7 KiB
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_METER_D_METER_MAP_H
#define D_METER_D_METER_MAP_H
2024-10-10 07:29:58 -07:00
#include "d/d_map_path_dmap.h"
2021-03-28 22:49:05 +02:00
2023-05-12 12:10:14 -07:00
class J2DPicture;
2024-02-17 11:47:45 -08:00
class dMap_c;
2021-12-27 05:15:35 -08:00
class dMeterMap_c : public dDlst_base_c {
public:
2025-11-30 14:23:42 -08:00
static bool isEnableDispMap();
static int getMapDispSizeTypeNo();
static bool isEnableDispMapAndMapDispSizeTypeNo();
f32 getMapDispEdgeBottomY_Layout();
bool isEventRunCheck();
f32 getMapDispEdgeLeftX_Layout();
f32 getMapDispEdgeTop();
s16 getDispPosInside_OffsetX();
s16 getDispPosOutSide_OffsetX();
void setDispPosInsideFlg_SE_On();
void setDispPosOutsideFlg_SE_On();
void setMapAlpha(u8);
static bool isMapOpenCheck();
dMeterMap_c(J2DScreen*);
void _create(J2DScreen*);
void _delete();
void _move(u32);
void _draw();
void ctrlShowMap();
u8 checkMoveStatus();
static bool isShow(u32);
static bool isFmapScreen();
static bool isDmapScreen();
static void meter_map_move(u32);
void keyCheck();
2021-12-21 06:06:57 -08:00
2025-11-30 14:23:42 -08:00
virtual void draw();
virtual ~dMeterMap_c();
2021-12-27 05:15:35 -08:00
bool isDispPosInsideFlg() { return field_0x2d != 0; }
2021-12-27 06:17:37 -08:00
enum { MAP_SIZE_TYPE_BIG = 2, MAP_SIZE_TYPE_SMALL = 3, MAP_SIZE_TYPE_STAGE = 7 };
2021-12-27 05:15:35 -08:00
private:
/* 0x04 */ J2DPicture* mMapJ2DPicture;
/* 0x08 */ dMap_c* mMap;
/* 0x0C */ s32 mIsCompass;
/* 0x10 */ s32 mIsMap;
/* 0x14 */ u32 field_0x14;
/* 0x18 */ f32 field_0x18;
/* 0x1C */ f32 field_0x1c;
/* 0x20 */ f32 mSizeW;
/* 0x24 */ f32 mSizeH;
/* 0x28 */ s16 field_0x28;
/* 0x2A */ u8 field_0x2a;
/* 0x2B */ u8 field_0x2b;
/* 0x2C */ u8 mMapAlpha;
/* 0x2D */ u8 field_0x2d;
/* 0x2E */ u8 field_0x2e;
/* 0x30 */ int field_0x30;
2021-12-04 16:27:19 -08:00
};
2021-03-28 22:49:05 +02:00
#endif /* D_METER_D_METER_MAP_H */