layout: restructure into src/ tests/ android/ scripts/ tools/
- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
70710477cf
commit
a46093104c
@@ -0,0 +1,49 @@
|
||||
#pragma once
|
||||
|
||||
#include "Model.h"
|
||||
#include "Motion.h"
|
||||
|
||||
class CGraphicThing : public CResource
|
||||
{
|
||||
public:
|
||||
typedef CRef<CGraphicThing> TRef;
|
||||
|
||||
public:
|
||||
static CGraphicThing::TType Type();
|
||||
|
||||
public:
|
||||
CGraphicThing(const char * c_szFileName);
|
||||
virtual ~CGraphicThing();
|
||||
|
||||
virtual bool CreateDeviceObjects();
|
||||
virtual void DestroyDeviceObjects();
|
||||
|
||||
bool CheckModelIndex(int iModel) const;
|
||||
CGrannyModel * GetModelPointer(int iModel);
|
||||
int GetModelCount() const;
|
||||
|
||||
bool CheckMotionIndex(int iMotion) const;
|
||||
CGrannyMotion * GetMotionPointer(int iMotion);
|
||||
int GetMotionCount() const;
|
||||
|
||||
protected:
|
||||
void Initialize();
|
||||
|
||||
bool LoadModels();
|
||||
bool LoadMotions();
|
||||
|
||||
protected:
|
||||
bool OnLoad(int iSize, const void* c_pvBuf);
|
||||
void OnClear();
|
||||
bool OnIsEmpty() const;
|
||||
bool OnIsType(TType type);
|
||||
|
||||
protected:
|
||||
granny_file * m_pgrnFile;
|
||||
granny_file_info * m_pgrnFileInfo;
|
||||
|
||||
granny_animation * m_pgrnAni;
|
||||
|
||||
CGrannyModel * m_models;
|
||||
CGrannyMotion * m_motions;
|
||||
};
|
||||
Reference in New Issue
Block a user