aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
AgeCommit message (Collapse)Author
2006-09-16Reduce code duplicationMax Horn
svn-id: r23888
2006-08-15Limit md5 computations to first 5000 bytes in gob engine.Eugene Sandulenko
svn-id: r23713
2006-08-12Ooops again, use the correct delete...Sven Hesse
svn-id: r23703
2006-08-12Ooops, free the allocated _startTot/_startTot0, too...Sven Hesse
svn-id: r23702
2006-08-12Added another field to the GameSettings for the intro.tot, because the ↵Sven Hesse
Gobliins 2 demo uses usa.tot instead svn-id: r23701
2006-08-12- Some more goblins-handling functionsSven Hesse
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins (finally) move. Also, the correct music is played in the first screen. - Found the hook for the menu - On freeing a sound slot, only stop the playing music if it's in the slot to free svn-id: r23700
2006-07-31* Added copyright string to all engine pluginsMax Horn
* Modified about dialog to list all available plugins with their resp. copyright * Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too) svn-id: r23645
2006-07-23String class usage cleanupMax Horn
svn-id: r23582
2006-07-22- let md5_file accept a FilesystemNode too Johannes Schickel
- changes some engine detectors to use it svn-id: r23559
2006-07-22Using FilesystemNode::name instead of FilesystemNode::displayName in the ↵Johannes Schickel
Gobliiins detector code too. svn-id: r23555
2006-06-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h) svn-id: r23274
2006-05-31- Removed usage of OSystem::quit(), added a _quitRequested variableSven Hesse
- Fixed some leaks, unitialized memory and delete/delete[]-errors svn-id: r22790
2006-05-29- More GOB2 map conversionsSven Hesse
- Added Music_Dummy (for --music-driver=null) - Implemented IMDs. That took longer than I expected... On the bright side, Ween's intro now plays more correctly svn-id: r22754
2006-05-28Add reported Gob2 german floppy.Eugene Sandulenko
svn-id: r22720
2006-05-11- Sound! Still a bit glitchy, though:Sven Hesse
- Negative frequences?!? Maybe "SFX"? - No sound for a small part of the intro (there aren't any sndKeys covering that part either) - A rythm-instrument (hi-hat?) in the titlemusic isn't played as one - More differences in the drawing functions fleshed out - Some of the goblin handling functions written - More unnamed functions and variables, wheeee... svn-id: r22410
2006-05-01- More differences in Draw_v2::spriteOperation()Sven Hesse
- GOB2 handles _frontSurface/_backSurface a bit differently, this fixes (most of) the drawing glitches in the intro - Added using a fallback when the user's game version doesn't have the requested language - off_2E51B et al. stubs, I think it has something to do with the menu svn-id: r22254
2006-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
error code (the engine is now passed indirectly via a double pointer) * Removed Engine_Empty (obsolete now that engines can return actual error codes) svn-id: r22199
2006-04-18- Closed the stub in Draw_v2::printText()Sven Hesse
- Added a language field in GameSettings, so that the texts in Gob2 work for other languages than EN_GRB as well svn-id: r22005
2006-04-18- I misunderstood Draw::initBigSprite(); fixedSven Hesse
- Changed Draw::spriteOperation() for blitting from/to/between and fillrecting to big sprites - Enabled drawing of text svn-id: r22001
2006-04-16Removed the directory parameter from md5_fileMax Horn
svn-id: r21937
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-13- More stubs, the intro now works completely (with extreme graphicalSven Hesse
glitches and without sound in the floppy version), the title screen is shown afterwards - Added skipping of the floppy version's copy protection screen, since the CD version doesn't show it either svn-id: r21845
2006-04-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21686
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-25- Implemented case insensitive file reading. Left old system as a fallbackEugene Sandulenko
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443
2006-03-18workaround: manually add delay when showing image between levels in gob1 egaWillem Jan Palenstijn
svn-id: r21364
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with Common::String members instead of const char * ones) - Changed DetectedGame to subclass GameDescriptor - Removed toGameSettings() in favor of new (template) constructors in DetectedGame and GameDescriptor - Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines svn-id: r21150
2006-03-09- added new toDetectedGame() template function (analog to toGameSettings)Max Horn
- made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149
2006-03-02Fix for bug #1438822 (Targets are case sensitive)Max Horn
svn-id: r21017
2006-02-25Fix c&p mistake in adding DEBUG_PARSER debug levelSven Hesse
svn-id: r20868
2006-02-24Changed debug()s to debugC()sSven Hesse
svn-id: r20848
2006-02-21More GOB2 changes (Mult::loadMult()) + correcting some mistakes I madeSven Hesse
svn-id: r20806
2006-02-18- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency - added new Engine_XXX_findGameID / PLUGIN_findGameID function - updated plugins code to take advantage of the new plugin API, to support obsolete gameids w/o showing them to the user svn-id: r20752
2006-02-18Enable gob2 detectionEugene Sandulenko
svn-id: r20749
2006-02-18Simplified use of namespacesEugene Sandulenko
svn-id: r20748
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-17Removed lots of unneeded #includes from gob.h, and moved GobGameSettings to ↵Max Horn
gob.cpp -> reduced header dependencies -> faster recompile when one of those headers is modified svn-id: r20740
2006-02-17Added global toGameSettings() template function for convenience; simplified ↵Max Horn
GameSettings usage in some engines svn-id: r20739
2006-02-17Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to ↵Max Horn
Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly svn-id: r20738
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582