From 8d644c6d4c06f35b51e5c5a91128adc676fca3ac Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 11 Apr 2023 08:11:21 +0200 Subject: [PATCH] reordered spritesheet loading to be more userfriendly --- src/game.cc | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/game.cc b/src/game.cc index 1c8a36e..b4d28ea 100644 --- a/src/game.cc +++ b/src/game.cc @@ -92,32 +92,31 @@ void load_game() { sprite_from_spritesheet(&world_sheet, 0), sprite_from_spritesheet(&world_sheet, 1), sprite_from_spritesheet(&world_sheet, 2), - sprite_from_spritesheet(&world_sheet, 3), - sprite_from_spritesheet(&world_sheet, 4), - sprite_from_spritesheet(&world_sheet, 5), sprite_from_spritesheet(&world_sheet, 10), sprite_from_spritesheet(&world_sheet, 11), sprite_from_spritesheet(&world_sheet, 12), - sprite_from_spritesheet(&world_sheet, 13), - sprite_from_spritesheet(&world_sheet, 14), - sprite_from_spritesheet(&world_sheet, 15), sprite_from_spritesheet(&world_sheet, 20), sprite_from_spritesheet(&world_sheet, 21), sprite_from_spritesheet(&world_sheet, 22), - sprite_from_spritesheet(&world_sheet, 23), - sprite_from_spritesheet(&world_sheet, 24), - sprite_from_spritesheet(&world_sheet, 25), sprite_from_spritesheet(&world_sheet, 30), sprite_from_spritesheet(&world_sheet, 31), sprite_from_spritesheet(&world_sheet, 32), - }; - for(int i=0;i