Commit Graph
3029 Commits
Author SHA1 Message Date
Max Horn 28158c80b8 Some corrections to the SaveFileManager Doxygen comments
svn-id: r30913
2008-02-22 00:22:31 +00:00
Max Horn a905de7deb Fix code formatting and simplify code a little bit
svn-id: r30912
2008-02-20 21:49:05 +00:00
Robin Watts 890bca8f7e Tweaks to fmopl; same net effect overall, just faster.
Eliminate divisions, floating point, and mod operation from inner synth loop.

svn-id: r30896
2008-02-17 16:12:54 +00:00
Kari Salminen b6cad0f0ce Added a simple non-optimized StringTokenizer-class for tokenizing strings. Also added a contains(char)-function to the String-class because it was handy in implementing the StringTokenizer.
svn-id: r30828
2008-02-08 04:11:20 +00:00
Johannes Schickel 56c5d86431 Fix bug preventing compilation in iterator code.
svn-id: r30818
2008-02-07 21:28:51 +00:00
Max Horn 15975bdf73 Made some advanced detector stuff internal (for now), as it is only used by AdvancedMetaEngine. Also removed obsolete ADVANCED_DETECTOR_DEFINE_PLUGIN macro
svn-id: r30779
2008-02-03 18:37:41 +00:00
Oystein Eftevaag deb6baf0db Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
svn-id: r30761
2008-02-03 12:36:51 +00:00
Max Horn 34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Jordi Vilalta Prat 5165ff448d Converted the remaining engines to use MetaEngine
svn-id: r30728
2008-02-02 02:35:13 +00:00
Max Horn dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Max Horn 5dfabb24d0 Moved enum PluginError from base/plugins.h to common/error.h
svn-id: r30723
2008-02-01 23:36:45 +00:00
Eugene Sandulenko 0ae9fe7467 Second part of patch #1880781: "BeOS port for scummvm"
svn-id: r30720
2008-01-31 21:19:09 +00:00
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