Commit Graph

43 Commits

Author SHA1 Message Date
David Capello
31e565a2b0 Add "gen" utility to generate UI widget wrappers from XML files 2014-07-13 13:24:57 -03:00
David Capello
7ffce344bd Add CUSTOM_WEBSITE_URL option to test a local webserver 2014-06-02 21:31:44 -03:00
David Capello
dd2ce20e25 Win32: Add support to convert mouse messages (WM_) to ui::Messages (using she::Events)
On Windows, instead of polling Allegro mouse position/buttons we can use
the mouse messages (WM_*) directly to generate she::Events. Those events
are received by the ui::Manager and converted to ui::Messages.
Maybe this is a possible fix for issue #133 (Wacom tablets don't work
properly).

Changes:
- Don't use jmouse_z() directly (new ui::MouseMessage::wheelDelta() member)
- Add ui::_internal_set_mouse_position() to change the jmouse_x/y(0)
  from the new mouse position received in she::Events. The same for
  ui::_internal_set_mouse_buttons().
- Modify the ui::Manager to generate mouse events in any case: using old
  Allegro 4 polling method, or from she::Events.
2014-04-17 22:23:12 -03:00
David Capello
30af4e2620 Add trial-mode without save functionality 2014-04-10 00:33:28 -03:00
David Capello
5b252c30f5 Add support for Unicode file names on Windows
- Fixed issue #46: open .png files with Unicode chars
- Fixed issue #150: ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
2013-10-14 19:58:11 -03:00
David Capello
2364776c44 Add HTTP webserver feature (for testing only at the moment) 2013-03-31 00:36:00 -03:00
David Capello
9b8e87da10 Update copyright year to 2013 2013-01-27 12:13:13 -03:00
David Capello
7a062b61a8 Add support for VC++11 (2012) 2012-10-30 21:08:33 -03:00
David Capello
a35aa7559a Do not use the embedded libloadpng.
Add the option to use a shared libloadpng library.
Patch by Tobias Hansen <tobias.han@gmx.de>
2012-07-08 21:21:01 -03:00
David Capello
be82a49f86 Add option to compile using shared gtest library (thanks to Tobias Hansen). 2012-03-19 14:33:49 -03:00
David Capello
49614f6f41 Always add third_party/libpng to include directories (thanks to Tobias Hansen).
Because private libpng headers are used by loadpng and
src/file/png_format.cpp.
2012-03-19 14:27:00 -03:00
David Capello
7115806dc4 Create option to build with shared tinyxml (thanks to Tobias Hansen). 2012-03-19 14:04:24 -03:00
David Capello
c4c44bf7e2 Add support to compile with shared Allegro 4 library. 2012-03-19 13:24:15 -03:00
David Capello
9c37384d3b Windows XP is the minimum supported platform. 2012-03-16 22:22:56 -03:00
David Capello
71f044751f Add flags to link with giflib and curl shared libraries.
Removed freetype and libart in the linking process because they
are not used anymore (the source code is still in the repository).
2012-03-15 00:17:49 -03:00
David Capello
bbd14b42b7 Add zlib bin directory to include zconf.h in ase_format.cpp 2012-01-07 21:32:53 -03:00
David Capello
b8fbaad7fb Replace Allegro Sprite Editor or ASE with ASEPRITE in all files. 2012-01-06 01:12:57 -03:00
David Capello
02a9d50524 Update copyright year to 2012. 2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36 Convert all newline to LF style and remove all tabs.
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
f767c06761 Add MemoryDump class in base library to create mini-memory dumps on win32 platform. 2011-10-29 12:30:49 -03:00
David Capello
f09cf4db4b Add FULLSCREEN_PLATFORM constant (as in branch 0.8). 2011-08-09 20:27:12 -03:00
David Capello
5202826406 Minor change in CMakeLists.txt. 2011-08-09 20:13:22 -03:00
David Capello
04c675bd15 Merge branch 'ft-updater' 2011-07-27 22:10:49 -03:00
David Capello
d22d46fd2b Add ENABLE_UPDATER flag to disable the automatic updater. 2011-07-27 21:26:22 -03:00
David Capello
4fac1f119b Remove requirement of ddraw.lib library, so we can compile with the latest DirectX SDK. 2011-07-26 23:42:14 -03:00
David Capello
92a7b29e60 Add net-lib (HttpRequest/Response classes). 2011-06-12 10:50:30 -03:00
David Capello
b02b86b613 Fix compiling on Linux when XDGA is detected (fixed issue #12). 2011-03-06 16:20:11 -03:00
David Capello
610e06931b Add _WIN32_WINNT definitions to avoid compilations errors with VS2005 (undefined Win32 API symbols). 2011-01-20 17:28:21 -03:00
David Capello
d6eb20ef7e Update copyright year to 2011. 2011-01-18 20:49:53 -03:00
David Capello
c2e831d009 Use giflib to load gif files.
With this changes a lot of bugs loading different kind of .gif
files are fixed. GIF files must be loaded as RGBA images to
support background color and different transparent color per
frame combinations.
2011-01-18 20:42:43 -03:00
David Capello
c3162846cf Remove VACA_DIR variable from main CMakeLists.txt file. 2011-01-16 09:40:00 -03:00
David Capello
edd0e62241 Move "-arch i386" flag for Apple port in main CMakeLists.txt file. 2010-10-31 12:54:23 -02:00
David Capello
9e4972fc53 Remove dependency with DirectInput and delete winput.c file. 2010-10-17 23:43:08 -03:00
David Capello
094f0b6e8f Remove FindDSound. Update FindDxxx.cmake files to use DXSDK_DIR variable (as in Allegro 5). 2010-10-17 15:54:26 -03:00
David Capello
7c3c2bf69e Remove PSP and BeOS configuration from the main CMakeLists.txt 2010-10-17 10:30:45 -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
3ef3fe3a3f Remove VACA_ALLEGRO definition. 2010-10-16 15:18:06 -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
3163a5ac98 Add support to link ASE with the shared versions of libjpeg, libpng, and zlib. 2010-09-30 17:04:32 -03:00
David Capello
97b25219e4 USE_STATIC_ALLEGRO is off by default. 2010-09-26 18:57:48 -03:00
David Capello
73aa734daa Default option is to use Allegro lib statically.
It is the only option which is working with cmake at the moment.
2010-08-25 17:12:56 -03:00
David Capello
435cebb80e Move common definitions in cflags to the main CMakeLists.txt file. 2010-08-25 16:20:30 -03:00
David Capello
3dc5b2b485 Add CMakeLists.txt files. 2010-08-10 21:49:32 -03:00