- Ja carrega habitació i actors de arxiu
- Els templates deurien funcionar quan s'active la funcionalitat
This commit is contained in:
@@ -86,7 +86,7 @@ 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);
|
||||
|
||||
void createFromFile(char **buffer);
|
||||
actor_t *createFromFile(char **buffer);
|
||||
|
||||
void setDirty(actor_t *act, const bool force=false);
|
||||
|
||||
@@ -119,6 +119,8 @@ namespace actor
|
||||
void save();
|
||||
const int size();
|
||||
actor_t *get(const int index);
|
||||
actor_t *getByName(const char *name);
|
||||
void copy(actor_t *dest, actor_t *source);
|
||||
void add(actor_t *actor);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user