aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2006-11-03got rid of two memory leaksGregory Montoir
svn-id: r24589
2006-10-28Not required anymoreChris Apers
svn-id: r24561
2006-10-24const correctnessMax Horn
svn-id: r24488
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-10-18Added Point::sqrDist method to (safely) compute the square of the distance ↵Max Horn
between two points svn-id: r24370
2006-10-14RevertTravis Howell
svn-id: r24303
2006-10-14Fix introduction of WWTravis Howell
svn-id: r24302
2006-10-13Fixes compiling for me with g++ (GCC) 4.1.2 20061007 (prerelease) (Debian ↵Johannes Schickel
4.1.1-16) on amd64. svn-id: r24298
2006-10-08Initial commit of the wince-gcc re-portKostas Nakos
svn-id: r24212
2006-10-08Added a const qualifier inside struct ADGameDescription (rule of thumb: Make ↵Max Horn
as many pointers and members const as possible, it helps prevent bugs, and potentially helps the optimizer) svn-id: r24181
2006-10-06Patch #1432376: "Very basic GP2X Backend"Eugene Sandulenko
svn-id: r24144
2006-10-03typoMax Horn
svn-id: r24093
2006-10-02Moved unrelated fields out of ADGameDescription structure.Eugene Sandulenko
svn-id: r24090