Commit Graph

2178 Commits

Author SHA1 Message Date
Thierry Crozat
16c73378b9 i18N: Add a few strings to translate in the SCUMM help dialog.
svn-id: r54547
2010-11-28 19:23:02 +00:00
Thierry Crozat
f20da5f98c I18N: Add translation of the SCUMM help dialog.
svn-id: r54449
2010-11-23 22:47:20 +00:00
Max Horn
09ba53dcfb SCUMM: Use explicit XOR decoding code in BaseScummFile subclasses
This made it possible to turn some MemoryReadStream pointers into plain
SeekableReadStream pointers.

svn-id: r54435
2010-11-23 22:25:36 +00:00
Max Horn
54e0390752 SCUMM: Replace Common::File uses by SeekableReadStream and SearchMan
svn-id: r54434
2010-11-23 22:25:10 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
ee4770ffb6 ENGINES: Change 'colour' to 'color'
Only changed this in engines where 'color' was/is already used
almost exclusively

svn-id: r54288
2010-11-17 12:22:08 +00:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93 GUI: Move major widgets to new directory gui/widgets
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-16 10:11:57 +00:00
Max Horn
059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
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-08 22:53:36 +00:00
Max Horn
4d3a07b494 COMMON: Rename and tweak MD5 functions
* 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-07 17:16:59 +00:00
Florian Kagerer
206971d16b SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawing
(could cause invalid memory access in MI1)

svn-id: r54079
2010-11-05 00:36:23 +00:00
Max Horn
a7248a0601 ENGINES: Replace many printfs by warning/debug/debugN
svn-id: r54031
2010-11-01 21:37:47 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
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 16:02:28 +00:00
Max Horn
a1dd7a07a1 ENGINES: Remove some 'using' statements
svn-id: r54001
2010-11-01 16:00:17 +00:00
Johannes Schickel
447ca7ea69 SCUMM: Switch to the new SaveStateDescriptor::setPlayTime.
svn-id: r53923
2010-10-29 16:41:49 +00:00
Johannes Schickel
dac9493069 ENGINE: Rename resetTotalPlayTime to setTotalPlayTime.
I also extended the comment for it to show two possible use cases.

