aseprite/src
2014-09-21 12:13:13 -03:00
..
allegro Win32: Don't process extra mouse buttons messages (related to issue #483) 2014-09-11 00:02:33 -03:00
app Use fixmath lib in point shapes 2014-09-21 12:13:13 -03:00
base Add base_assert/trace functions 2014-09-20 23:51:56 -03:00
css
doc
filters Remove ji_screen and ji_clock global variables 2014-08-31 14:17:49 -03:00
fixmath Use fixmath lib in point shapes 2014-09-21 12:13:13 -03:00
gen Add "Size" options in CanvasSizeCommand to specify width/height 2014-09-08 02:27:41 -03:00
gfx
iff
main Update version to 1.0.5-dev 2014-09-09 08:52:22 -03:00
net
raster Add fixmath library 2014-09-21 11:51:24 -03:00
scripting
she Add she::is_key_pressed() and clear_keyboard_buffer() 2014-09-21 11:40:55 -03:00
tests
ui Add she::is_key_pressed() and clear_keyboard_buffer() 2014-09-21 11:40:55 -03:00
undo
updater
webserver
CMakeLists.txt Use fixmath lib in point shapes 2014-09-21 12:13:13 -03:00
config.h Add base_assert/trace functions 2014-09-20 23:51:56 -03:00
README.md

Aseprite Source Code

If you are here is because you want to learn about Aseprite source code. We'll try to write in these README.md files a summary of each module/library.

Modules & Libraries

Aseprite is separated in the following layers/modules:

Level 0: Completely independent modules

These libraries are easy to be used and embedded in other software because they don't depend on any other component.

  • allegro: Modified version of Allegro library, used for keyboard/mouse input, and drawing 2D graphics on screen.
  • base: Core/basic stuff, multithreading, utf8, sha1, file system, memory, etc.
  • css: Pseudo-style sheet library.
  • gfx: Abstract graphics structures like point, size, rectangle, region, color, etc.
  • scripting: JavaScript engine (V8).
  • undo: Generic library to manage undo history of undoable actions.

Level 1

  • cfg (base, allegro): Library to handle configuration/settings/user preferences.
  • gen (base): Helper utility to generate C++ files from different XMLs.
  • net (base): Networking library to send HTTP requests.
  • raster (base, gfx): Library to handle graphics entities like sprites, images, frames.
  • she (base, gfx, allegro): A wrapper for the Allegro library.
  • webserver (base): HTTP web server (based on mongoose)

Level 2

  • doc (raster, base, gfx): Document model library.
  • filters (base, gfx, raster): FX for raster images.
  • ui (base, gfx, she): Portable UI library (buttons, windows, text fields, etc.)
  • updater (base, net): Component to check for updates.

Level 3

  • iff (base, doc): Image File Formats library (load/save documents).

Level 4

  • app (allegro, base, doc, filters, gfx, iff, raster, scripting, she, ui, undo, updater, webserver)

Level 5

  • main (app, base, she, ui)