OPspriteSheet.h¶
OPspriteSheet¶
- OPint Width
- OPint Height
- OPint Sprites
- OPchar* Names
- OPtexture* Sheet
_____ _ _
/ ____| | | |
| (___ | |_ _ __ _ _ ___| |_ ___
\___ \| __| '__| | | |/ __| __/ __|
____) | |_| | | |_| | (__| |_\__ \
|_____/ \__|_| \__,_|\___|\__|___/
Used to maintain and clean up sprites that
have been stored in the manager
OPsprite¶
- OPint FrameCount
- OPspriteFrame* Frames
- OPint Frame
- OPfloat Elapsed
- OPtexture* Sheet
Sprite animation frames
Globals¶
Functions¶
- OPint OPspriteSheetLoad ( OPstream* str, OPspriteSheet* ss )
______ _ _
| ____| | | (_)
| |__ _ _ _ __ ___| |_ _ ___ _ __ ___
| __| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
| | | |_| | | | | (__| |_| | (_) | | | \__ \
|_| \__,_|_| |_|\___|\__|_|\___/|_| |_|___/
- OPint OPspriteSheetUnload ( void* ss )
- OPvec2 OPspriteCurrentFrameSize ( OPsprite* sprite )