aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2009-07-17merge with trunkNorbert Lange
svn-id: r42574
2009-07-15Fix formatting of some switch statements.Johannes Schickel
svn-id: r42513
2009-07-15Fix some typos in TransactionError-enumeration's comments.Kari Salminen
svn-id: r42503
2009-07-13Unify PS2 and non-PS2 alloc code in Common::Array code (if this causes ↵Max Horn
regressions somewhere, we better find a fix that also works on PS2) svn-id: r42455
2009-07-13Refactor GUI options update into a function in Common: updateGameGUIOptions.Johannes Schickel
svn-id: r42446
2009-07-13Reverted my previous change (fprintf vs fputs),Max Lingua
and properly implemented fputs for stderr case on PS2 ;-) svn-id: r42433
2009-07-12Remove double endlineWillem Jan Palenstijn
svn-id: r42430
2009-07-12On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,Max Lingua
rather than "fputs", which is buggy in the PS2 implementation. svn-id: r42429
2009-07-12I am re-commiting the FORCE_RTL as a temporary solutionMax Lingua
in trunk, so that trunk/1.0rc is au pair feature-wise with 0.13.x. svn-id: r42403
2009-07-12Added a temporary work-around for PS2 backend in common/array.hMax Lingua
cause its vintage compiler does not support "new T[newCapacity]()" but only "new T[newCapacity]", this will let it compile through. It's ifdef'd as __PLAYSTATION2__, so it won't make a difference for other backends with more modern tools. svn-id: r42402
2009-07-03If NDEBUG is #defined, then assert does nothing, leading to warnings about ↵Max Horn
'old_size' not being used -> fix that svn-id: r42056
2009-07-01Merging in changes from trunkNorbert Lange
svn-id: r41989
2009-06-29Add some more explanation to Graphics::CursorManager::showMouse and ↵Johannes Schickel
OSystem::showMouse. svn-id: r41968
2009-06-28Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;Max Horn
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-23Added support for HungarianSven Hesse
svn-id: r41812
2009-06-13Fix erase() sometimes hiding other hash elements.Willem Jan Palenstijn
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-12Fixed disposeStream initialization.Nicola Mettifogo
svn-id: r41474
2009-06-12* Adapted Kyra to the new IFFParser interface.Nicola Mettifogo
* Adapted the new IFFParser to Kyra (slightly). The Kyra1 demo on the website works. svn-id: r41468
2009-06-12* Moved the updated IFF code from Parallaction to common/Nicola Mettifogo
* Updated Parallaction and SAGA to use the new decoder infrastructure. svn-id: r41465
2009-06-10Point to the Cursor and AudioCD Managers to help engine authors following ↵Jordi Vilalta Prat
the right path. svn-id: r41433
2009-06-10Extend documentation for "kFeatureCursorHasPalette".Johannes Schickel
svn-id: r41430
2009-06-10Fix documentation for debugC and debugCN, relying on special debug levels.Johannes Schickel
svn-id: r41425
2009-06-10Added debugCN() call which does not add newline automaticallyEugene Sandulenko
svn-id: r41421
2009-06-08Initital commit modifying buildsystem and adding a TFMX Module-PlayerNorbert Lange
Changes in Paula.cpp/Paula.h + soundfx.cpp: Added (easy) queueing of samples by implementing methods that act similar like writes to the Amiga-Chipset would. Added counting of DMA-Interrupts, that is how often a sample finished playing. Added a base for the interrupt-interval, in most cases this will be the Cia-clockrate. Derived classes can then set the interval without scaling to the samplerate Changes in common/scummsys.h: Only disable warnings with pragmas for MS Compilers that cant do so otherwise. Newer MSVC Versions can and should disable warnings in the Project-Settings. Files in tfmx: Some files for debugging. Wont ever be commited back into trunk so those will contain some messy and hackish code Added: tfmx.h/tfmx.cpp Player for TFMX-Modules. Rest: main.cpp etc. Modified buildsystem to include new directory, modified main.cpp so it calls tfmxmain (tfmxplayer.cpp) instead of starting the GUI. svn-id: r41382
2009-06-08Spacing.Travis Howell
svn-id: r41375
2009-06-07Fixed appending a (substring of a) string to itselfMax Horn
svn-id: r41337
2009-06-07Added some new method variants to Common::StringMax Horn
svn-id: r41333
2009-06-07Added an experimental '--upgrade-targets' option (to be refined; and ↵Max Horn
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-06Added CoCo3 version of SQ1Eugene Sandulenko
svn-id: r41284
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-06-06Implement feature request #1180217: "GUI: Mute option"Eugene Sandulenko
svn-id: r41233
2009-06-05Make the PlayStation's abbreviation to all lower-case for consistency and ↵Matthew Hoops
change the description from Playstation to Sony PlayStation svn-id: r41200
2009-06-01Add a 'flat' option to FSDirectory to allow searching recursively for files ↵Willem Jan Palenstijn
in subdirectories svn-id: r41090
2009-05-31Document that debug level 11 turns on all special debug level messages ↵Filippos Karapetis
(refer to rev. #28858) svn-id: r41076
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-26Renamed Common::Serializer::syncMagic to matchBytes, and added version ↵Max Horn
paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed) svn-id: r40909
2009-05-26Fixed a bug in Common::Array (including a unit test for it), and changed the ↵Max Horn
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-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-19Improved Common::Serializer in several ways:Max Horn
* 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-18Typo.Johannes Schickel
svn-id: r40693
2009-05-12Allow creation of KeyState with zero ascii value.Eugene Sandulenko
svn-id: r40501
2009-05-12Add more detailed error message for "Chunk overread" case.Johannes Schickel
svn-id: r40493
2009-05-12Typo.Johannes Schickel
svn-id: r40487
2009-05-12Added a startOffset parameter to hexdump() (used by SCI's own hexdump method)Filippos Karapetis
svn-id: r40470
2009-05-10Keymapper:Eugene Sandulenko
- 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-10Changed Common::Array::resize() to default init new array elementsMax Horn
svn-id: r40430
2009-05-10Store global keymaps into a separate sectionEugene Sandulenko
svn-id: r40427
2009-05-08Clarified docstring for String::insertCharMax Horn
svn-id: r40382
2009-05-05COMMON: Changed Array destructor to reset _storage and _size to 0 -- this ↵Max Horn
helps to find 'Array used after being disposed' bugs svn-id: r40326