David Capello
f09318ffa7
Do not update key_shifts flags anymore in Windows.
...
Update modifiers in key[] array using GetAsyncKeyState() instead of GetKeyboardState().
2010-10-20 00:12:32 -03:00
David Capello
e1bfbc4f3c
Move _al_win_* functs to aintwin.h.
2010-10-20 00:09:12 -03:00
David Capello
3de0da7f93
Move PAINTSTRUCT to WM_PAINT only.
2010-10-20 00:08:07 -03:00
David Capello
b01ebedbd8
Add "Alt" possibility for keyboard shortcuts in gui.xml.
2010-10-20 00:07:48 -03:00
David Capello
39e7fc5fea
Do not use key_shifts anymore.
2010-10-20 00:07:27 -03:00
David Capello
9e4972fc53
Remove dependency with DirectInput and delete winput.c file.
2010-10-17 23:43:08 -03:00
David Capello
a877d52048
Modify Allegro to use WM_KEYUP/DOWN messages instead of DirectInput.
2010-10-17 21:55:31 -03:00
David Capello
57b54ad050
Modify Allegro to use WM_MOUSEMOVE instead of DirectInput in the Windows mouse driver.
2010-10-17 20:04:26 -03:00
David Capello
f9aa176c09
Remove sound/digi/midi/sample related stuff from Allegro code.
2010-10-17 11:10:18 -07:00
David Capello
1b4ce4cf9b
Remove src/allegro/src/linux code.
2010-10-17 10:35:39 -07:00
David Capello
31eb7f3348
Remove unused files from src/allegro/misc/.
2010-10-17 14:19:01 -03:00
David Capello
7d5e78ea94
Remove ASM code from Allegro source.
2010-10-17 14:12:18 -03:00
David Capello
c277b26e90
Fix compilation errors with gcc in Mac OS X (void* <-> int conversions).
2010-10-17 00:49:28 -03:00
David Capello
baae56c7d6
Remove thread::id type (to avoid using pthread_t as an unsigned int, which is an opaque pointer really).
2010-10-17 00:41:29 -03:00
David Capello
13bb881151
Remove joystick stuff from Allegro source code.
2010-10-16 23:16:55 -03:00
David Capello
0d4c1dbf9c
Remove Allegro GUI related stuff.
2010-10-16 22:48:45 -03:00
David Capello
6aac8ef51d
Remove PSP specific lines in Common.cmake.
2010-10-16 21:48:52 -03:00
David Capello
71cc031741
Remove DOS/BeOS/djgpp/QNX/BCC32/Watcom/DMC/PSP stuff from Allegro source code.
2010-10-16 21:42:50 -03:00
David Capello
3b983ca2a6
Remove fixes for rc compiler in MinGW.
2010-10-16 20:45:41 -03:00
David Capello
87d2d5595f
Move link flags and other cmake configuration from Allegro's CMakeLists.txt to the main CMakeLists.txt.
...
Remove all the "modules" stuff from Allegro's CMakeLists.txt
2010-10-16 17:02:12 -03:00
David Capello
948a5e0a5d
Add "allegro" library as part of the ASE build process.
2010-10-16 14:30:04 -03:00
David Capello
c6ba92dd0e
Add Allegro source code (branch 4.4, svn revision 13829).
2010-10-16 14:12:10 -03:00
David Capello
5f19a15dc1
Simple fix to improve performance in Linux with pixel scaling > x1.
2010-10-14 19:19:40 -07:00
David Capello
fb0e82be08
Add JI_DIRTY flag to optimize jwidget_flush_redraw().
2010-10-14 19:04:13 -07:00
David Capello
ab32c37955
Add "install" target so we can use "make install" on Linux.
2010-10-12 17:19:19 -07:00
David Capello
31783ffefc
Remove DEFAULT_PREFIX variable (on Linux resources are searched in ../share now).
2010-10-12 17:18:42 -07:00
David Capello
a14d0cd59c
Minor change in SkinneableTheme::reload_skin().
2010-10-12 17:16:07 -07:00
David Capello
bd2db4508e
Do not center the mouse pointer when zoom (Paul Pridham idea).
2010-10-12 10:37:54 -03:00
David Capello
1bbcf0af38
Remove linking two times aseprite-library in aseprite target.
2010-10-12 10:21:52 -03:00
David Capello
623c1066bd
Avoid asserting leak of GfxObjs when MEMLEAK is defined.
2010-10-12 10:21:17 -03:00
David Capello
f3fcc8fd3e
Temporarily commented the SpriteReader in editor's JM_DRAW because "Preview" does not work with it.
2010-10-12 10:20:47 -03:00
David Capello
4c5a0177cc
Convert Dirty to a class.
...
Remove all deprecated code of Dirty class that was not being used because the new ASE 0.8 tools implementation.
Remove pointers to an Image/Mask from Dirty class.
2010-10-11 14:57:04 -03:00
David Capello
9f58d0378a
Remove algo_dirty() and old 00dirty.cpp test/example.
2010-10-10 21:19:56 -03:00
David Capello
5b93db64ba
Add imgtype_shift() and imgtype_line_size().
2010-10-10 21:17:59 -03:00
David Capello
27fe8f2ffe
Call sheet_mapping.clear() in ~SkinneableTheme() to avoid false memory leaks.
2010-10-10 18:57:37 -03:00
David Capello
7f14c8e287
Move GfxObjId type to gfxobj_id.h file.
2010-10-10 18:56:59 -03:00
David Capello
3774d6a167
Lock the editor's sprite to draw it in JM_DARW message.
2010-10-10 18:56:22 -03:00
David Capello
3917892a16
Use replaceStockImage() in Undoable::setImgType() to avoid duplicated code.
2010-10-10 18:54:30 -03:00
David Capello
8b7367a1bb
Show SymGetLineFromAddr() information whatever is the SymFromAddr() result.
2010-10-10 17:09:49 -03:00
David Capello
baa0d8f469
Fix __builtin_return_address() for MSVC (problems accessing to the address pointed by eax when it is too small).
2010-10-10 17:07:55 -03:00
David Capello
2be85b1ee5
Fix huge problems using "headslot" in multiple threads.
2010-10-10 16:47:50 -03:00
David Capello
f86c306bab
Add ENABLE_MEMLEAK parameter to CMakeLists.txt (fix jmem.cpp so it can be compiled when MEMLEAK is defined).
2010-10-10 16:47:01 -03:00
David Capello
f85070c1c6
Add Dirty::getMemSize() method.
2010-10-09 14:15:11 -03:00
David Capello
072b19a9bb
Add a comment in Undo::updateUndo() about the usage of get_config_int() function.
2010-10-03 17:08:06 -03:00
David Capello
7dd78886e2
Remove unnecessary #include <string.h> in undo.h
2010-10-03 15:52:33 -03:00
David Capello
514d666747
Add virtual method getMemSize() to GfxObj class (overriden by Image, Cel, Layer, etc.).
...
These methods will be used for a new implementation of Undo.
2010-10-03 15:51:03 -03:00
David Capello
070be38e81
Remove "state" arg from UndoAction::invert() function.
2010-10-03 15:24:53 -03:00
David Capello
03c5d0030a
Convert UndoStream in a class.
2010-10-03 15:19:18 -03:00
David Capello
6f50c62ace
Rename undo_exception to UndoException.
2010-10-03 14:52:50 -03:00
David Capello
b49359314c
Modify jnew(FileOp) with "new FileOp".
2010-10-03 13:50:01 -03:00