equal
deleted
inserted
replaced
7 #include "../fileio_func.h" |
7 #include "../fileio_func.h" |
8 #include "../debug.h" |
8 #include "../debug.h" |
9 #include "../core/alloc_func.hpp" |
9 #include "../core/alloc_func.hpp" |
10 #include "grf.hpp" |
10 #include "grf.hpp" |
11 |
11 |
12 bool SpriteLoaderGrf::LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos) |
12 bool SpriteLoaderGrf::LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos, SpriteType sprite_type) |
13 { |
13 { |
14 /* Open the right file and go to the correct position */ |
14 /* Open the right file and go to the correct position */ |
15 FioSeekToFile(file_slot, file_pos); |
15 FioSeekToFile(file_slot, file_pos); |
16 |
16 |
17 /* Read the size and type */ |
17 /* Read the size and type */ |