12345678910111213141516171819
#ifndef __UOPUOSPRITE_H__ #define __UOPUOSPRITE_H__ #include <fstream> #include <SDL/SDL_types.h> class UOSprite{ public: UOSprite(); UOSprite(Uint16,Uint16); UOSprite(const UOSprite &); virtual ~UOSprite(); void resize(Uint16 w,Uint16 h); Sint16 width, /**< Width of sprite */ height; /**< Height of sprite */ Uint16 *data; /**< Sprite pixels */ }; #endif