aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
AgeCommit message (Collapse)Author
2007-04-05- Minor cleanupSven Hesse
- Added Inter_v3 (for new opcode o3_getTotTextItemPart) - Some fixes to let Gob3 start with the first screen svn-id: r26383
2007-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-29- Properly implemented the ImdPlayerSven Hesse
- Some more clean-up svn-id: r26316
2007-03-20Major clean-up, including:Sven Hesse
- Cutting down the code-dup - Plucking leaks - Removing dead/unused code - Properly naming "word_2342F"-style variables and functions (removing the warnings alongside) - Fleshing out the "stubby" functions - Moving functions and variables to more appropriate/logical places - Re-ordering functions and variables - Re-structuring functions - Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up) - Formatting - Getting rid off the classes "Anim", "Pack" and "Timer", along with their files svn-id: r26252
2007-02-26'Optimized' SquareWaveStream::readBuffer a bit, removed some dead code, and ↵Max Horn
changed Snd::terminate to a destructor (this ensures client code can't forget to do just that -- not that we'd ever forget ... ;-) svn-id: r25884
2007-02-26stop audio streams before deleting themWillem Jan Palenstijn
svn-id: r25882
2007-02-18Repaired loadingSven Hesse
svn-id: r25685
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-17- Added a warning when o1_checkData()/o2_checkData() can't find the file ↵Sven Hesse
it's supposed to check - Fixed the actor drawn over the background glitch in Bargon Attack - Plugged some leaks svn-id: r25651
2007-02-12More demo version fixesSven Hesse
svn-id: r25532
2007-02-12Changed language finding againSven Hesse
svn-id: r25525
2007-02-12- Some fixes for demos and Amiga versionsSven Hesse
- Improved language finding a bit svn-id: r25520
2007-02-04- Plugged some leaks and fixed some memory errorsSven Hesse
- Fixed the cursor animation loops in Ween and Bargon - Added Draw_Bargon + Inter_Bargon - Implemented Bargon Attack's hardcoded intro parts svn-id: r25387
2007-02-01Split the entry for Gobliins 2 multilanguage CD into separate entries for ↵Sven Hesse
each language svn-id: r25329
2007-01-30eplaced platform-specific game features with common platform setting.Eugene Sandulenko
svn-id: r25294
2007-01-30- Changed _soundFlags and implemented "compositions"Sven Hesse
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions - Some clean-up svn-id: r25292
2007-01-30Moved Gob engine to AdvancedDetector.Eugene Sandulenko
svn-id: r25274
2007-01-28- Fixed the Adlib data uglinessSven Hesse
- Worked around the caching of raw sprite video memory to a file svn-id: r25244
2007-01-25- Some clean-upSven Hesse
- Fixed sound playing and looping - Changed Paula to use non-absolute panning, defaulting to 0.25/0.75 and 0.75/0.25, as per madmoose's suggestion - Prepared/Cleaned-up Paula and Infogrames for the move to sound/mods/ svn-id: r25189
2007-01-23Added support for Infogrames/RobHubbard2 (amiga) musicSven Hesse
svn-id: r25160
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-13Rename special debug levels to conform our suggested naming scheme.Eugene Sandulenko
svn-id: r25073
2007-01-04Make sure warning is shown for CD versions of Gobliins 2, when playing from ↵Travis Howell
CD under Windows svn-id: r24986
2007-01-04Add the Amiga version of Gobiins 2 demoTravis Howell
svn-id: r24985
2006-12-24Add md5 for interactive gob2 demo.Eugene Sandulenko
svn-id: r24921
2006-12-18Fixed the note-pad, font changing and date/time-displaySven Hesse
svn-id: r24875
2006-11-30Adding new Gob2 MD5 (closing bug #1605235)Sven Hesse
svn-id: r24796
2006-11-27Removed the "#ifdef SCUMM_BIG_ENDIAN"sSven Hesse
svn-id: r24795
2006-11-27- Properly implemented o2_getCDTrackPos()Sven Hesse
- Each save has now its own file (.s??). They also should be endian-safe now (Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp) - General endianness-fixes svn-id: r24794
2006-11-22Fix MSVC2005 warnings. Please, review the changes.Eugene Sandulenko
svn-id: r24760
2006-11-21- Fixed the crashes in Gob1 EGA and Gob2 DemoSven Hesse
- Fixed the compile error in GobEngine::saveGame on some systems svn-id: r24756
2006-11-20Changed the way sprites-freeing is handled, now the menu sprites and window ↵Sven Hesse
decorations are drawn svn-id: r24752
2006-11-19Implemented (currently still endian-unsafe) save/loadSven Hesse
svn-id: r24745
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