mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
All MP1 element decls in
This commit is contained in:
@@ -1,11 +1,36 @@
|
||||
#ifndef __RETRO_CUVELEMENT_HPP__
|
||||
#define __RETRO_CUVELEMENT_HPP__
|
||||
|
||||
#include "IElement.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
class CToken;
|
||||
|
||||
class CUVElement
|
||||
struct SUVElementSet
|
||||
{
|
||||
float xMin, yMin, xMax, yMax;
|
||||
};
|
||||
|
||||
class CUVElement : public IElement
|
||||
{
|
||||
public:
|
||||
virtual CToken GetValueTexture(int frame) const=0;
|
||||
virtual void GetValueUV(int frame, SUVElementSet& valOut) const=0;
|
||||
};
|
||||
|
||||
struct CUVEConstant : public CUVElement
|
||||
{
|
||||
public:
|
||||
CToken GetValueTexture(int frame) const;
|
||||
void GetValueUV(int frame, SUVElementSet& valOut) const;
|
||||
};
|
||||
|
||||
struct CUVEAnimTexture : public CUVElement
|
||||
{
|
||||
public:
|
||||
CToken GetValueTexture(int frame) const;
|
||||
void GetValueUV(int frame, SUVElementSet& valOut) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user