svn-id: r53895
2010-10-27 22:52:02 +00:00
Johannes Schickel
2ad28b8cd5 ENGINE: Generalize SCUMM play time counting and move it into Engine.
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-27 22:37:51 +00:00
Travis Howell
2f254a3531 SCUMM: Add alternative version of patch #3094717 - MMC64: save actor state.
svn-id: r53842
2010-10-26 04:20:20 +00:00
Max Horn
075919756f SCUMM: Move shared code of Player_V2 & Player_V2CMS to new common base class
svn-id: r53830
2010-10-25 16:42:24 +00:00
Max Horn
d2a7a840c7 SCUMM: Move class Player_V2CMS to its own header file
svn-id: r53829
2010-10-25 16:41:39 +00:00
Travis Howell
57b571ecd0 SCUMM: Add patch #3094711 - MMC64: Correct position of plant actor.
svn-id: r53814
2010-10-25 10:35:52 +00:00
Travis Howell
f158688c33 SCUMM: Add patch #3089936 - MMC64: Parcel/Tombstone/Verb Fix.
svn-id: r53807
2010-10-25 08:26:21 +00:00
Travis Howell
4f0cc6a435 SCUMM: Add patch #3093541 - MMC64: Actor Walk / Object Fix.
svn-id: r53806
2010-10-25 08:03:55 +00:00
Travis Howell
f228c76b35 SCUMM: Add patch #3093061 - MMC64: sentence highlighting.
svn-id: r53805
2010-10-25 07:53:02 +00:00
Travis Howell
5942382ad4 SCUMM: Add patch #3093051 - MMC64: Ladder facing patch.
svn-id: r53799
2010-10-25 07:07:23 +00:00
Travis Howell
8e10c5bc3b SCUMM: Add patch #3093048 - MMC64: German actor names.
svn-id: r53796
2010-10-25 05:26:16 +00:00
Travis Howell
b2e8daa2d7 SCUMM: Add patch #3093057 - MMC64: sentence/inventory color.
svn-id: r53785
2010-10-25 03:21:49 +00:00
Max Horn
b446a7dcc2 ALL: code formatting fixes
svn-id: r53764
2010-10-24 13:09:56 +00:00
Max Horn
5fbca853aa SCUMM: Turn global g_cmsEmu into a member var of Player_V2CMS
svn-id: r53763
2010-10-24 13:05:03 +00:00
Max Horn
c975ed11a1 ALL: Fix various typos (patch #3093266)
svn-id: r53762
2010-10-24 13:04:33 +00:00
Max Horn
0d54400806 SCUMM: Skip endian conversion on little endian systems (instead of assigning values back to themselves)
svn-id: r53739
2010-10-23 15:47:23 +00:00
Max Horn
3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Travis Howell
3f4655c03f SCUMM: Disable multiplayer option in Backyard Baseball 2001.
svn-id: r53731
2010-10-23 13:39:04 +00:00
Travis Howell
402fac9ed4 SCUMM: Add workaround to allow saved games to be shared between Macintosh and Windows versions of Backyard Baseball 2001.
svn-id: r53729
2010-10-23 06:27:16 +00:00
Travis Howell
afd677c2c7 SCUMM: Fix buffer overflow, that was causing crashes when saving in Backyard Baseball 2001/2003.
svn-id: r53726
2010-10-23 02:18:08 +00:00
Florian Kagerer
a82b0435a2 SCUMM/FM-TOWNS JAPANESE: fix font drawing in MI1 intro
svn-id: r53725
2010-10-23 00:30:21 +00:00
Florian Kagerer
031e0167e4 SCUMM/FM-TOWNS JAPANESE: fix another font spacing issue
(fixes MI1 character talk text)

svn-id: r53704
2010-10-22 19:28:12 +00:00
Max Horn
89fc06d878 SCUMM: Remove redundant call to checkArrayLimits
svn-id: r53672
2010-10-21 09:32:00 +00:00
Max Horn
66fabfa049 SCUMM: Document ScummEngine_v90he::sortArray
svn-id: r53671
2010-10-21 09:31:42 +00:00
Travis Howell
cca5504b6c SCUMM: Fix bug #2984000 - SPYFOX3 (French): Crash when using fingernail machine.
svn-id: r53669
2010-10-21 08:51:10 +00:00
Travis Howell
e5c3b67ddb SCUMM: Correct a copy and paste error in compareByteArray/compareByteArrayReverse code.
Thanks to clone2727 for noticng this error.

svn-id: r53663
2010-10-21 05:17:16 +00:00
Travis Howell
01ea6f86bd SCUMM: Revert revision 45302, which caused regressions when random team is selected in Backyard Football.
svn-id: r53662
2010-10-21 05:13:32 +00:00
Florian Kagerer
64c0d2a1d1 SCUMM/FM-TOWNS: minor graphics fix
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 15:39:08 +00:00
Matthew Hoops
21a29d3b45 SCUMM: Have o6_getRandomNumber() use the absolute value of the argument
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-20 03:01:03 +00:00
Florian Kagerer
f6a43d980a SCUMM/FM-TOWNS JAPANESE: minor fix in last commit
svn-id: r53617
2010-10-19 17:03:36 +00:00
Florian Kagerer
1d87f434a2 SCUMM/FM-TOWNS JAPANESE: implement flipped text
(used in the MI1 circus scene after Guybrush gets shot out of the cannon)

svn-id: r53616
2010-10-19 16:58:27 +00:00
Florian Kagerer
f05110f3f6 SCUMM/FM-TOWNS JAPANESE: fix font spacing issues
(improves MI1 intro)

svn-id: r53597
2010-10-18 23:54:35 +00:00
Max Horn
ceae152531 SCUMM: Silence MSVC 2010 code analysis warning
svn-id: r53582
2010-10-18 19:29:56 +00:00
Eugene Sandulenko
dd7a2f75c0 SCUMM: INSANE: fix a long standing bug discovered by static code analysis
svn-id: r53581
2010-10-18 19:19:28 +00:00