aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2007-01-25Use file sizes in detection too.Eugene Sandulenko
svn-id: r25172
2007-01-24Correcting doc commentMax Horn
svn-id: r25168
2007-01-24Corrected a commentMax Horn
svn-id: r25166
2007-01-24Add optional size parameter to ADGameFileDescription. Not used now.Eugene Sandulenko
svn-id: r25164
2007-01-24Hide all AdvacedDetector parameters into a structure for easier maintenanceEugene Sandulenko
and extensibility svn-id: r25163
2007-01-21Added non-const variant of HashMap::getValMax Horn
svn-id: r25136
2007-01-21Added some new HashMap methods: lookupAndCreateIfMissing (internal only), ↵Max Horn
setVal and getVal (which actually is just the old queryVal renamed for consistency) svn-id: r25135
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2007-01-19Added copy constructor and assignment operator to class HashMapMax Horn
svn-id: r25125
2007-01-15keep warnings off like this ones:Paweł Kołodziejski
- warning C4610: struct 'Agi::AGIGameDescription' can never be instantiated - user defined constructor required - warning C4510: 'Saga::SAGAGameDescription' : default constructor could not be generated Can someone help me how to fix this ? svn-id: r25088
2007-01-14Still doesn't work with PalmOS compilerChris Apers
svn-id: r25079
2006-12-29Make ADGameFileDescription is built in directly into ADGameDescription.Eugene Sandulenko
svn-id: r24947
2006-12-25Tweaked the FixedStack class a bitMax Horn
svn-id: r24926
2006-12-20Stripped some more real_ prefixes from function names; also added a new ↵Max Horn
FIXME comment to Kyra's setupGameFlags, and did some more cleanup svn-id: r24899
2006-12-19Properly walk through lists of (extended) ADGameDescriptions -- we ↵Max Horn
previously only checked the first byte, which 'often' worked fine on little endian machines, but almost never worked correct on big endian ones svn-id: r24897
2006-12-19Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ↵Max Horn
ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME svn-id: r24896
2006-12-19Further AdvancedDetector cleanup (in particular, renamed ↵Max Horn
ADGameDescription::name to the more suitable ADGameDescription::gameid) svn-id: r24895
2006-12-19* Simplified code in AdvancedDetector::detectGameMax Horn
* Removed AdvancedDetector::setFileMD5Bytes, now AdvancedDetector::detectGame simply takes the MD5 byte limit as an extra parameter svn-id: r24894
2006-12-19* Change the GameList typedef to a proper class with an additionalMax Horn
constructor which takes a PlainGameDescriptor 'list' * Replaced real_ADVANCED_DETECTOR_GAMEID_LIST by this new constructor * Removed ADVANCED_DETECTOR_GAMEID_LIST and ADVANCED_DETECTOR_FIND_GAMEID * Some minor cleanup svn-id: r24893
2006-12-19Fix compiler warning (in general, NULL is deprecated in C++ -- just use 0 ↵Max Horn
instead) svn-id: r24885
2006-12-19Get rif od ARRAYSIZE in ADGameDescriptionEugene Sandulenko
svn-id: r24882
2006-12-19Got rid of ARRAYSIZE in advanceDetector callsEugene Sandulenko
svn-id: r24881
2006-12-19Added Apple IIgs as machine type for AGI engineStuart George
svn-id: r24876
2006-12-17replace ensureCapacity(_len-1) by ensureCapacity(_len) (fixes bug #1617410)Willem Jan Palenstijn
svn-id: r24865
2006-11-27Changed the way String::_storage is initialised, to help GCC 2.95 (see ↵Gregory Montoir
tracker item #1602879) svn-id: r24793
2006-11-26Replaced #ifdef hack in the HashMap code by a much nicer and cleaner 'friend ↵Max Horn
class' statement (a similar change might be possible in class List) svn-id: r24791
2006-11-22Fix MSVC2005 warnings. Please, review the changes.Eugene Sandulenko
svn-id: r24760
2006-11-22Disable yet another MSVC warningEugene Sandulenko
svn-id: r24758
2006-11-13Fix compileTravis Howell
svn-id: r24716
2006-11-13Patch #1583931: (Seekable)SubReadStreamMax Horn
svn-id: r24713
2006-11-13Prepend the Engine::errorString to debug messages, too (it should probably ↵Max Horn
be renamed to reflect this...) svn-id: r24712
2006-11-12Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemoEugene Sandulenko
target was commented out until existence of the demo is confirmed. svn-id: r24697
2006-11-12Reworked code in the advanced game detector (getting rid of much of the evil ↵Max Horn
#define hell it consisted of previously) svn-id: r24685
2006-11-10Fix regression in AGOS engine detectorEugene Sandulenko
svn-id: r24671
2006-11-10Next step in AdvancedDetector unification. Moved all common functions toEugene Sandulenko
macroses. Now typical usage is just list of macros with parameters and array of game details. svn-id: r24670
2006-11-03added translation method to Common::RectGregory Montoir
svn-id: r24591