Making teams messages disapear

This commit is contained in:
AnonymusRaccoon
2020-03-06 17:28:30 +01:00
parent 27950654f0
commit ac1b41df02
22 changed files with 319 additions and 129 deletions
+24
View File
@@ -0,0 +1,24 @@
//
// Created by anonymus-raccoon on 3/3/20.
//
#ifndef _TEAMS_COMPONENT_C_
#define _TEAMS_COMPONENT_H_
#include "component.h"
typedef enum display_type
{
HAPPINESS_DISPLAY
} display_type;
struct game_display
{
gc_component base;
display_type type;
};
const struct game_display game_display;
const struct gc_system game_display_system;
#endif //_TEAMS_COMPONENT_C_
+18
View File
@@ -0,0 +1,18 @@
//
// Created by anonymus-raccoon on 3/3/20.
//
#ifndef _TEAMS_COMPONENT_C_
#define _TEAMS_COMPONENT_H_
#include "component.h"
struct game_manager
{
gc_component base;
int happiness;
};
const struct game_manager game_manager;
#endif //_TEAMS_COMPONENT_C_
+1
View File
@@ -13,6 +13,7 @@ struct teams_component
float next_teams;
float delay;
char **prefabs;
int *prefabs_size;
int prefab_count;
};