aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2007-01-28Return a default value in the const-variant of HashMap::getVal, instead of ↵Max Horn
asserting out -- this way, we get less unexpected asserts, and both getVal variants behave comparably diff. The drawback is that now all HashMap instances carry one extra Value object around with them. svn-id: r25245
2007-01-28Add more paramteres to AdvancedDetector. Not used yet.Eugene Sandulenko
svn-id: r25241
2007-01-27Fix typo spotted by clone2727Eugene Sandulenko
svn-id: r25236
2007-01-25Lots of cleanup in the AdvancedDetectorMax Horn
svn-id: r25194
2007-01-25cleanupMax Horn
svn-id: r25179
2007-01-25Removed getDescription() functionMax Horn
svn-id: r25177
2007-01-25At this time, ADVANCED_DETECTOR_DEFINE_PLUGIN doesn't take a factory ↵Max Horn
function, but rather only a simple class name (one of the reasons it can't be used by the Kyra code right now) svn-id: r25176
2007-01-25Print out file size for unmatched files. Also alter output slighty.Eugene Sandulenko
svn-id: r25175
2007-01-25Removed class AdvancedDetectorMax Horn
svn-id: r25174
2007-01-25Mention that some fields in ADGameFileDescription are optional.Eugene Sandulenko
In fact we really need to write some documentation for it. svn-id: r25173