aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/goblin.cpp
AgeCommit message (Collapse)Author
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
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
2009-05-21Splitting a few helper functions out of gob.hSven Hesse
svn-id: r40765
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2008-08-23Fixing _itemsMap access (bug #2069177)Sven Hesse
svn-id: r34113
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-28Script variables are now always stored in the game version's native endianess.Sven Hesse
This should make Woodruff playable on big-endian systems. svn-id: r32352
2008-05-08Restructured sound codeSven Hesse
svn-id: r31937
2008-05-07Changed the two instances of "delete []" into "delete[] " as wellSven Hesse
svn-id: r31926
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-07-25Some more safety checks and the first room's background can be seenSven Hesse
svn-id: r28204
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-04-27That should fix another segfault when clicking outside of the screen (bug ↵Sven Hesse
#1708863) svn-id: r26629
2007-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-30- Fixed the IMD playing within mults, the non-interactive Gob3 demo should ↵Sven Hesse
work better now - Replaced strcpy with strncpy where appropriate - Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230 svn-id: r26327
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-14- Changed the square wave generator / speaker emulation, hopefully fixing ↵Sven Hesse
the walking sound issue (#1621086) - Fixed some misplaced actor glitches in Bargon svn-id: r25585
2007-02-05Corrected the clipping of _pressedMapX/_pressedMapY, to avoid accessing ↵Sven Hesse
invalid memory (also possible fix for bug #1652551) svn-id: r25395
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-13Rename special debug levels to conform our suggested naming scheme.Eugene Sandulenko
svn-id: r25073
2006-12-14Smashed the wizard's house bugSven Hesse
svn-id: r24850
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-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-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-06-08Fix some msvc8 warnings.Johannes Schickel
svn-id: r22988
2006-06-07More goblin handling functions, now the deactivated goblin showsSven Hesse
his boredom. It's the wrong goblin that's deactivated, though. Also, the entering animation is still missing (now nothing is drawn instead). svn-id: r22979
2006-06-06Two segfault and several coding style related fixesSven Hesse
svn-id: r22954
2006-05-31Fixed deletion statement as it was deleting arrays(CW compiler was ↵Lars Persson
complaining). svn-id: r22810
2006-05-31Use _mapWidth/_mapHeight instead of constantSven Hesse
svn-id: r22801
2006-05-31Hopefully fixed bug #1498024Sven Hesse
svn-id: r22796
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-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-02-26stop playing a sample before deleting the sample dataWillem Jan Palenstijn
svn-id: r20902
2006-02-24Changed debug()s to debugC()sSven Hesse
svn-id: r20848
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582