src/spriteloader/spriteloader.hpp
branchNewGRF_ports
changeset 10991 d8811e327d12
parent 10724 68a692eacf22
equal deleted inserted replaced
10731:67db0d431d5e 10991:d8811e327d12
    24 	};
    24 	};
    25 
    25 
    26 	/**
    26 	/**
    27 	 * Load a sprite from the disk and return a sprite struct which is the same for all loaders.
    27 	 * Load a sprite from the disk and return a sprite struct which is the same for all loaders.
    28 	 */
    28 	 */
    29 	virtual bool LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, uint32 file_pos) = 0;
    29 	virtual bool LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos) = 0;
    30 
    30 
    31 	virtual ~SpriteLoader() { }
    31 	virtual ~SpriteLoader() { }
    32 };
    32 };
    33 
    33 
    34 #endif /* SPRITELOADER_HPP */
    34 #endif /* SPRITELOADER_HPP */