mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Converts most of AFX classes to utilize assets
Adds modified classes to project importer convert logic
This commit is contained in:
parent
1dafb3463e
commit
64b98b0c10
15 changed files with 137 additions and 118 deletions
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#include "console/typeValidators.h"
|
||||
|
||||
GFX_DeclareTextureProfile(AFX_GFXZodiacTextureProfile);
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
// afxZodiacData
|
||||
|
||||
|
|
@ -54,9 +56,12 @@ public:
|
|||
|
||||
static void convertGradientRangeFromDegrees(Point2F& gradrange, const Point2F& gradrange_deg);
|
||||
|
||||
void onImageChanged() {}
|
||||
|
||||
public:
|
||||
StringTableEntry txr_name;
|
||||
GFXTexHandle txr;
|
||||
DECLARE_IMAGEASSET(afxZodiacData, Texture, onImageChanged, AFX_GFXZodiacTextureProfile);
|
||||
DECLARE_IMAGEASSET_SETGET(afxZodiacData, Texture);
|
||||
|
||||
F32 radius_xy;
|
||||
Point2F vert_range;
|
||||
F32 start_ang;
|
||||
|
|
@ -125,8 +130,6 @@ public:
|
|||
typedef afxZodiacData::BlendType afxZodiac_BlendType;
|
||||
DefineEnumType( afxZodiac_BlendType );
|
||||
|
||||
GFX_DeclareTextureProfile(AFX_GFXZodiacTextureProfile);
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
||||
#endif // _AFX_ZODIAC_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue