- Guardat de actor a arxiu
- Creació de actor desde plantilla
This commit is contained in:
@@ -86,8 +86,12 @@ namespace actor
|
||||
// Torna un nou actor
|
||||
actor_t *create(std::string name, vec3_t p, vec3_t s, std::string bmp, SDL_Rect r, SDL_Point o);
|
||||
|
||||
actor_t *createFromTemplate(const char *name);
|
||||
|
||||
actor_t *createFromFile(char **buffer);
|
||||
|
||||
void saveToFile(FILE *f, actor_t *act);
|
||||
|
||||
void setDirty(actor_t *act, const bool force=false);
|
||||
|
||||
void select(actor_t *act);
|
||||
|
||||
Reference in New Issue
Block a user