eco2d/code/game/src/asset_setup.h

24 lines
578 B
C
Raw Normal View History

2021-11-02 12:02:08 +00:00
#error DO NOT INCLUDE THIS FILE
// NOTE(zaklaus): This file acts as a shortcut for setting up assets in the eco2d
// use your favorite editor to quickly navigate between various files.
// 1) Register a new Asset ID
#include "assets.h"
// 2) Add the asset to the asset list
#include "assets_list.c"
2021-11-02 17:09:54 +00:00
// 3) Assign a texture (if applicable)
#include "texgen.c"
2021-11-02 12:02:08 +00:00
// NOTE(zaklaus): Now that your asset is registered, we
// can use it in other systems
// NOTE(zaklaus): Register a block
2021-11-02 17:09:54 +00:00
#include "blocks/blocks_list.c"
2021-11-02 12:02:08 +00:00
// NOTE(zaklaus): Register an item
#include "items_list.c"