Commit Graph

29839 Commits

Author SHA1 Message Date
Travis Howell
2809c23fc9 Add snap scroll option from original games (SCUMM3-5), and enable for earlier games too.
svn-id: r39283
2009-03-10 00:26:40 +00:00
Jordi Vilalta Prat
940f19dc23 Groovie: Initial support for different opcode sets
svn-id: r39282
2009-03-10 00:19:44 +00:00
Eugene Sandulenko
52b52d3c5e Fix for bug #2671611: T7G: Checksums for unknown english 7th Guest cd version
Now instead of showing partial list of files detector will provide "submit
md5" message only if at least one entry with every file present will be
found.

svn-id: r39281
2009-03-09 23:08:44 +00:00
Johannes Schickel
00c6d2c91c Fix compiler warnings.
svn-id: r39280
2009-03-09 22:39:53 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +00:00
Max Horn
6c93249715 SCI: result_word_t -> ResultWord; switched to Common::List for storing lists of ResultWords
svn-id: r39278
2009-03-09 22:25:33 +00:00
Travis Howell
f3e50fba7c Personal Nightmare is part of the AGOS engine.
svn-id: r39277
2009-03-09 21:42:10 +00:00
Willem Jan Palenstijn
1e4c9488f2 Don't adjust data pointer in makeStream.
It is already adjusted in getAudioStream.

svn-id: r39276
2009-03-09 21:11:39 +00:00
Florian Kagerer
cbf2602783 LOL: - fixed inventory bug
- fixed monster speed

svn-id: r39275
2009-03-09 20:34:36 +00:00
Willem Jan Palenstijn
a00559136f Fix uninitialized color meta-values.
This fixes holes in text boxes in Iceman, among other things.

svn-id: r39274
2009-03-09 20:31:43 +00:00
Max Horn
7ec2a98177 SCI: Added BaseSongIterator copy constructor which invokey sci_refcount_incref
svn-id: r39273
2009-03-09 19:55:18 +00:00
Willem Jan Palenstijn
d2514d20b9 Reset child iterators on deletion.
This fixes an illegal access in ~TeeSongIterator.

svn-id: r39272
2009-03-09 19:44:10 +00:00
Benjamin Haisch
f525575495 - Applied patch #2668849 by sunmax
svn-id: r39271
2009-03-09 18:19:53 +00:00
Benjamin Haisch
72897a4b09 Added LGOP2 detection entries:
- German, supplied by windlepoons (bug tracker #2675695)
- French and Spanish, supplied by goodoldgeorg (bug tracker #2675759)

svn-id: r39270
2009-03-09 18:03:46 +00:00
Max Horn
4e6a7d83d1 SCI: Rewrote handling of song wakeup times & (iterator) delays, to avoid rounding issues between ticks (1/60s) and milliseconds; also fixed a bug (coming from Glutton ;) where delays measured in millisecs were treated as ticks instead. Thanks to Walter for the precursor of this patch
svn-id: r39263
2009-03-09 16:15:35 +00:00
Max Horn
77b40251ca Added some more Audio::Timestamp unit tests
svn-id: r39262
2009-03-09 16:15:25 +00:00
Travis Howell
b771aa5f0d Add more code differences in PN.
svn-id: r39261
2009-03-09 08:38:02 +00:00
Travis Howell
2ff57df1e5 Cleanup.
svn-id: r39260
2009-03-09 04:37:31 +00:00
Travis Howell
93deecccef Minor cleanup.
svn-id: r39259
2009-03-09 04:16:27 +00:00
Travis Howell
269754759f Changed _inputting & _inputReady from uint8 to bool.
svn-id: r39258
2009-03-09 03:58:18 +00:00
Max Horn
7cd40da1be Added some comments to Audio::Timestamp
svn-id: r39257
2009-03-09 03:45:40 +00:00
Max Horn
563d76d342 AGOS: Changed _leftButtonDown & _rightButtonDown from byte to int
svn-id: r39256
2009-03-09 03:45:33 +00:00
Max Horn
e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Max Horn
93240b003a cleanup ;-)
svn-id: r39254
2009-03-09 02:50:25 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
b2d49eaeef Add comment to getlong().
svn-id: r39252
2009-03-09 02:07:06 +00:00
Florian Kagerer
76ab92f8ec LOL: added scene animations (like that fountain right at the start)
svn-id: r39251
2009-03-09 01:57:42 +00:00
Florian Kagerer
6d9a047276 LOL: minor fix for text displayer (text pages now advance automatically when the speech has reached the next part)
svn-id: r39250
2009-03-09 00:54:27 +00:00
Florian Kagerer
6cb3f665af LOL: some more work on the text displayer so that it handles longer texts (needed for some library books)
svn-id: r39249
2009-03-08 23:28:19 +00:00
Travis Howell
2abfb968a6 Replace samewrd() function, with scumm_strnicmp.
svn-id: r39248
2009-03-08 22:54:00 +00:00
Travis Howell
b2ec405011 Add loading of hard coded icon data in the AtariST version of PN.
svn-id: r39247
2009-03-08 22:51:19 +00:00
Sven Hesse
6ccb7bea5b Added more missing NULLing
svn-id: r39246
2009-03-08 22:44:47 +00:00
Johannes Schickel
9068ae8424 Formatting.
svn-id: r39245
2009-03-08 21:05:39 +00:00
Johannes Schickel
e123621cf9 Fix warning.
svn-id: r39244
2009-03-08 20:51:30 +00:00
Willem Jan Palenstijn
77d056654f Fix missing return.
svn-id: r39243
2009-03-08 20:43:36 +00:00
Willem Jan Palenstijn
ced40b2266 Use new Palette class to manager pixmap palettes.
There are some remaining regressions with text colour in SCI1 games,
but overall it should fix more than it breaks.

svn-id: r39242
2009-03-08 20:17:01 +00:00
Max Horn
85f6f20419 some cleanup
svn-id: r39241
2009-03-08 18:58:09 +00:00
Eugene Sandulenko
6c0ac7f692 Resurrection of SCI tools. Step 1.
svn-id: r39240
2009-03-08 17:20:33 +00:00
Oystein Eftevaag
fcb2faa18a Added proper icon for the mac os x target
svn-id: r39239
2009-03-08 17:02:06 +00:00
Oystein Eftevaag
b5e40034bc The xcode project can now compile a native Mac OS X build
svn-id: r39238
2009-03-08 16:09:25 +00:00
Filippos Karapetis
0c51a5f393 Added game object data files for dino and FTA2
svn-id: r39237
2009-03-08 16:05:49 +00:00
Eugene Sandulenko
ef1e3ebc3c Patch #2658710: "Add comments to specify which engines use which decoders"
svn-id: r39236
2009-03-08 15:57:59 +00:00
Filippos Karapetis
44f479c82e Updated the MSVC project files of the SAGA engine
svn-id: r39235
2009-03-08 15:40:46 +00:00
Filippos Karapetis
9d7111006d - Reworked the different file types a bit
- Some initial work on Dinotopia's intro sequence

svn-id: r39234
2009-03-08 15:39:19 +00:00
Travis Howell
468f9c43b7 Correct more errors in hitBox8().
svn-id: r39233
2009-03-08 14:39:04 +00:00
Filippos Karapetis
ef2758fd71 Updated the MSVC project files of the SCI engine (added gfx/font.h)
svn-id: r39232
2009-03-08 14:37:41 +00:00
Filippos Karapetis
70ef87a38b Updated the AGOS engine with the additional files for PN. Also, warnings are not treated as errors in AGOS, cause MSVC throws a warning about the currently non-portable setjmp code in PN
svn-id: r39231
2009-03-08 14:36:09 +00:00
Johannes Schickel
de6f1ec597 Oops, fix size argument to memset call.
svn-id: r39230
2009-03-08 14:33:18 +00:00
Filippos Karapetis
ca2c1b35b4 Variable _oneClick is a byte, so we can't compare it to boolean true/false
svn-id: r39229
2009-03-08 14:28:05 +00:00
Willem Jan Palenstijn
52f3b24668 Restore potentially useful info deleted in r39188
svn-id: r39228
2009-03-08 14:27:35 +00:00