Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-01 | ENGINES: Replace many printfs by warning/debug/debugN | Max Horn | |
svn-id: r54031 | |||
2010-11-01 | COMMON: 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-01 | ENGINES: Remove some 'using' statements | Max Horn | |
svn-id: r54001 | |||
2010-10-29 | SCUMM: Switch to the new SaveStateDescriptor::setPlayTime. | Johannes Schickel | |
svn-id: r53923 | |||
2010-10-27 | ENGINE: Rename resetTotalPlayTime to setTotalPlayTime. | Johannes Schickel | |
I also extended the comment for it to show two possible use cases. svn-id: r53895 | |||
2010-10-27 | ENGINE: 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-26 | SCUMM: Add alternative version of patch #3094717 - MMC64: save actor state. | Travis Howell | |
svn-id: r53842 | |||
2010-10-25 | SCUMM: Move shared code of Player_V2 & Player_V2CMS to new common base class | Max Horn | |
svn-id: r53830 | |||
2010-10-25 | SCUMM: Move class Player_V2CMS to its own header file | Max Horn | |
svn-id: r53829 | |||
2010-10-25 | SCUMM: Add patch #3094711 - MMC64: Correct position of plant actor. | Travis Howell | |
svn-id: r53814 | |||
2010-10-25 | SCUMM: Add patch #3089936 - MMC64: Parcel/Tombstone/Verb Fix. | Travis Howell | |
svn-id: r53807 | |||
2010-10-25 | SCUMM: Add patch #3093541 - MMC64: Actor Walk / Object Fix. | Travis Howell | |
svn-id: r53806 | |||
2010-10-25 | SCUMM: Add patch #3093061 - MMC64: sentence highlighting. | Travis Howell | |
svn-id: r53805 | |||
2010-10-25 | SCUMM: Add patch #3093051 - MMC64: Ladder facing patch. | Travis Howell | |
svn-id: r53799 | |||
2010-10-25 | SCUMM: Add patch #3093048 - MMC64: German actor names. | Travis Howell | |
svn-id: r53796 | |||
2010-10-25 | SCUMM: Add patch #3093057 - MMC64: sentence/inventory color. | Travis Howell | |
svn-id: r53785 | |||
2010-10-24 | ALL: code formatting fixes | Max Horn | |
svn-id: r53764 | |||
2010-10-24 | SCUMM: Turn global g_cmsEmu into a member var of Player_V2CMS | Max Horn | |
svn-id: r53763 | |||
2010-10-24 | ALL: Fix various typos (patch #3093266) | Max Horn | |
svn-id: r53762 | |||
2010-10-23 | SCUMM: Skip endian conversion on little endian systems (instead of assigning ↵ | Max Horn | |
values back to themselves) svn-id: r53739 | |||
2010-10-23 | ALL: Fix indention (whitespaces -> tabs) | Max Horn | |
svn-id: r53738 | |||
2010-10-23 | SCUMM: Disable multiplayer option in Backyard Baseball 2001. | Travis Howell | |
svn-id: r53731 | |||
2010-10-23 | SCUMM: 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-23 | SCUMM: Fix buffer overflow, that was causing crashes when saving in Backyard ↵ | Travis Howell | |
Baseball 2001/2003. svn-id: r53726 | |||
2010-10-23 | SCUMM/FM-TOWNS JAPANESE: fix font drawing in MI1 intro | Florian Kagerer | |
svn-id: r53725 | |||
2010-10-22 | SCUMM/FM-TOWNS JAPANESE: fix another font spacing issue | Florian Kagerer | |
(fixes MI1 character talk text) svn-id: r53704 | |||
2010-10-21 | SCUMM: Remove redundant call to checkArrayLimits | Max Horn | |
svn-id: r53672 | |||
2010-10-21 | SCUMM: Document ScummEngine_v90he::sortArray | Max Horn | |
svn-id: r53671 | |||
2010-10-21 | SCUMM: Fix bug #2984000 - SPYFOX3 (French): Crash when using fingernail machine. | Travis Howell | |
svn-id: r53669 | |||
2010-10-21 | SCUMM: Correct a copy and paste error in ↵ | Travis Howell | |
compareByteArray/compareByteArrayReverse code. Thanks to clone2727 for noticng this error. svn-id: r53663 | |||
2010-10-21 | SCUMM: Revert revision 45302, which caused regressions when random team is ↵ | Travis Howell | |
selected in Backyard Football. svn-id: r53662 | |||
2010-10-20 | SCUMM/FM-TOWNS: minor graphics fix | Florian 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-20 | SCUMM: Have o6_getRandomNumber() use the absolute value of the argument | Matthew 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-19 | SCUMM/FM-TOWNS JAPANESE: minor fix in last commit | Florian Kagerer | |
svn-id: r53617 | |||
2010-10-19 | SCUMM/FM-TOWNS JAPANESE: implement flipped text | Florian Kagerer | |
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616 | |||
2010-10-18 | SCUMM/FM-TOWNS JAPANESE: fix font spacing issues | Florian Kagerer | |
(improves MI1 intro) svn-id: r53597 | |||
2010-10-18 | SCUMM: Silence MSVC 2010 code analysis warning | Max Horn | |
svn-id: r53582 | |||
2010-10-18 | SCUMM: INSANE: fix a long standing bug discovered by static code analysis | Eugene Sandulenko | |
svn-id: r53581 | |||
2010-10-18 | SCUMM: 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-18 | SCUMM: Simplify SO_LOAD_STRING code | Max Horn | |
svn-id: r53574 | |||
2010-10-18 | SCUMM: Add paranoia check | Max Horn | |
svn-id: r53573 | |||
2010-10-18 | SCUMM: 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-18 | SCUMM: 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-18 | SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings) | Max Horn | |
svn-id: r53567 | |||
2010-10-18 | SCUMM: Check the sound channel is valid, before checking the sound channel. | Travis Howell | |
svn-id: r53562 | |||
2010-10-18 | SCUMM: Check the sound channel is valid, before checking the sound channel. | Travis Howell | |
svn-id: r53561 | |||
2010-10-18 | SCUMM: Correct incorrect demo entry for Backyard Football 2002. | Travis Howell | |
svn-id: r53560 | |||
2010-10-17 | SCUMM/FM-TOWNS: more improvements to japanese font drawing | Florian Kagerer | |
(MI1 intro is still not right) svn-id: r53558 | |||
2010-10-17 | SCUMM: Fix Macintosh demo of Putt-Putt Joins the Parade. | Travis Howell | |
svn-id: r53557 | |||
2010-10-17 | SCUMM/FM-TOWNS: more improvements to japanese font drawing | Florian Kagerer | |
- made use of LordHotos graphics/sjis code to reduce code duplication - japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.) svn-id: r53554 |