2022-04-10 00:17:06 +00:00
|
|
|
#ifndef _CSTRINGTABLE_HPP
|
|
|
|
#define _CSTRINGTABLE_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "rstl/single_ptr.hpp"
|
|
|
|
|
|
|
|
#include "CInputStream.hpp"
|
|
|
|
|
|
|
|
class CStringTable {
|
2022-07-18 13:51:34 +00:00
|
|
|
s32 x0_stringCount;
|
2022-04-10 00:17:06 +00:00
|
|
|
rstl::single_ptr< u8 > x4_data;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CStringTable(CInputStream& in);
|
2022-07-14 16:24:26 +00:00
|
|
|
const wchar_t* GetString(int idx) const;
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
|
|
|
|
2022-04-11 22:42:08 +00:00
|
|
|
extern CStringTable* gpStringTable;
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
#endif
|