aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
AgeCommit message (Collapse)Author
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-11-05SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawingFlorian Kagerer
(could cause invalid memory access in MI1) svn-id: r54079
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-10-29SCUMM: Switch to the new SaveStateDescriptor::setPlayTime.Johannes Schickel
svn-id: r53923
2010-10-27ENGINE: Rename resetTotalPlayTime to setTotalPlayTime.Johannes Schickel
I also extended the comment for it to show two possible use cases. svn-id: r53895
2010-10-27ENGINE: Generalize SCUMM play time counting and move it into Engine.Johannes Schickel
This implements Max's idea on -devel ("Re: [Scummvm-devel] ATTN Engine authors: Advanced engine features") from 27.10.2010 on 11:12PM CEST. Unlike the SCUMM implementation it stores the play time as ms instead of s. The SCUMM engine was adapted to use this instead to reduce code duplication. svn-id: r53892
2010-10-26SCUMM: Add alternative version of patch #3094717 - MMC64: save actor state.Travis Howell
svn-id: r53842
2010-10-25SCUMM: Move shared code of Player_V2 & Player_V2CMS to new common base classMax Horn
svn-id: r53830
2010-10-25SCUMM: Move class Player_V2CMS to its own header fileMax Horn
svn-id: r53829
2010-10-25SCUMM: Add patch #3094711 - MMC64: Correct position of plant actor.Travis Howell
svn-id: r53814
2010-10-25SCUMM: Add patch #3089936 - MMC64: Parcel/Tombstone/Verb Fix.Travis Howell
svn-id: r53807
2010-10-25SCUMM: Add patch #3093541 - MMC64: Actor Walk / Object Fix.Travis Howell
svn-id: r53806
2010-10-25SCUMM: Add patch #3093061 - MMC64: sentence highlighting.Travis Howell
svn-id: r53805
2010-10-25SCUMM: Add patch #3093051 - MMC64: Ladder facing patch.Travis Howell
svn-id: r53799
2010-10-25SCUMM: Add patch #3093048 - MMC64: German actor names.Travis Howell
svn-id: r53796
2010-10-25SCUMM: Add patch #3093057 - MMC64: sentence/inventory color.Travis Howell
svn-id: r53785
2010-10-24ALL: code formatting fixesMax Horn
svn-id: r53764
2010-10-24SCUMM: Turn global g_cmsEmu into a member var of Player_V2CMSMax Horn
svn-id: r53763
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-23SCUMM: Skip endian conversion on little endian systems (instead of assigning ↵Max Horn
values back to themselves) svn-id: r53739
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-23SCUMM: Disable multiplayer option in Backyard Baseball 2001.Travis Howell
svn-id: r53731
2010-10-23SCUMM: Add workaround to allow saved games to be shared between Macintosh ↵Travis Howell
and Windows versions of Backyard Baseball 2001. svn-id: r53729
2010-10-23SCUMM: Fix buffer overflow, that was causing crashes when saving in Backyard ↵Travis Howell
Baseball 2001/2003. svn-id: r53726
2010-10-23SCUMM/FM-TOWNS JAPANESE: fix font drawing in MI1 introFlorian Kagerer
svn-id: r53725
2010-10-22SCUMM/FM-TOWNS JAPANESE: fix another font spacing issueFlorian Kagerer
(fixes MI1 character talk text) svn-id: r53704
2010-10-21SCUMM: Remove redundant call to checkArrayLimitsMax Horn
svn-id: r53672
2010-10-21SCUMM: Document ScummEngine_v90he::sortArrayMax Horn
svn-id: r53671
2010-10-21SCUMM: Fix bug #2984000 - SPYFOX3 (French): Crash when using fingernail machine.Travis Howell
svn-id: r53669
2010-10-21SCUMM: Correct a copy and paste error in ↵Travis Howell
compareByteArray/compareByteArrayReverse code. Thanks to clone2727 for noticng this error. svn-id: r53663
2010-10-21SCUMM: Revert revision 45302, which caused regressions when random team is ↵Travis Howell
selected in Backyard Football. svn-id: r53662
2010-10-20SCUMM/FM-TOWNS: minor graphics fixFlorian Kagerer
This fixes a graphics glitch that occured when leaving the Scumm Bar in MI1 for the first time (before the cut scene with LeChuck). svn-id: r53645
2010-10-20SCUMM: Have o6_getRandomNumber() use the absolute value of the argumentMatthew Hoops
The Backyard Baseball series calls the function with negative numbers, but expects a positive result. The games are now actually playable. Thanks to Kirben for assistance in tracking this bug down. svn-id: r53630
2010-10-19SCUMM/FM-TOWNS JAPANESE: minor fix in last commitFlorian Kagerer
svn-id: r53617
2010-10-19SCUMM/FM-TOWNS JAPANESE: implement flipped textFlorian Kagerer
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616
2010-10-18SCUMM/FM-TOWNS JAPANESE: fix font spacing issuesFlorian Kagerer
(improves MI1 intro) svn-id: r53597
2010-10-18SCUMM: Silence MSVC 2010 code analysis warningMax Horn
svn-id: r53582
2010-10-18SCUMM: INSANE: fix a long standing bug discovered by static code analysisEugene Sandulenko
svn-id: r53581
2010-10-18SCUMM: Fix out of bound access (discovered by Code Analysis in MS VS2010; ↵Max Horn
thanks to aquadran for helping verify the fix) svn-id: r53575
2010-10-18SCUMM: Simplify SO_LOAD_STRING codeMax Horn
svn-id: r53574
2010-10-18SCUMM: Add paranoia checkMax Horn
svn-id: r53573
2010-10-18SCUMM: Fix potential bug in ScummEngine::resStrLen.Max Horn
In particular, it might happen that ScummEngine::resStrLen is called while the _scriptPointer is stale. In that case, it would be working with the stale pointer. If the code calling it then uses fetchScript*() methods to read the string whose length was just computed, then it would read potentially *different* data (e.g. copyScriptString or loadPtrToResource could have been affected). I am not sure if this actually could have caused bugs somewhere; it might even be provable that a script relocation cannot happen in all places that invoke resStrLen. But for now it's much easier to make the code safe than to verify that theory ;). Also simplified some related code. svn-id: r53572
2010-10-18SCUMM: Move common code from ScummEngine::fetchScript* to new method.Max Horn
The new method is called refreshScriptPointer(). Also renamed getScriptEntryPoint() to resetScriptPointer() in an attempt to highlight both the similarity and difference between the two. svn-id: r53571
2010-10-18SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)Max Horn
svn-id: r53567