1317 Commits

Author SHA1 Message Date
Johannes Schickel
d8e1f5a060 - make Common::sort supporting a function object to compare two entries instead of operator <
- adapt parallaction to use the new Common::sort function

svn-id: r30692
2008-01-28 22:05:23 +00:00
Max Horn
25d92a602e Removed unneeded copy constructor & assignment operator (the compiler will auto-generate them for us)
svn-id: r30678
2008-01-28 15:20:25 +00:00
Max Horn
0728aa0d7f Forward declare HashMap::ConstIterator (this might fix compile errors with some old GCC versions)
svn-id: r30670
2008-01-28 08:40:30 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
223f22c773 Reworked FilesystemNode::lookupFile (fixing doxygen comment, making it possible to restrict the search depth, fixed the 'exhaustive' mode and some other tweaks)
svn-id: r30644
2008-01-26 19:25:04 +00:00
Max Horn
465356ed08 assert if hashmap iterator is out of bounds (e.g. happens when derefing end()
svn-id: r30623
2008-01-23 17:19:58 +00:00
Max Horn
c4c481fecf Removed backends/intern.h
svn-id: r30611
2008-01-22 14:16:02 +00:00
Max Horn
daf2bc9579 replaced the unsafe tag2str implementation by a safe one, now that it seems to be meant for general use ;)
svn-id: r30599
2008-01-21 13:01:32 +00:00
Eugene Sandulenko
86456702f9 Move tag2str() to common/
svn-id: r30598
2008-01-21 12:44:39 +00:00
Max Horn
4ba2df8792 Use explicit path in #include statement (DS port specific)
svn-id: r30552
2008-01-18 17:24:34 +00:00
Max Horn
79e1579cb3 Fix warnings HashMap causes on some compilers (notably, GCC 3.x used for various cross compilers)
svn-id: r30472
2008-01-13 14:44:29 +00:00
Max Horn
becce923fc BE -> AE
svn-id: r30376
2008-01-10 12:22:15 +00:00
Filippos Karapetis
7a57d26585 Several warnings which have been disabled for MSVC are never thrown (at least not anymore). Removing all the unneeded ones
svn-id: r30248
2008-01-05 16:12:22 +00:00
Paul Gilbert
eb227a6d80 Grammar fix in comment for kFeatureAutoComputeDirtyRects
svn-id: r30240
2008-01-05 12:47:47 +00:00
Paul Gilbert
9097d97a35 Fixed comment that incorrectly reversed green and blue ordering for setPalette data
svn-id: r30237
2008-01-05 12:16:32 +00:00
Johannes Schickel
bfb7a7e7e6 Don't allow implicit conversion from Common::String to Common::FilesystemNode.
svn-id: r30199
2008-01-03 14:51:50 +00:00
Lars Persson
967e56996a Different zlib.h included paths for Symbian OS to differenciate between system and user includes
svn-id: r30189
2008-01-03 08:39:49 +00:00
Eugene Sandulenko
65ffe2bcee Add to AdvancedDetector possibility to use field 'extra' in ADGameDescription
to be used as a hint.

