David Capello
4e72997a02
Use Allegro's ASSERT() instead of assert().
2010-08-03 23:33:44 -03:00
David Capello
7869642c83
Quantize a palette for RGB images when they are loaded.
2010-04-12 21:41:26 -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
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
2a27405173
Added Vaca::Mutex.
...
Now Vaca is compiled as a library (.lib/.a).
Removed jmutex.cpp, jpoint.cpp, jsize.cpp.
2010-03-10 00:34:50 -02: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
11a094cb05
Moved app.cpp from src/core/ to src/
2009-12-11 14:53:05 +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
3dbb7c088b
Moved console.* from src/console to src/
2009-08-17 19:32:09 +00:00
David Capello
3885f37f45
+ CurrentSprite class was split in SpriteWrapper/Reader/Writer, and CurrentSpriteReader/Writer wrappers.
...
+ More routines are using exceptions for error handling.
+ Added JWidgetPtr class.
+ Added Undoable::set_imgtype/layer_from_background/flatten_layers.
2009-06-11 15:11:11 +00:00
David Capello
c4be9fe5b4
Added Context and UIContext classes.
...
Added CurrentSprite class.
Removed current_sprite global.
Moved all functions of 'sprites' module to Context/UIContext.
2009-06-01 02:59:15 +00:00
David Capello
8f92f78702
- Added Job class.
...
- Added SpriteSizeJob class.
- Added ScopedLock class.
- Fixed some bugs.
2009-05-31 20:15:38 +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