- Afegeix el camp "bmp" amb el nom del gif, per a poder usar-lo durant l'edició

This commit is contained in:
JailDoctor committed 2023-09-21 11:32:53 +02:00
1 parent 157ee1edbd
commit 510bc7d9bb
2 files changed
+2

No files matched your search

+1
View File
@@ -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);
+1
View File
@@ -37,6 +37,7 @@ namespace actor
{
char name[16];
draw::surface *surface;
char bmp[16];
SDL_Rect bmp_rect;
SDL_Point bmp_offset;