svn-id: r30105
2007-12-31 14:45:38 +00:00
Max Horn
9f611ae66d Clarify SaveFileManager::listSavefiles usage
svn-id: r30077
2007-12-30 00:00:03 +00:00
Paul Gilbert
806ac51e45 Added events for the middle mouse button - EVENT_MBUTTONDOWN and EVENT_MBUTTONUP
svn-id: r30068
2007-12-29 09:48:49 +00:00
Torbjörn Andersson
90e4327a4a Added missing files from patch #1858158.
svn-id: r30043
2007-12-28 08:43:31 +00:00
Eugene Sandulenko
ac54f3a26f Patch #1858158: BUILD: Plugin building cleanup
svn-id: r30041
2007-12-28 07:52:56 +00:00
Eugene Sandulenko
ef319ad674 Patch #1859448: Add OSystem::getTimeAndDate API
svn-id: r30034
2007-12-28 07:43:52 +00:00
Eugene Sandulenko
d4d072fe04 Patch #1857121: Refactoring of the getSavePath method
svn-id: r30032
2007-12-28 07:37:04 +00:00
Max Horn
1eeaaab15d Fix hashmap.h properly (this is not a bug in GCC 4.0 etc., rather it's a bug in newer GCC versions that they *accepted* the old code...)
svn-id: r30022
2007-12-28 00:08:29 +00:00
Kostas Nakos
1312d4b3fd same bug on arm-wince-gcc 4.1.0
svn-id: r30014
2007-12-27 16:40:58 +00:00
Johannes Schickel
e36f79fcdf Fix for bug #1858824 "AMIGAOS4: Build Process breaks due to regression".
svn-id: r30013
2007-12-27 16:01:59 +00:00
Max Horn
a7397ecfcc Patch #1837119 (COMMON: Common::HashMap iterator rework) with workaroud for Mac OS X compiler bug
svn-id: r30004
2007-12-26 21:40:32 +00:00
Max Horn
15469b47b5 SaveFileManager::setError is an internal method; also, pass string to it by-ref not by-value
svn-id: r29967
2007-12-23 18:12:03 +00:00
Max Horn
019ad44822 Document that we expect recursive mutex locking behavior
svn-id: r29952
2007-12-22 13:16:01 +00:00
Filippos Karapetis
61e8724089 Turn off an MSVC warning, thrown with some escape sequences
svn-id: r29932
2007-12-21 02:06:08 +00:00
Filippos Karapetis
276c67407b Fix compilation under MSVC9
svn-id: r29923
2007-12-20 15:38:22 +00:00
Max Horn
6d37f5ccd8 Do not #include time.h globally (ideally, we should provide a localtime clone in OSystem so we can completly get rid of this)
svn-id: r29919
2007-12-20 14:29:58 +00:00
Chris Apers
3c6bfc3742 Only for ARM code
svn-id: r29787
2007-12-09 11:24:51 +00:00
Gregory Montoir
a34df6e72d add Common::Rect::center (handy for ::setFocusRectangle())
svn-id: r29751
2007-12-07 20:53:06 +00:00
Gregory Montoir
65779599de reverted commit #29736 with a proper fix (I think) to fmopl code
svn-id: r29741
2007-12-06 21:11:26 +00:00
Filippos Karapetis
d3a9cfc2cb Reverted commit #29733, as RandomSource() is called before g_system is initialized (e.g. from sound/fmopl.cpp)
svn-id: r29736
2007-12-06 18:48:44 +00:00
Max Horn
6cf6b9d89b Do not use time() needlessly
svn-id: r29733
2007-12-06 11:47:38 +00:00
Gregory Montoir
7dc07028d2 remove _ADVANCED_DETECTOR_DEFINE_PLUGIN_HEAD
svn-id: r29599
2007-11-21 21:51:21 +00:00
Johannes Schickel
cec8b98201 Added 'specialized' versions of set_to for char*, signed char* and unsigned char* 'In' parameters.
svn-id: r29523
2007-11-17 00:19:27 +00:00
Max Horn
d665b808ae Slightly extended/clarified two OSystem doxygen comments
svn-id: r29490
2007-11-13 09:42:42 +00:00
Oystein Eftevaag
05b5a493f8 Initial commit of the iPhone/iPod Touch backend
svn-id: r29488
2007-11-13 08:06:15 +00:00
Johannes Schickel
a783c45d9e Cleanup.
svn-id: r29476
2007-11-11 11:39:59 +00:00
Johannes Schickel
2387a642e5 Committed patch #1829748 "Fix for memory leaks in File::exists".
svn-id: r29474
2007-11-11 08:08:40 +00:00
Max Horn
3598192859 Patch #1825132: SAVEFILEMAN: renameSavefile implementation
svn-id: r29433
2007-11-06 10:52:47 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Max Horn
41a8cb934c Removed now obsolete workarounds
svn-id: r29375
2007-11-02 13:00:21 +00:00
Filippos Karapetis
a20ad01075 Add Greek to the list of ScummVM supported languages, for FR #1723255 - "FOTAQ code modifications (mostly for greek translation)"
svn-id: r29359
2007-11-01 17:02:28 +00:00
David Corrales
2ac075e569 Removed the Common::File::removeFile() methods, and moved their implementation to the Common::DefaultSaveFileManager::removeSavefile() method, as per Marcus' appraisal and Max's approval.
svn-id: r29337
2007-10-31 13:59:59 +00:00