Implemented main conversion module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5587 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -74,9 +74,10 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A attribute ((unused))
|
||||
GetBitmapColors (B) != 2 ||
|
||||
GetBitmapHeight (B) != HEIGHT ||
|
||||
GetBitmapWidth (B) != WIDTH) {
|
||||
|
||||
|
||||
printf ("w = %u, h = %u\n", GetBitmapWidth (B), GetBitmapHeight (B));
|
||||
Error ("Bitmaps converted to vic2 sprite format must be in indexed "
|
||||
"mode with 2 colors max and a size of %ux%u", WIDTH, HEIGHT);
|
||||
"mode with a size of %ux%u and two colors", WIDTH, HEIGHT);
|
||||
}
|
||||
|
||||
/* Create the output buffer and resize it to the required size. */
|
||||
|
||||
Reference in New Issue
Block a user