prime/include/Kyoto/Text/CStringTable.hpp

22 lines
368 B
C++

#ifndef _CSTRINGTABLE
#define _CSTRINGTABLE
#include "types.h"
#include "rstl/single_ptr.hpp"
#include "Kyoto/Streams/CInputStream.hpp"
class CStringTable {
int x0_stringCount;
rstl::single_ptr< u8 > x4_data;
public:
CStringTable(CInputStream& in);
const wchar_t* GetString(int idx) const;
};
extern CStringTable* gpStringTable;
#endif // _CSTRINGTABLE