mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Move these inline to be faster.
This commit is contained in:
@ -120,11 +120,6 @@ void plPageInfo::AddClassVersion(uint16_t classIdx, uint16_t version)
|
||||
fClassVersions.push_back(cv);
|
||||
}
|
||||
|
||||
const plLocation& plPageInfo::GetLocation() const
|
||||
{
|
||||
return fLocation;
|
||||
}
|
||||
|
||||
void plPageInfo::Read( hsStream *s )
|
||||
{
|
||||
delete [] fAge;
|
||||
|
@ -65,7 +65,7 @@ protected:
|
||||
char* fPage;
|
||||
uint16_t fMajorVersion;
|
||||
ClassVerVec fClassVersions;
|
||||
uint32_t fChecksum;
|
||||
uint32_t fChecksum;
|
||||
uint32_t fDataStart, fIndexStart;
|
||||
|
||||
void IInit( void );
|
||||
@ -90,7 +90,7 @@ public:
|
||||
void SetStrings( const char *age, const char *page );
|
||||
|
||||
void SetLocation(const plLocation& loc);
|
||||
const plLocation& GetLocation() const;
|
||||
const plLocation& GetLocation() const { return fLocation; }
|
||||
|
||||
uint16_t GetMajorVersion() const { return fMajorVersion; }
|
||||
void SetMajorVersion(uint16_t major) { fMajorVersion = major; }
|
||||
|
Reference in New Issue
Block a user