art: updated textures
After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 366 B |
BIN
art/gen/log.png
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 588 B |
|
@ -23,7 +23,7 @@ Texture2D texgen_build_sprite_fallback(asset_id id) {
|
|||
// NOTE(zaklaus): items
|
||||
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_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");
|
||||
|
|
|
@ -17,7 +17,7 @@ typedef struct {
|
|||
|
||||
uint32_t craft__find_num_recipes_by_reagent(asset_id producer, asset_id id) {
|
||||
uint32_t num_recipes=0;
|
||||
for (int i = 0; i < MAX_RECIPES; ++i) {
|
||||
for (int i = 0; i < (int)MAX_RECIPES; ++i) {
|
||||
if (recipes[i].producer == producer) {
|
||||
for (int j = 0; recipes[i].reagents[j].id; ++j) {
|
||||
if (recipes[i].reagents[j].id == id) {
|
||||
|
@ -30,7 +30,7 @@ uint32_t craft__find_num_recipes_by_reagent(asset_id producer, asset_id id) {
|
|||
}
|
||||
|
||||
recipe *craft__find_recipe_by_reagent(asset_id producer, asset_id id, uint32_t slot_id) {
|
||||
for (int i = 0; i < MAX_RECIPES; ++i) {
|
||||
for (int i = 0; i < (int)MAX_RECIPES; ++i) {
|
||||
if (recipes[i].producer == producer) {
|
||||
for (int j = 0; recipes[i].reagents[j].id; ++j) {
|
||||
if (recipes[i].reagents[j].id == id) {
|
||||
|
|