mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 14:34:34 +00:00
Merge branch 'experimental' into moreclean
Conflicts: Aquaria/Avatar.cpp Aquaria/BoxElement.cpp Aquaria/BubbleRender.cpp Aquaria/FFTNotes.cpp Aquaria/StarRenderer.cpp Aquaria/WaterFont.cpp Aquaria/resource.h BBGE/AnimatedSprite.cpp BBGE/AnimatedSprite.h BBGE/BloomEffect.cpp BBGE/CShim.cpp BBGE/Collision.cpp BBGE/Collision.h BBGE/Core.cpp BBGE/Core.h BBGE/Cube.cpp BBGE/Cutscene.cpp BBGE/DFSprite.cpp BBGE/DFSprite.h BBGE/Datafile.cpp BBGE/Datafile.h BBGE/Flags.h BBGE/Interpolator.cpp BBGE/Light.cpp BBGE/Light.h BBGE/LightCone.cpp BBGE/Model.cpp BBGE/Model.h BBGE/OggStream.cpp BBGE/PackRead.cpp BBGE/PointSprites.cpp BBGE/RenderObject.cpp BBGE/SkeletalSprite.cpp
This commit is contained in:
commit
d6dc3a8a09
145 changed files with 1977 additions and 8889 deletions
|
@ -120,7 +120,7 @@ public:
|
|||
blendType = bt;
|
||||
}
|
||||
|
||||
//enum DestroyType { RANDOM=0, REMOVE_STATE };
|
||||
|
||||
virtual void destroy();
|
||||
|
||||
virtual void flipHorizontal();
|
||||
|
@ -180,7 +180,7 @@ public:
|
|||
const RenderObject &operator=(const RenderObject &r);
|
||||
|
||||
void toggleCull(bool value);
|
||||
|
||||
|
||||
void safeKill();
|
||||
|
||||
void enqueueChildDeletion(RenderObject *r);
|
||||
|
@ -242,18 +242,14 @@ public:
|
|||
unsigned char blendType;
|
||||
|
||||
float life;
|
||||
//float lifeAlphaFadeMultiplier;
|
||||
|
||||
float followCamera;
|
||||
|
||||
//bool useColor;
|
||||
|
||||
bool renderBeforeParent;
|
||||
bool updateAfterParent;
|
||||
|
||||
//bool followXOnly;
|
||||
//bool renderOrigin;
|
||||
|
||||
//float updateMultiplier;
|
||||
//EventPtr deathEvent;
|
||||
|
||||
bool colorIsSaved; // Used for both color and alpha
|
||||
Vector savedColor; // Saved values from setColorMult()
|
||||
|
@ -268,16 +264,11 @@ public:
|
|||
|
||||
InterpolatedVector *positionSnapTo;
|
||||
|
||||
//DestroyType destroyType;
|
||||
|
||||
typedef std::vector<RenderObject*> Children;
|
||||
Children children, childGarbage;
|
||||
|
||||
//Flags flags;
|
||||
|
||||
#ifdef BBGE_BUILD_DIRECTX
|
||||
bool useDXTransform;
|
||||
//D3DXMATRIX matrix;
|
||||
#endif
|
||||
|
||||
float collideRadius;
|
||||
std::vector<Vector> collisionMask;
|
||||
|
@ -289,7 +280,7 @@ public:
|
|||
|
||||
bool ignoreUpdate;
|
||||
bool useOldDT;
|
||||
|
||||
|
||||
protected:
|
||||
virtual void onFH(){}
|
||||
virtual void onFV(){}
|
||||
|
@ -312,7 +303,7 @@ protected:
|
|||
}
|
||||
if (fadeAlphaWithLife && !alpha.isInterpolating())
|
||||
{
|
||||
//alpha = ((life*lifeAlphaFadeMultiplier)/maxLife);
|
||||
|
||||
alpha = life/maxLife;
|
||||
}
|
||||
}
|
||||
|
@ -324,7 +315,6 @@ protected:
|
|||
void renderCollision();
|
||||
|
||||
bool repeatTexture;
|
||||
//ParentManaged pm;
|
||||
unsigned char pm; // unsigned char to save space
|
||||
typedef std::list<RenderObject*> RenderObjectList;
|
||||
RenderObjectList deathNotifications;
|
||||
|
@ -340,7 +330,7 @@ protected:
|
|||
bool _hidden;
|
||||
bool _static;
|
||||
bool _fv, _fh;
|
||||
//bool rotateFirst;
|
||||
|
||||
int idx;
|
||||
RenderObject *parent;
|
||||
StateData *stateData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue