make prefabs folder
parent
914b72c44f
commit
8e013c4171
|
@ -10,11 +10,12 @@ add_library(eco2d-foundation STATIC
|
|||
|
||||
src/ents/items.c
|
||||
src/ents/entity.c
|
||||
src/ents/player.c
|
||||
src/ents/vehicle.c
|
||||
src/ents/storage.c
|
||||
src/ents/device.c
|
||||
src/ents/furnace.c
|
||||
|
||||
src/ents/prefabs/player.c
|
||||
src/ents/prefabs/vehicle.c
|
||||
src/ents/prefabs/storage.c
|
||||
src/ents/prefabs/furnace.c
|
||||
|
||||
src/pkt/packet.c
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "debug/debug_ui.h"
|
||||
#include "debug/debug_draw.h"
|
||||
#include "raylib.h"
|
||||
#include "ents/vehicle.h"
|
||||
#include "ents/prefabs/vehicle.h"
|
||||
#include "core/camera.h"
|
||||
#include "world/world.h"
|
||||
#include "core/game.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// NOTE(zaklaus): access to spawners
|
||||
#include "ents/storage.h"
|
||||
#include "ents/furnace.h"
|
||||
#include "ents/prefabs/storage.h"
|
||||
#include "ents/prefabs/furnace.h"
|
||||
|
||||
static struct {
|
||||
asset_id id;
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#include "ents/furnace.h"
|
||||
#include "furnace.h"
|
||||
#include "ents/device.h"
|
||||
#include "ents/entity.h"
|
||||
#include "world/entity_view.h"
|
||||
#include "world/world.h"
|
||||
|
||||
#include "ecs/components.h"
|
||||
|
|
@ -1,13 +1,9 @@
|
|||
#include "ents/player.h"
|
||||
#include "ents/entity.h"
|
||||
#include "player.h"
|
||||
#include "world/entity_view.h"
|
||||
#include "flecs/flecs.h"
|
||||
#include "librg.h"
|
||||
|
||||
#include "world/world.h"
|
||||
|
||||
#include "ecs/components.h"
|
||||
#include "ecs/systems.h"
|
||||
#include "zpl.h"
|
||||
|
||||
#define PLAYER_MAX_HP 100.0f
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
#include "ents/storage.h"
|
||||
#include "storage.h"
|
||||
#include "ents/device.h"
|
||||
#include "ents/entity.h"
|
||||
#include "world/entity_view.h"
|
||||
#include "world/world.h"
|
||||
|
||||
#include "ecs/components.h"
|
|
@ -1,5 +1,5 @@
|
|||
#include "ents/vehicle.h"
|
||||
#include "ents/entity.h"
|
||||
#include "vehicle.h"
|
||||
|
||||
#include "world/entity_view.h"
|
||||
#include "world/world.h"
|
||||
|
|
@ -21,3 +21,6 @@
|
|||
// NOTE(zaklaus): Register an item
|
||||
#include "items_list.c"
|
||||
|
||||
// NOTE(zaklaus): Register a spawnable entity
|
||||
#include "ents/entity_spawnlist.c"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "packets/pkt_00_init.h"
|
||||
#include "world/world.h"
|
||||
#include "core/game.h"
|
||||
#include "ents/player.h"
|
||||
#include "ents/prefabs/player.h"
|
||||
|
||||
#include "ecs/components.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "net/network.h"
|
||||
#include "world/entity_view.h"
|
||||
#include "core/camera.h"
|
||||
#include "ents/player.h"
|
||||
#include "ents/prefabs/player.h"
|
||||
#include "ents/entity.h"
|
||||
|
||||
#include "ecs/components.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "net/network.h"
|
||||
#include "world/entity_view.h"
|
||||
#include "core/camera.h"
|
||||
#include "ents/player.h"
|
||||
#include "ents/prefabs/player.h"
|
||||
|
||||
#include "ecs/components.h"
|
||||
#include "ecs/systems.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "ecs/components.h"
|
||||
#include "ents/entity.h"
|
||||
#include "ents/vehicle.h"
|
||||
#include "ents/prefabs/vehicle.h"
|
||||
#include "ents/items.h"
|
||||
#include "world/blocks_info.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "ecs/components.h"
|
||||
#include "ents/entity.h"
|
||||
#include "ents/vehicle.h"
|
||||
#include "ents/prefabs/vehicle.h"
|
||||
#include "ents/items.h"
|
||||
#include "world/blocks_info.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue