aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/map_v2.cpp
AgeCommit message (Collapse)Author
2015-08-03GOB: Remove a useless call to Variables::getAddressOff8()Sven Hesse
This is a left-over vestige of when the gob engine recorded the size of each variable currently in use, because it byte-swapped all variables on save/load depending on the machine ScummVM ran on. The gob engine doesn't do that all anymore (instead, the variables are always stored in the endianness of the original game), so getAddressOff8() doesn't store "this is an 8-bit variable" anymore, making the call a NOP. This fixes Coverity Scan issue #1267142.
2014-02-18GOB: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-30GOB: Stub some Adibou mult stuffSven Hesse
svn-id: r55653
2011-01-27GOB: Some Addy gameflow stubsSven Hesse
svn-id: r55562
2010-11-01GOB: Fix a map cleanup regressionSven Hesse
svn-id: r54025
2010-10-30GOB: Rename Map::_widthByte to _mapVersionSven Hesse
svn-id: r53950
2010-10-30GOB: Make Map::_wayPoints protectedSven Hesse
Only allow const access through Map::getWayPoint() svn-id: r53949
2010-10-30GOB: Make Map::_passMap protected and group some varsSven Hesse
svn-id: r53948
2010-10-25GOB: Format optimizePoints() to be a bit more readableSven Hesse
svn-id: r53792
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-09-01Making another variable offset unsigned, since it overflows int16Sven Hesse
svn-id: r43900
2009-09-01Fixing warnings and adding a warning should the ID be something yet unknown, ↵Sven Hesse
just in case svn-id: r43899
2009-09-01Playtoons: Add support to IDs 65530, 65531, 65532, 65534, and renamed Id -1 ↵Arnaud Boutonné
into 65535 in Map_v2::loadMapObjects. This allows to start the contruction mode and "somehow" use it. (Thanks DrMcCoy for pointing out my errors) svn-id: r43896
2009-07-29Oops, fixing a regression I created with the Map_v4/Map_v2-mergeSven Hesse
svn-id: r42894
2009-07-24Merging Map_v4 into Map_v2Sven Hesse
svn-id: r42716
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-05-31- A new save system for the GobEngine, one that is not fundamentally broken ↵Sven Hesse
and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system - Removed the now superfluous variables sizes svn-id: r41056
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-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-08-13Woodruff is now controllableSven Hesse
svn-id: r28591
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-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
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
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-07-08- Fixed a few mistakes that added up to look correct, fixing bargon's cursorSven Hesse
- Updated cursor drawing in general svn-id: r23429
2006-06-13Some more READ_LE_* -> MemoryReadStream.* conversionsSven Hesse
svn-id: r23099
2006-06-10More stub-filling + small clean-upSven Hesse
svn-id: r23012
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-04- Fixed endianness/signess issuesSven Hesse
- Added a memset in Video_v2::SpriteUncompressor(), that should have been there in the first place; this fixes the tree in GOB2's first room - Fixed ADL delete[]ing svn-id: r22917
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