Files
@ r10066:d73a08a8dd72
Branch filter:
Location: cpp/openttd-patchpack/source/src/spriteloader/png.hpp - annotation
r10066:d73a08a8dd72
457 B
text/x-c++hdr
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
r6896:34553e48985a r6896:34553e48985a r9111:983de9c5a848 r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a r10056:7a18efcd8edb r6896:34553e48985a r6896:34553e48985a r6896:34553e48985a | /* $Id$ */
/** @file png.hpp Base for reading files from PNG. */
#ifndef SPRITELOADER_PNG_HPP
#define SPRITELOADER_PNG_HPP
#include "spriteloader.hpp"
class SpriteLoaderPNG : public SpriteLoader {
public:
/**
* Load a sprite from the disk and return a sprite struct which is the same for all loaders.
*/
bool LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos, SpriteType sprite_type);
};
#endif /* SPRITELOADER_PNG_HPP */
|