add new items
parent
f99cbc8018
commit
ee7ff6a6c3
|
@ -22,6 +22,12 @@ Texture2D texgen_build_sprite_fallback(asset_id id) {
|
||||||
|
|
||||||
// NOTE(zaklaus): items
|
// NOTE(zaklaus): items
|
||||||
case ASSET_COAL: return LoadTexEco("coal");
|
case ASSET_COAL: return LoadTexEco("coal");
|
||||||
|
case ASSET_IRON_ORE: return LoadTexEco("iron_ore");
|
||||||
|
//case ASSET_IRON_INGOT: return LoadTexEco("iron_ingot");
|
||||||
|
case ASSET_IRON_PLATES: return LoadTexEco("iron_plate");
|
||||||
|
case ASSET_SCREWS: return LoadTexEco("screws");
|
||||||
|
case ASSET_LOG: return LoadTexEco("log");
|
||||||
|
case ASSET_PLANK: return LoadTexEco("plank");
|
||||||
|
|
||||||
// NOTE(zaklaus): blocks
|
// NOTE(zaklaus): blocks
|
||||||
case ASSET_FENCE: return LoadTexEco("fence");
|
case ASSET_FENCE: return LoadTexEco("fence");
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
X(ASSET_COAL)\
|
X(ASSET_COAL)\
|
||||||
X(ASSET_IRON_ORE)\
|
X(ASSET_IRON_ORE)\
|
||||||
X(ASSET_IRON_INGOT)\
|
X(ASSET_IRON_INGOT)\
|
||||||
|
X(ASSET_IRON_PLATES)\
|
||||||
|
X(ASSET_SCREWS)\
|
||||||
|
X(ASSET_LOG)\
|
||||||
|
X(ASSET_PLANK)\
|
||||||
X(ASSET_TEST_TALL)\
|
X(ASSET_TEST_TALL)\
|
||||||
X(ASSET_BELT)\
|
X(ASSET_BELT)\
|
||||||
X(ASSET_BELT_LEFT)\
|
X(ASSET_BELT_LEFT)\
|
||||||
|
|
|
@ -16,6 +16,12 @@ static asset assets[] = {
|
||||||
ASSET_TEX(ASSET_BLOCK_FRAME),
|
ASSET_TEX(ASSET_BLOCK_FRAME),
|
||||||
ASSET_TEX(ASSET_BUILDMODE_HIGHLIGHT),
|
ASSET_TEX(ASSET_BUILDMODE_HIGHLIGHT),
|
||||||
ASSET_TEX(ASSET_COAL),
|
ASSET_TEX(ASSET_COAL),
|
||||||
|
ASSET_TEX(ASSET_IRON_ORE),
|
||||||
|
ASSET_TEX(ASSET_IRON_INGOT),
|
||||||
|
ASSET_TEX(ASSET_IRON_PLATES),
|
||||||
|
ASSET_TEX(ASSET_SCREWS),
|
||||||
|
ASSET_TEX(ASSET_LOG),
|
||||||
|
ASSET_TEX(ASSET_PLANK),
|
||||||
ASSET_TEX(ASSET_CHEST),
|
ASSET_TEX(ASSET_CHEST),
|
||||||
ASSET_TEX(ASSET_FURNACE),
|
ASSET_TEX(ASSET_FURNACE),
|
||||||
ASSET_TEX(ASSET_CRAFTBENCH),
|
ASSET_TEX(ASSET_CRAFTBENCH),
|
||||||
|
|
|
@ -25,4 +25,11 @@ static item_desc items[] = {
|
||||||
ITEM_ENT(ASSET_CHEST, 32, ASSET_CHEST),
|
ITEM_ENT(ASSET_CHEST, 32, ASSET_CHEST),
|
||||||
ITEM_ENT(ASSET_CRAFTBENCH, 32, ASSET_CRAFTBENCH),
|
ITEM_ENT(ASSET_CRAFTBENCH, 32, ASSET_CRAFTBENCH),
|
||||||
ITEM_ENT(ASSET_FURNACE, 32, ASSET_FURNACE),
|
ITEM_ENT(ASSET_FURNACE, 32, ASSET_FURNACE),
|
||||||
|
|
||||||
|
ITEM_HOLD(ASSET_IRON_ORE, 64),
|
||||||
|
ITEM_HOLD(ASSET_IRON_INGOT, 64),
|
||||||
|
ITEM_HOLD(ASSET_IRON_PLATES, 64),
|
||||||
|
ITEM_HOLD(ASSET_SCREWS, 64),
|
||||||
|
ITEM_HOLD(ASSET_LOG, 64),
|
||||||
|
ITEM_HOLD(ASSET_PLANK, 64),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue