Commit Graph
3029 Commits
Author SHA1 Message Date
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
Kostas Nakos b93f68405b work around ce's lack of posix errno
svn-id: r29298
2007-10-28 17:50:08 +00:00
Kostas Nakos 31b77a48ee some source formatting fixes
svn-id: r29297
2007-10-28 17:45:34 +00:00
Eugene Sandulenko ef23e9b0af Patch #1814831: "Unify the way to report unknown versions of games"
svn-id: r29293
2007-10-28 16:29:31 +00:00
Eugene Sandulenko 61c96353cf Patch v5.2 from #1752243: "backends lib patches"
svn-id: r29283
2007-10-28 12:04:38 +00:00
David Corrales ec38b85a44 Committing the set of patches #1814434, thanks to jvprat. They improve the documentation and parameter naming of the lookFile methods inside Common::FS.
svn-id: r29228
2007-10-16 20:24:39 +00:00
David Corrales 6bf925cb6e Make the exists() method take into account default directories. This makes the method more robust, since previously it checked absolute paths only.
svn-id: r29227
2007-10-16 20:03:23 +00:00
Neil Millstone 5ddb1b0057 Added extra includes for the DS port now that stdafx.h is no longer included
svn-id: r29205
2007-10-13 15:44:56 +00:00
Max Horn 51f082dcde Patch #1805208: move matchString to Common::Util
svn-id: r29154
2007-10-04 08:04:18 +00:00
Marcus Comstedt 151e0cfa05 Provide dummy remove() function for DC...
svn-id: r29152
2007-10-03 21:50:20 +00:00
Johannes Schickel 89edc3c7eb Adds Common::set_to which sets elements from the range [first, last) to value.
svn-id: r29080
2007-09-24 00:07:28 +00:00
Johannes Schickel 6ee45acf9e Fixed comment for grabPalette.
svn-id: r29079
2007-09-23 23:37:55 +00:00
Eugene Sandulenko 9a9e9d21a8 Moved MemoryStreamEndian from Saga to Common.
svn-id: r29038
2007-09-23 09:59:10 +00:00
Travis Howell 6b639c6b21 Rename file removal functions, to avoid conflicts. Add save game path, when removing files via SaveFileManager.
svn-id: r29001
2007-09-21 05:27:33 +00:00
Eugene Sandulenko 77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Sven Hesse d455146e99 More comment fixing :P
svn-id: r28957
2007-09-18 23:37:31 +00:00
Johannes Schickel 5831459859 Fixed a typo. (Thanks to our Doctor for spotting it)
svn-id: r28956
2007-09-18 23:19:51 +00:00
Johannes Schickel d5a2010197 Clarified the FIXME in Common::File::exists a bit.
svn-id: r28954
2007-09-18 23:15:53 +00:00
Johannes Schickel 2ed777d641 Fixes Common::File::exists. Please see the added FIXME comment about the real problem.
svn-id: r28952
2007-09-18 23:07:27 +00:00
Max Horn ab8997f64d Fix linker issues when doing a plugin build, and (hopefully) also on Windows
svn-id: r28950
2007-09-18 21:34:57 +00:00
Max Horn 162460d18a Must include stdafx.h before scummsys.h
svn-id: r28949
2007-09-18 21:23:22 +00:00
Max Horn 90399fbf9c Fix some warnings
svn-id: r28947
2007-09-18 20:46:22 +00:00
Max Horn 3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Johannes Schickel fd6ca3b7ac - added PC-98 platform entry
- added Kyrandia 1 PC-98 detection entries

svn-id: r28907
2007-09-15 14:53:21 +00:00
Eugene Sandulenko fece7cc1bb Make debug level 11 magic. It turns on all special debug level messages.
svn-id: r28858
2007-09-05 20:30:27 +00:00
Chris Apers 500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
David Corrales 1dc13a641d Merged some of the changes from the trunk patch back in to the GSoC fsnode branch.
svn-id: r28649
2007-08-18 05:24:18 +00:00
Eugene Sandulenko 7dcb8503a3 Add possibility to serve engines with complex Engine class instantiation
svn-id: r28582
2007-08-13 08:58:04 +00:00
Max Horn a03119c5f5 Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks templates; clarified some OSystem comments
svn-id: r28517
2007-08-11 08:05:03 +00:00
David Corrales 6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +00:00
David Corrales 1400d28bfb Initial commit of the new BaseFile implementation. It provides a common ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation.
Also rearranged the factories into a new directory for clarity.

Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects.

Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact.

svn-id: r28395
2007-08-01 22:07:50 +00:00
Eugene Sandulenko 6505686c5a Renamed some typedefs to avoid clashes with sky engine
svn-id: r28321
2007-07-30 10:18:25 +00:00
David Corrales 9752c75f40 Add a removeSavefile() to the default savefile manager based on the new Common::File::remove().
svn-id: r28282
2007-07-29 01:36:59 +00:00
Torbjörn Andersson c2516db9ac Early in the morning, strrev() looks like a more difficult problem than it
really is. It's actually quite simple. In fact, the only magical thing about
Bob's version was the way it swapped variables without using any temporary
variable. Rewrote the function to use our SWAP() instead, since that actually
makes it readable. Moved it to util.cpp (outside the Common namespace, for
consistency with scumm_stricmp()) since Kirben knew of other places where it
could be used.

svn-id: r28231
2007-07-27 05:15:24 +00:00
David Corrales f42108e633 Added a remove() function to the Common::File class. Also changed the exists() function to account for new capabilities in the FSNode layer.
svn-id: r28150
2007-07-20 19:42:38 +00:00
David Corrales 21f352b2df Added error codes to the SaveFileManager via the SFMError enum. Also, solved TODO's in the default-saves implementation.
svn-id: r28140
2007-07-18 20:51:26 +00:00
David Corrales 720c974faf Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.

svn-id: r28046
2007-07-12 17:58:15 +00:00