#ifndef __URDE_CGAMEHINTINFO_HPP__ #define __URDE_CGAMEHINTINFO_HPP__ #include "RetroTypes.hpp" #include "IFactory.hpp" namespace urde { class CGameHintInfo { public: struct SHintLocation { ResId x0_mlvlId = -1; ResId x4_mreaId = -1; TAreaId x8_areaId = kInvalidAreaId; ResId xc_stringId = -1; SHintLocation(CInputStream&, s32); }; class CGameHint { std::string x0_name; float x10_; float x14_fadeInTime; ResId x18_stringId; float x1c_time; std::vector x20_locations; public: CGameHint(CInputStream&, s32); float GetTime() const { return x1c_time; } float GetFadeInTime() const { return x14_fadeInTime; } float GetX10() const { return x10_; } const std::string& GetName() const { return x0_name; } ResId GetStringID() const { return x18_stringId; } const std::vector& GetLocations() const { return x20_locations; } }; private: std::vector x0_hints; public: CGameHintInfo(CInputStream&, s32); const std::vector& GetHints() const { return x0_hints; } }; CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream&, const CVParamTransfer, CObjectReference*); } #endif // __URDE_CGAMEHINTINFO_HPP__