src/spriteloader/grf.cpp
changeset 10056 48659f7d4fa5
parent 10039 1f236afd6cd1
child 10062 8ec5e3f048b7
equal deleted inserted replaced
10055:b3bf982d7879 10056:48659f7d4fa5
     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 */