Use uint32 instead of SDL_Color

This commit is contained in:
2025-09-28 11:08:38 +02:00
parent 695b9d16de
commit 0ade2938f3
+1 -2
View File
@@ -1,7 +1,6 @@
#pragma once
#include <glib-2.0/glib.h>
#include <SDL3/SDL.h>
#include <common/world.h>
@@ -9,7 +8,7 @@ typedef struct Player
{
unsigned int id;
const char *name;
SDL_Color color; /* 4 bytes */
guint32 color; /* 4 bytes */
unsigned int power;
unsigned int population, max_population;