61 |
void DefineOverlayImage (const char *name, int n, const char **images); |
void DefineOverlayImage (const char *name, int n, const char **images); |
62 |
void DefineComposite (const char *name, const char *bgname, const char *fgname); |
void DefineComposite (const char *name, const char *bgname, const char *fgname); |
63 |
void DefineAnim (const char *name, bool loop_p); |
void DefineAnim (const char *name, bool loop_p); |
64 |
|
void DefineAlias (const char *name, const char *othername); |
65 |
void AddFrame (const char *name, const char *model, double time); |
void AddFrame (const char *name, const char *model, double time); |
66 |
} |
} |
67 |
|
|
93 |
|
|
94 |
typedef unsigned int SpriteId; |
typedef unsigned int SpriteId; |
95 |
|
|
96 |
SpriteId AddSprite (SpriteLayer l, const px::V3 &pos, const char *modelname); |
/* Create a new sprite. If modelname==0, the sprite is deemed invisible. */ |
97 |
|
SpriteId AddSprite (SpriteLayer l, const px::V3 &pos, const char *modelname=0); |
98 |
|
|
99 |
void MoveSprite (SpriteId id, const px::V3 &newpos); |
void MoveSprite (SpriteId id, const px::V3 &newpos); |
100 |
void ReplaceSprite (SpriteId id, const char *modelname); |
void ReplaceSprite (SpriteId id, const char *modelname); |
101 |
void KillSprite (SpriteId id); |
void KillSprite (SpriteId id); |