eco2d/code/foundation/src/models/asset_setup.h

23 lines
583 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
2022-09-29 18:11:47 +00:00
#include "models/assets.h"
2021-11-02 12:02:08 +00:00
// 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
2022-09-12 07:44:36 +00:00
#include "world/blocks_list.c"
2021-11-02 12:02:08 +00:00
// NOTE(zaklaus): Register an item
#include "items_list.c"