aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/mult_v1.cpp
AgeCommit message (Collapse)Author
2010-08-08GOB: Add constants for different surfaces/spritesSven Hesse
Add static const int kFrontSurface = 20; static const int kBackSurface = 21; static const int kAnimSurface = 22; static const int kCursorSurface = 23; static const int kCaptureSurface = 30; to class Draw and substitute the raw numbers in other files with those aliases, for readability. svn-id: r51852
2009-06-24Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own ↵Sven Hesse
class svn-id: r41839
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
2009-06-06GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to ↵Max Horn
SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references svn-id: r41299
2008-07-12Changed tricky variable access from pointers to a new class that minds ↵Sven Hesse
endianess. This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems). svn-id: r33014
2008-05-08Restructured sound codeSven Hesse
svn-id: r31937
2008-05-04Properly close the object videos when the objects are destroyedSven Hesse
svn-id: r31856
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-24Fixing bug #1749688 ("GOB3: Objects Disappear")Sven Hesse
svn-id: r28181
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
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-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-05- Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, ↵Sven Hesse
Mult::_multData2 and some of the loose variables in Mult - Added some missing MD5s/game versions (#1652352) svn-id: r25393
2007-01-31- Correctly setting of Snd::_playingSoundSven Hesse
- Implemented sound fading in/out - o2_stub0x81 -> o2_scroll svn-id: r25307
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-20Changed the way sprites-freeing is handled, now the menu sprites and window ↵Sven Hesse
decorations are drawn svn-id: r24752
2006-06-13More READ_LE_* -> MemoryReadStream conversion + minor cleanupSven Hesse
svn-id: r23089
2006-06-12Fixing loading of Scenery::_animations[] + small gob2 cleanupSven Hesse
svn-id: r23066
2006-06-10More stub-filling + small clean-upSven Hesse
svn-id: r23012
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-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-01More stubs; GOB2 goes in-game for a second, then segfaults in theSven Hesse
Global-constructor; valgrind shows invalid reads in parseValExpr() and parseExpr() while accessing _inter_variables and _inter_execPtr svn-id: r22262
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-12- Fixed the mistake in Mult_v2::loadMult() that caused Gob2 floppy toSven Hesse
have a messed up script-pointer afterwards - Added/Changed parts of Mult_v2::playMult() et al. so that the intro works for a few seconds (with glitches) before getting killed while trying to draw text (CD) or trying to play sounds (floppy) svn-id: r21823
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-24Adding GOB2's CD handling opcodes, the CD version of GOB2 now startsSven Hesse
correctly; playMult() doesn't work yet, though svn-id: r20844
2006-02-21More GOB2 changes (Mult::loadMult()) + correcting some mistakes I madeSven Hesse
svn-id: r20806