FrameBlendBgmapSprite Class Reference
#include <FrameBlendBgmapSprite.h>
Inheritance diagram for FrameBlendBgmapSprite:
![](../class_frame_blend_bgmap_sprite.png)
# Public Types | |
typedef const FrameBlendBgmapSpriteSpec | FrameBlendBgmapSpriteROMSpec |
# Public Member Functions | |
void | constructor (Entity owner, const FrameBlendBgmapSpriteSpec *frameBlendBgmapSpriteSpec) |
override int16 | doRender (int16 index) |
# Private Attributes | |
uint8 | actualFrame |
The frame to show during the game cycle. | |
![]() | |
int16 | paramTableRow |
Offset that keeps track of where to continue writing in param table. | |
uint32 | param |
ParamTableEffectMethod | applyParamTableEffect |
Pointer to function that implements the param table based effects. | |
BgmapTextureSource | bgmapTextureSource |
Texture's configuration in BGMAP space. |
# Additional Inherited Members | |
![]() | |
typedef const BgmapSpriteSpec | BgmapSpriteROMSpec |
![]() | |
void | constructor (Entity owner, const BgmapSpriteSpec *bgmapSpriteSpec) |
override bool | onEvent (ListenerObject eventFirer, uint16 eventCode) |
override ClassPointer | getBasicType () |
override void | loadTexture (ClassPointer textureClass, bool listenForRewriting) |
override bool | hasSpecialEffects () |
override void | processEffects (int32 maximumParamTableRowsToComputePerCall) |
override void | setMultiframe (uint16 frame) |
override void | setRotation (const Rotation *rotation) |
override void | setScale (const PixelScale *scale) |
override int32 | getTotalPixels () |
void | configureTexture () |
Configure the sprite's texture. | |
void | setMode (uint16 display, uint16 mode) |
void | setParam (uint32 param) |
uint32 | getParam () |
int16 | getParamTableRow () |
void | invalidateParamTable () |
Force the rewrite of the sprite's param table during the next rendering cycle. | |
bool | onTextureRewritten (ListenerObject eventFirer) |
void | applyAffineTransformations () |
Start rewriting the sprite's param table for affine transformations. | |
void | applyHbiasEffects () |
Start rewriting the sprite's param table for hbias effects. |
# Detailed Description
Class FrameBlendBgmapSprite
Inherits from BgmapSprite
Blends two frames of animation into a single one to achieve hi color images with a single sprite.
Definition at line 45 of file FrameBlendBgmapSprite.h.
# Member Typedef Documentation
# FrameBlendBgmapSpriteROMSpec
typedef const FrameBlendBgmapSpriteSpec FrameBlendBgmapSpriteROMSpec |
A FrameBlendBgmapSprite spec that is stored in ROM.
Definition at line 34 of file FrameBlendBgmapSprite.h.
# Member Function Documentation
# constructor()
void FrameBlendBgmapSprite::constructor | ( | Entity | owner, |
const FrameBlendBgmapSpriteSpec * | frameBlendBgmapSpriteSpec ) |
Class' constructor
- Parameters
-
owner Entity to which the sprite attaches to frameBlendBgmapSpriteSpec Specification that determines how to configure the sprite
Definition at line 28 of file FrameBlendBgmapSprite.c.
# doRender()
Render the sprite by configuring the DRAM assigned to it by means of the provided index.
- Parameters
-
index Determines the region of DRAM that this sprite is allowed to configure
- Returns
- The index that determines the region of DRAM that this sprite manages
Reimplemented from BgmapSprite.
Definition at line 48 of file FrameBlendBgmapSprite.c.
# Member Data Documentation
# actualFrame
|
private |
The frame to show during the game cycle.
Definition at line 48 of file FrameBlendBgmapSprite.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Component/VisualComponent/Sprite/BgmapSprite/FrameBlendBgmapSprite/FrameBlendBgmapSprite.h
- VUEngine-Core/source/Component/VisualComponent/Sprite/BgmapSprite/FrameBlendBgmapSprite/FrameBlendBgmapSprite.c