jblanked 9 месяцев назад
Родитель
Сommit
ca7bd6821a
3 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      game/icon.h
  2. 1 1
      game/level.h
  3. 2 2
      game/player.h

+ 1 - 1
game/icon.h

@@ -4,7 +4,7 @@
 
 typedef struct
 {
-    char id[32];
+    char id[24];
     const Icon *icon;
     Vector size;
 } IconContext;

+ 1 - 1
game/level.h

@@ -3,7 +3,7 @@
 #include "flip_world.h"
 typedef struct
 {
-    char id[64];
+    char id[32];
     int index;
 } LevelContext;
 

+ 2 - 2
game/player.h

@@ -6,12 +6,12 @@
 
 #define MAX_ENEMIES 5
 #define MAX_LEVELS 5
-#define MAX_NPCS 5
+#define MAX_NPCS 1
 
 // EntityContext definition
 typedef struct
 {
-    char id[64];                // Unique ID for the entity type
+    char id[32];                // Unique ID for the entity type
     int index;                  // Index for the specific entity instance
     Vector size;                // Size of the entity
     Sprite *sprite_right;       // Entity sprite when looking right