David Capello
7ba3c5df9d
Fix warnings in GCC (unused variables, size_t and int comparisons, unhandled enum cases in switch, etc.).
2010-08-11 23:42:03 -03:00
David Capello
4e72997a02
Use Allegro's ASSERT() instead of assert().
2010-08-03 23:33:44 -03:00
David Capello
548c82adaf
Fixed save/load operations of .ase format for sprites with less than 256 colors.
2010-06-23 10:38:07 -03:00
David Capello
475d0eeb1b
Refactored Sprite class: no public variable members, all functions sprite_* go as Sprite function members, pimpl idiom.
2010-03-30 21:43:18 -03:00
David Capello
a7ecb08f2c
Fixed some GCC warnings and errors.
2010-03-30 09:48:19 -03:00
David Capello
ffdd4cf848
Removed some warnings in ase_format.cpp.
2010-03-29 21:32:37 -03:00
David Capello
4810ab8228
Added compressed images (with zlib) to .ase format.
2010-03-28 16:18:15 -03:00
David Capello
65466cfe04
Moved "ncolor" field in .ase format to next WORD position (the "unknown field" looks like a DWORD).
2010-03-28 16:17:51 -03:00
David Capello
ee878c87e9
Modified Palette class to contain all functions to manipulate it as function members.
...
Modified its implementation to use std::vector<> instead of a raw C array[].
Now the number of colors in the sprite is more relevant (e.g. we should be able to create sprites of 4bpp, 16 colors).
2010-03-28 12:15:32 -03:00
David Capello
b676b74166
Fixed bug in LayerImage::destroy_all_cels() using cel_is_link() in deleted cels.
...
Removed cel_is_link() function because link cels do not exist anymore.
2010-03-26 11:44:27 -03:00
David Capello
b747ccdaa6
Updated copyright year to 2010
2010-02-01 21:25:40 +00:00
David Capello
96759c9c17
Converted all TRUE/FALSE to C++ true/false
2010-01-30 16:43:13 +00:00
David Capello
cbc0bf22bd
Refactored Layer class to include all layer_* functions as member functions.
2009-11-17 13:12:26 +00:00
David Capello
dd003a8f33
- Now "Image" is a C++ class with virtual methods;
...
- Removed ImageMethods (the C vtable for old "Image" structure);
- Added ImageImpl and ImageTraits;
- Added "Sprite Size" command (feature #2671468 );
- Added "Canvas Size" command;
2009-05-31 16:02:32 +00:00
David Capello
8e498470d5
Fixed bug #2511762 (thanks to Clayton Enga for the patch).
...
Added the feature #2419098 (David Campo idea).
2009-01-24 00:41:01 +00:00
David Capello
a587132ffe
Project converted to C++.
2008-09-30 21:01:54 +00:00