mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 00:19:13 +00:00
27b55030e2
It looks like Allegro library was changing the locale to the active one, and it can break things like strtod() (which is used to convert colors from string format in AddColor command). In this case, if we added a HSV color with double floating-point precision, it was added incorrectly because strtod() wasn't taking the decimal part. |
||
---|---|---|
.. | ||
cmake | ||
include | ||
src | ||
CMakeLists.txt | ||
README.md |
This is a modified version of Allegro library (branch 4.4) specially patched for Aseprite by David Capello.
Changes:
- Mouse driver for Windows was modified to use WM_MOUSEMOVE instead of DirectInput (like in Allegro 5).
- Keyboard driver for Windows was modified to use WM_KEYDOWN/UP messages instead of DirectInput (like in Allegro 5).
- Added resize support for Windows, X11, and Mac OS X ports.
- Removed code and functions that are not used (Allegro GUI, audio, MIDI, joystick, etc.).
- The HWND class has CS_DBLCLKS enabled (so UI code can detect double-clicks from Windows messages).
- Fixed issues recreating DirectX surfaces
- Fixed OS X mouse issues
- Support for x64
- Several other changes