Max Horn
9b3074d929
If NDEBUG is #defined, then assert does nothing, leading to warnings about 'old_size' not being used -> fix that
...
svn-id: r42056
2009-07-03 11:05:59 +00:00
Johannes Schickel
b37beb4493
Add some more explanation to Graphics::CursorManager::showMouse and OSystem::showMouse.
...
svn-id: r41968
2009-06-29 23:23:29 +00:00
Max Horn
bb28ed7b7a
Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
...
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails
svn-id: r41932
2009-06-28 19:58:11 +00:00
Sven Hesse
1491c67691
Added support for Hungarian
...
svn-id: r41812
2009-06-23 17:55:09 +00:00
Willem Jan Palenstijn
6eed461c94
Fix erase() sometimes hiding other hash elements.
...
Like CPython, we now use a dummy node to mark nodes as erased,
so that lookup() can skip over it. All tests should now pass again.
svn-id: r41496
2009-06-13 21:07:05 +00:00
Nicola Mettifogo
66decf21f7
Fixed disposeStream initialization.
...
svn-id: r41474
2009-06-12 10:26:58 +00:00
Nicola Mettifogo
b2e5905327
* Adapted Kyra to the new IFFParser interface.
...
* Adapted the new IFFParser to Kyra (slightly).
The Kyra1 demo on the website works.
svn-id: r41468
2009-06-12 09:49:38 +00:00
Nicola Mettifogo
36828287ad
* Moved the updated IFF code from Parallaction to common/
...
* Updated Parallaction and SAGA to use the new decoder infrastructure.
svn-id: r41465
2009-06-12 08:51:05 +00:00
Jordi Vilalta Prat
ccbc5f3abb
Point to the Cursor and AudioCD Managers to help engine authors following the right path.
...
svn-id: r41433
2009-06-10 15:33:37 +00:00
Johannes Schickel
be42f800a4
Extend documentation for "kFeatureCursorHasPalette".
...
svn-id: r41430
2009-06-10 15:11:17 +00:00
Johannes Schickel
ad98719ba2
Fix documentation for debugC and debugCN, relying on special debug levels.
...
svn-id: r41425
2009-06-10 12:47:19 +00:00
Eugene Sandulenko
ff72f8531c
Added debugCN() call which does not add newline automatically
...
svn-id: r41421
2009-06-10 10:11:24 +00:00
Travis Howell
628e876a46
Spacing.
...
svn-id: r41375
2009-06-08 14:55:11 +00:00
Max Horn
a5ff6cc19d
Fixed appending a (substring of a) string to itself
...
svn-id: r41337
2009-06-07 13:14:34 +00:00
Max Horn
a39048877a
Added some new method variants to Common::String
...
svn-id: r41333
2009-06-07 13:04:03 +00:00
Max Horn
985bc454b2
Added an experimental '--upgrade-targets' option (to be refined; and possibly hooked to the GUI eventually). This updates the guioptions,platform and lang for all your targets (and with a source change, also the descriptions)
...
svn-id: r41332
2009-06-07 12:47:10 +00:00
Eugene Sandulenko
a0fa307fc5
Added CoCo3 version of SQ1
...
svn-id: r41284
2009-06-06 18:22:43 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Eugene Sandulenko
c295f524b2
Implement feature request #1180217 : "GUI: Mute option"
...
svn-id: r41233
2009-06-06 17:36:06 +00:00
Matthew Hoops
7e52694025
Make the PlayStation's abbreviation to all lower-case for consistency and change the description from Playstation to Sony PlayStation
...
svn-id: r41200
2009-06-05 22:35:13 +00:00
Willem Jan Palenstijn
6e38259270
Add a 'flat' option to FSDirectory to allow searching recursively for files in subdirectories
...
svn-id: r41090
2009-06-01 00:01:32 +00:00
Filippos Karapetis
010fbadf01
Document that debug level 11 turns on all special debug level messages (refer to rev. #28858 )
...
svn-id: r41076
2009-05-31 16:02:10 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Max Horn
1c552779a0
Renamed Common::Serializer::syncMagic to matchBytes, and added version paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed)
...
svn-id: r40909
2009-05-26 11:31:45 +00:00
Max Horn
94dfc8f638
Fixed a bug in Common::Array (including a unit test for it), and changed the way the internal storage growth over time.
...
The bug could result in incorrect results when using push_back (or insert_at)
to insert data from an array into itself if this insertions would cause the
internal array storage to grow. Also added a unit test for this bug.
Furthermore, if the internal storage needs to grow, it will now be resized to the next power of two,
instead of being increased by 32.
svn-id: r40907
2009-05-26 11:28:38 +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
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Max Horn
42cd218400
Improved Common::Serializer in several ways:
...
* Added support versioned serialization
* Added a convenience API for handling 'magic IDs' transparently
* Exposed the err()/clearErr() methods of the underlying streams
* Added a basic unit test for versioned loading (more should be added, in particular for saving)
* Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size)
svn-id: r40723
2009-05-19 11:23:13 +00:00
Johannes Schickel
b2b08cc606
Typo.
...
svn-id: r40693
2009-05-18 16:00:15 +00:00
Eugene Sandulenko
a0a44ef498
Allow creation of KeyState with zero ascii value.
...
svn-id: r40501
2009-05-12 19:03:42 +00:00
Johannes Schickel
619d107ed7
Add more detailed error message for "Chunk overread" case.
...
svn-id: r40493
2009-05-12 15:06:20 +00:00
Johannes Schickel
fa0fe7fada
Typo.
...
svn-id: r40487
2009-05-12 13:56:09 +00:00
Filippos Karapetis
36c832d455
Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)
...
svn-id: r40470
2009-05-12 07:07:17 +00:00
Eugene Sandulenko
665e472ef0
Keymapper:
...
- Introduced new OSystem method getHardwareKeySet() with default implementation
- Moved global keymap creation to base/main.cpp
- Moved GUI keymap creation to gui/GuiManager.cpp
- Added various safeguard checks to various keymapper methods
Now it is really possible to add keymapper to all backends.
svn-id: r40439
2009-05-10 22:05:04 +00:00
Max Horn
36818ced2a
Changed Common::Array::resize() to default init new array elements
...
svn-id: r40430
2009-05-10 19:17:11 +00:00
Eugene Sandulenko
7d79a092b5
Store global keymaps into a separate section
...
svn-id: r40427
2009-05-10 17:33:31 +00:00
Max Horn
c91a6c97ae
Clarified docstring for String::insertChar
...
svn-id: r40382
2009-05-08 12:37:28 +00:00
Max Horn
61dcaad888
COMMON: Changed Array destructor to reset _storage and _size to 0 -- this helps to find 'Array used after being disposed' bugs
...
svn-id: r40326
2009-05-05 12:29:15 +00:00
Eugene Sandulenko
6a8a9740a1
Fix valgrind warning
...
svn-id: r40309
2009-05-04 16:35:47 +00:00
Max Horn
689511a56f
COMMON: Made Array::resize() init/zero the memory it allocates
...
svn-id: r40304
2009-05-04 15:04:39 +00:00
Max Horn
c33a875d9f
Fixed new[] / delete mismatch in Common::String
...
svn-id: r40302
2009-05-04 14:20:17 +00:00
Max Horn
6a632b51ad
COMMON: Optimized MemoryPool::freeUnusedPages (if many pages are phased out at once, don't copy everything multiple times around)
...
svn-id: r40292
2009-05-03 22:45:46 +00:00
Max Horn
882c24d2ee
COMMON: Check for failed memory allocations; changed Common::String to use new/delete instead of malloc/free
...
svn-id: r40291
2009-05-03 22:45:31 +00:00
Max Horn
9d970009a6
COMMON: Simplified Common::Stack methods using the recent Common::Array improvements
...
svn-id: r40267
2009-05-03 09:19:46 +00:00
Max Horn
4d57c1f9a9
COMMON: Changed Array::resize to not shrink the internal storage if we shrink the array
...
svn-id: r40262
2009-05-03 09:00:53 +00:00
Max Horn
f52a0df422
COMMON: Made Common::List::clear more efficient
...
svn-id: r40172
2009-04-28 10:23:26 +00:00
Max Horn
9a971c7d80
fixed a typo
...
svn-id: r40171
2009-04-28 10:23:08 +00:00
Max Horn
7f20f3bb3e
COMMON: Improved efficiency of some Common::List methods; added more unit tests and some doxygen comments for Common::List and Common::Array
...
svn-id: r40164
2009-04-27 14:25:16 +00:00
Max Horn
e579f91b5c
COMMON: Made sure Common::List and Common::array each have all front/back/push_back/push_front, as have their STL counterparts
...
svn-id: r40163
2009-04-27 14:23:20 +00:00
Max Horn
462e3bd49d
COMMON: Added Functor2Fun; fixed some typos
...
svn-id: r40160
2009-04-27 12:30:42 +00:00