32 Commits

Author SHA1 Message Date
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Matthew Hoops
426c81a7a7 GRAPHICS: Rewrite ImageDecoder to have an improved API
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Johannes Schickel
24d99038e4 VKEYBD: Properly error out parsing if an area is defined again.
Formerly the code did never check whether ImageMap::createArea returned a
valid pointer and always just assumed so.
2012-01-03 02:13:26 +01:00
Johannes Schickel
c98a123f4c VKEYBD: Some formatting fixes. 2012-01-03 02:13:19 +01:00
Julien
c52cc84912 AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc 2011-06-23 15:11:36 +08:00
Max Horn
7a52d414e9 VKEYBD: Adjust to recent XML parser changes 2011-06-06 11:52:21 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
179734a082 VKEYBD: Ensure stream destructor is properly called
svn-id: r54562
2010-11-28 23:27:56 +00:00
Max Horn
36cd5caf95 COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::String
Almost all places where we used XMLParser::parseIntegerKey were using
it like this:
  XMLParser::parseIntegerKey(str.c_str(), ...)
Since this makes the code harder to read, I overloaded the method to
also accept Commmon::String directly.
Also removed all .c_str() invocations where necessary.

svn-id: r53479
2010-10-15 12:19:13 +00:00
Johannes Schickel
9d4cb7c23c Add missing tokenizer.h include.
svn-id: r48326
2010-03-20 16:45:11 +00:00
Johannes Schickel
af1ba42298 Fix some memory leaks.
svn-id: r47284
2010-01-12 21:46:50 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
John Willis
4ceec0dfbb Virtual Keyboard: Fix detection of v_align option when used in the keyboard definition.
svn-id: r41232
2009-06-06 17:21:50 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn
5556fc7f72 Changed Graphics::ImageDecoder to allow custom PixelFormats
svn-id: r36026
2009-01-23 23:50:54 +00:00
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
abc06ca18e Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
svn-id: r35993
2009-01-22 04:35:10 +00:00
Max Horn
299736c9e1 some code cleanup
svn-id: r35966
2009-01-20 23:19:42 +00:00
Johannes Schickel
4c62af49c2 Removed ImageMan again, now the code uses Graphics::ImageDecoder directly.
svn-id: r35960
2009-01-20 18:31:35 +00:00
Johannes Schickel
496ab478a2 Some formatting.
svn-id: r35959
2009-01-20 17:38:48 +00:00
Andre Heider
fbfec8e63e protect all vkeybd code with ENABLE_VKEYBD
svn-id: r35956
2009-01-20 16:00:36 +00:00
Andre Heider
1e5165bd84 added proper ImageMan includes
svn-id: r35954
2009-01-20 15:27:13 +00:00
Max Horn
a27e456ace Some basic work on the vkeybd code
svn-id: r35931
2009-01-20 00:03:35 +00:00
Stephen Kennedy
df3b8fd14c Added preprocessor flags 'ENABLE_VKEYBD' and 'ENABLE_KEYMAPPER' to control inclusion of vkeybd and keymapper in build.\n\nAlso added corresponding --enable-vkeybd and --enable-keymapper flags to configure scripts.
svn-id: r34706
2008-09-30 13:51:01 +00:00
Stephen Kennedy
11c0a3bded Updated comments, and general cleanup
svn-id: r34203
2008-08-29 21:10:10 +00:00
Stephen Kennedy
049ac6c42b Updated to latest version of XMLParser, and modified VirtualKeyboardParser to reflect changes.
svn-id: r33987
2008-08-18 12:44:54 +00:00
Stephen Kennedy
63c4a61032 Various virtual keyboard bug fixes
svn-id: r33969
2008-08-17 12:11:34 +00:00
Stephen Kennedy
93780d51ca Added clear event to virtual keyboard
svn-id: r33913
2008-08-15 19:41:34 +00:00
Stephen Kennedy
fca5a0ad34 Virtual Keyboard:
* added support for submit, cancel, backspace, and cursor movement commands
* minor API modifications

svn-id: r33887
2008-08-15 01:21:29 +00:00
Stephen Kennedy
2645ca48ad * Moved VK code into backends/vkeybd
* Moved Keymapper code into backends/keymapper

svn-id: r33681
2008-08-07 16:38:39 +00:00