HeavenIsLost / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Create SpriteWriter and Sprite class #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The SpriteWriter class should do the contrary of the SpriteReader, that is,
provide the facility to store a sprite (or sprites) back to the Tibia.spr file.

Create the Sprite class, which stores the data relevant to the sprite,
like, sprite id, perhaps the item id if applicable, dimensions, size
(bytes), binary offset in Tibia.spr, etc. This class also contains the data
of the image as is (as stored in the Tibia.spr file) or as Bitmap.

Create the SpriteCollection class, allowing iteration over sprites
(perhaps, all sprites of a certain item).

Original issue reported on code.google.com by ing.cabr...@gmail.com on 6 May 2009 at 6:16

GoogleCodeExporter commented 9 years ago
I'll look in to adding this, and might as well add a Dat/Pic Reader/Writer 
class too.

Original comment by joebingham07@gmail.com on 10 Nov 2009 at 7:19