- Afegeix el camp "bmp" amb el nom del gif, per a poder usar-lo durant l'edició
This commit is contained in:
@@ -28,6 +28,7 @@ namespace actor
|
||||
{
|
||||
actor_t *act = (actor_t*)malloc(sizeof(actor_t));
|
||||
strcpy(act->name, name);
|
||||
strcpy(act->bmp, bmp);
|
||||
act->pos = p;
|
||||
act->size = s;
|
||||
act->surface = draw::loadSurface(bmp);
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace actor
|
||||
{
|
||||
char name[16];
|
||||
draw::surface *surface;
|
||||
char bmp[16];
|
||||
SDL_Rect bmp_rect;
|
||||
SDL_Point bmp_offset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user