aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2007-03-08Moving Nintendo DS std C I/O emulation wrappers to common/file.cpp; also add ↵Max Horn
a FIXME comment (why is assert redefined in ds-fs.h ?) svn-id: r26020
2007-03-08Changed File::_handle to be of type void* instead of FILE* (to ease ↵Max Horn
porting); moved PS2 std C I/O defines to file.cpp (no code other than the file & savegame code should use fopen etc. directly) svn-id: r26017
2007-03-08Changed ConfigManager to use class File instead of std C I/O to write the ↵Max Horn
config file svn-id: r26016
2007-03-08Turning FilesystemNode comment into a doxygen commentMax Horn
svn-id: r26015
2007-03-04Removing _ptrOrig (hi Torbjorn, have fun recompiling)Max Horn
svn-id: r25980
2007-03-04Some HashMap cleanup:Max Horn
* Removed the odd return value of method erase() * Stopped erase() from leaking (oops!) * Added a (paranoia) consistency check to assign() svn-id: r25967
2007-03-04Paranoia: a hashmap node must never ever change its key after its creationMax Horn
svn-id: r25965
2007-03-03Allow PC Engine version of Loom to at least start up.Travis Howell
svn-id: r25951
2007-03-01Removed File::incRef and decRefMax Horn
svn-id: r25920
2007-02-28Fix spellingMax Horn
svn-id: r25908
2007-02-25TypoMax Horn
svn-id: r25861
2007-02-25Add some doxygen comments to Common::StreamMax Horn
svn-id: r25859
2007-02-25TypoMax Horn
svn-id: r25858
2007-02-20Added new ReadStream::readStream method which can be used to read a portion ↵Max Horn
of an arbitrary ReadStream into a memory buffer wrapped by a MemoryReadStream svn-id: r25754
2007-02-20Removed XORReadStream (it was unused); enhanced MemoryReadStream to be able ↵Max Horn
to dispose the memory block it wraps (simplifies memory management) svn-id: r25748
2007-02-19Enhance (Seekable)SubReadStream so be able to (optionally) dispose the ↵Max Horn
parent stream after it's been used (simplifies memory management for client code) svn-id: r25732
2007-02-18Made it possible to init a Stack<T> with an Array<T>; removed hack in ↵Max Horn
Stack<T>::top svn-id: r25696
2007-02-18Improved (I hope) the 'Unknown MD5' messages in our detectors a little bitMax Horn
svn-id: r25695
2007-02-18Renamed crc32 which conflicts with Tapwave system functionChris Apers
svn-id: r25692
2007-02-17Get rid of Common::SaveFileMax Horn
svn-id: r25666
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-14AdvancedDetector: revamped the file based fallback codeMax Horn
svn-id: r25599
2007-02-14Make use of md5_file_stringMax Horn
svn-id: r25593
2007-02-14Extended MD5 API a bit: added a variant of md5_file which takes an arbitrary ↵Max Horn
ReadStream; and added md5_file_string methods which directly produce a human readable md5 string (instead of a binary digest) svn-id: r25592
2007-02-14Some more cleanup, and that's it for tonightMax Horn
svn-id: r25580
2007-02-14Minor cleanupMax Horn
svn-id: r25579
2007-02-14Added some comments and performed some cleanup in the file based fallback ↵Max Horn
code of the AdvancedDetector svn-id: r25578
2007-02-14Properly implemented the AD fallback callbackMax Horn
svn-id: r25576
2007-02-13Since detectBestMatchingGame now returns a ADGameDescription pointer, we can ↵Max Horn
change detectGame to return a ADGameDescList svn-id: r25575
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13Some more AdvancedDetector cleanup: Removed kADFlagFilebasedFallback flag ↵Max Horn
(just check whether a fileBasedFallback has been provided); moved some internal definitions, added some doxygen coments, etc. svn-id: r25570
2007-02-13made rtrim() and ltrim() global functions, to reduce code duplication (it ↵Gregory Montoir
seems parallaction/parser.cpp code re-use them too svn-id: r25564
2007-02-13Kill MSVC warning:Eugene Sandulenko
warning C4245: 'initializing' : conversion from 'Common::ADGameFlags' to 'uint32', signed/unsigned mismatch svn-id: r25557
2007-02-13Thanks to the previous changes, we can now cleanup ↵Max Horn
detectGameForEngineCreation somewhat svn-id: r25548
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13Renamed generateComplexID to generatePreferredTarget to match my previous commitMax Horn
svn-id: r25544
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-13Moved detectGameForEngineCreation next to detectBestMatchingGame (somebody ↵Max Horn
should explain the difference between the two...) svn-id: r25542
2007-02-13Use GF_DEMO flag in the AdvancedDetector to augment the preferredtarget nameMax Horn
svn-id: r25541
2007-02-13(re)added flags field to ADGameDescription, with currently only one value ↵Max Horn
(GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet) svn-id: r25539
2007-02-09cleanupMax Horn
svn-id: r25452
2007-02-05Only do the file based fallback when no matches by MD5s were foundSven Hesse
svn-id: r25394
2007-02-04Added Common::getEnabledSpecialDebugLevelsMax Horn
svn-id: r25383
2007-02-04AdvancedDetector now has built-in fallback detection based on file lists.Eugene Sandulenko
Currently only gob engine benefits from it. svn-id: r25374
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2007-01-30warningsGregory Montoir
svn-id: r25284
2007-01-30- Fixed bug with single ID detectionEugene Sandulenko
- Added more debug output svn-id: r25273
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-28Gregory's patch for bug #1645653 ("MSVC71 BUILD: Latest SVN doesn't compile").Johannes Schickel
svn-id: r25251