Commit Graph

18701 Commits

Author SHA1 Message Date
Johannes Schickel
43fbc9eb81 Adding comment about forced MQ on small devices.
svn-id: r23620
2006-07-29 23:44:09 +00:00
Johannes Schickel
1d52f836dc Some formatting 'fixes'
svn-id: r23619
2006-07-29 23:42:27 +00:00
Max Horn
29b64b4aab Small fix for the symbian port
svn-id: r23618
2006-07-29 20:20:01 +00:00
Torbjörn Andersson
f51fc44e66 Added _quitFlag test to Kyra 2 animation and to waitForEvent().
svn-id: r23617
2006-07-29 05:59:44 +00:00
Johannes Schickel
f8d4994dc2 Little cleanup.
svn-id: r23616
2006-07-28 17:42:33 +00:00
Johannes Schickel
b17c895ea9 Updating msvc8 project files.
svn-id: r23615
2006-07-28 17:35:04 +00:00
Oystein Eftevaag
3c4b13ed33 Moves the kyra2 code to kyra2.cpp and kyra2.h, renames WSAMovieV3 to WSAMovie2 (kyra2 uses the same format), renames a define in kyra3.h for consistency, and adds a case for CMDS in the VQA player to avoid the constant warning (the tag is always present and empty). Credit/blame for the last one goes to Clemmy :). Starting kyra2 will now show the title animation.
svn-id: r23614
2006-07-28 11:42:53 +00:00
Johannes Schickel
a69ac7717d Oops it should never be renamed to c1_* but to o1_* changing this now.
svn-id: r23613
2006-07-27 20:39:52 +00:00
Johannes Schickel
ee5621137f - renaming all opcodes from cmd_* to c1_*
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too
- unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3)

svn-id: r23612
2006-07-27 20:30:51 +00:00
Johannes Schickel
8a0ec2a3e5 - moving KyraEngine_v3 declaration to newly added kyra3.h
- implements a little bit init stuff
- implements some music handling

svn-id: r23610
2006-07-27 18:29:14 +00:00
Johannes Schickel
d9e5134919 Workaround for bug #1498221 ("KYRA1: Glitches when meeting Zanthia").
svn-id: r23608
2006-07-27 00:09:13 +00:00
Johannes Schickel
bcc892ec81 Make the midi player threadsafe (this should fix bug #1506583 "KYRA1: Crash on exceeded polyphony").
svn-id: r23605
2006-07-26 22:24:33 +00:00
Torbjörn Andersson
eb7cda50aa Fade out the music when using the Kyra 3 menu to exit. (The original does, and
it might make a useful test case for the fade-out code.)

svn-id: r23604
2006-07-26 20:39:27 +00:00
Torbjörn Andersson
e9f1323221 End the Kyra 3 menu screen if _quitFlag is set.
svn-id: r23603
2006-07-26 20:30:57 +00:00
Kostas Nakos
fcb7fe3e63 hotfix for bug #1519449 (scaling/crash issue) (backport)
svn-id: r23602
2006-07-26 20:09:12 +00:00
Kostas Nakos
c11a5c939d fix bug 1521718 (dpad mouse emulation) (backport)
svn-id: r23600
2006-07-26 17:25:14 +00:00
Torbjörn Andersson
ec6a9b0071 Removed unnecessary #include
svn-id: r23598
2006-07-26 06:36:58 +00:00
Johannes Schickel
d2befe0c6f Skips scroll down sequence then the user wishes to skip the intro.
svn-id: r23596
2006-07-26 05:33:48 +00:00
Johannes Schickel
5ccb436cad Nicer quit handling in the intro sequences.
svn-id: r23594
2006-07-26 05:27:34 +00:00
Johannes Schickel
37d050e9da Add support for looping the kyra3 main menu.
svn-id: r23593
2006-07-25 15:11:42 +00:00
Travis Howell
bb5280bb2f Check uppercase and lowercase, when confirming quit in Simon the Sorcerer 1/2
svn-id: r23591
2006-07-25 03:46:56 +00:00
Travis Howell
7fe844cac6 Fix bug #1496523 - MM: Weird Ed appears backwards at door
svn-id: r23589
2006-07-24 12:49:58 +00:00
Johannes Schickel
f464830a17 Documenting Common::File a bit.
svn-id: r23588
2006-07-24 12:10:32 +00:00
Travis Howell
100b809836 Fix bug #1527630 - ZAK FM-TOWNS: Actor (Caponian) picks wrong line
svn-id: r23586
2006-07-24 10:52:14 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Torbjörn Andersson
eabe720a0e Changed __lure_res_h__ to LURE_RES_H etc for consistency.
svn-id: r23584
2006-07-23 15:32:14 +00:00
Torbjörn Andersson
6050989bd8 Changed SAGA_ACTOR_H__ to SAGA_ACTOR_H etc for consistency.
svn-id: r23583
2006-07-23 15:16:50 +00:00
Max Horn
4fcdbb9349 String class usage cleanup
svn-id: r23582
2006-07-23 15:08:48 +00:00
Torbjörn Andersson
602548cea3 Removed GCC_PACK that must have been re-added by accident.
svn-id: r23581
2006-07-23 15:01:21 +00:00
Paul Gilbert
6585033705 Added extra hotspot flags bytes needed for asking Ratpouch for an object, and changed differing word read macros to use a single standard
svn-id: r23579
2006-07-23 13:19:33 +00:00
Paul Gilbert
9780117a77 Initial commit of tool to create lure.dat file
svn-id: r23578
2006-07-23 13:08:22 +00:00
Kostas Nakos
1ec5d56780 Add kyra skip intro key (backport).
svn-id: r23577
2006-07-23 09:36:34 +00:00
Torbjörn Andersson
5cb8802699 The GUI now uses the cursor palette for all themes. Therefore, it shouldn't be
necessary to set up a "dummy" palette for the cursor any more. If an engine
wants to display an error message without using the GUI, it can set up its own
palette.

With this change, ScummVM no longer sets a palette before _screen is created in
the SDL backend.

svn-id: r23575
2006-07-23 07:18:37 +00:00
Torbjörn Andersson
b845eb9b99 Initialise the screen before creating the music driver. The MT-32 driver wants
to draw to the screen.

svn-id: r23574
2006-07-23 07:06:26 +00:00
Torbjörn Andersson
15f08bf268 Warn if copyRectToScreen() is called before _screen is created, since it's
almost certainly a programming error. (Used to be silently ignored.)

Warn if setPalette() is called before _screen is created, but allow it (for
now) since we don't actually set the palette until later. It could still be a
programming error, though.

Don't crash if updateScreen() is called with a "dirty" palette before _screen
is created.

svn-id: r23573
2006-07-23 06:50:49 +00:00
Johannes Schickel
a68f7100ce No need for packing SaveInfoSection and ThumbnailHeader anymore.
svn-id: r23572
2006-07-23 02:20:49 +00:00
Torbjörn Andersson
9ab0c1d915 Clear the active domain when (re)opening the launcher dialog. This fixes bug
#1523050.

svn-id: r23571
2006-07-22 21:23:49 +00:00
Max Horn
b4af5bc331 Adding unit test for struct packing
svn-id: r23570
2006-07-22 18:39:41 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
1ffd496043 Added some warnings if md5_file is used on an illegal FilesystemNode.
svn-id: r23568
2006-07-22 17:06:14 +00:00
Johannes Schickel
63aec29edb Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to -devel for more information.
svn-id: r23567
2006-07-22 17:01:50 +00:00
Max Horn
c59e7ece0a Part of the FreeMiNT patch
svn-id: r23566
2006-07-22 17:00:36 +00:00
Johannes Schickel
d272f6c483 Hardcoding header size of the Thumbnail and of the Info section of scumm games.
(because packed struct handling changed and gcc seems not to be happy with it)
This should unbreak new save games made after this commit.

svn-id: r23565
2006-07-22 16:19:00 +00:00
Johannes Schickel
16de659f59 Fixing compiler warnings under amd64.
svn-id: r23564
2006-07-22 16:09:34 +00:00
Johannes Schickel
98809a857a Removing '/' at pathsnames of calls to "File::addDefaultDirectory" since it can't be assumed that the FS code uses '/' as path separators
(and it shouldn't break anything)

svn-id: r23563
2006-07-22 15:46:36 +00:00
Johannes Schickel
8116b6aab3 Using FilesystemNode::name instead of FilesystemNode::displayName in the fileclass too, then again this doesn't *have* to work. (check FilesystemNode documentation)
svn-id: r23562
2006-07-22 15:21:40 +00:00
Torbjörn Andersson
e3ab20ee90 Fixed DO_OPTION_OPT so that the '=' is no longer required in long options. (The
value is, as the name implies, optional.) This fixes bug #1526483.

svn-id: r23561
2006-07-22 15:16:28 +00:00
Johannes Schickel
3f81726437 Return false for directories on md5_file with a FSNode as param.
svn-id: r23560
2006-07-22 15:05:59 +00:00
Johannes Schickel
4ae5cef491 - let md5_file accept a FilesystemNode too
- changes some engine detectors to use it

svn-id: r23559
2006-07-22 14:59:44 +00:00
Johannes Schickel
cfd9977425 Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
svn-id: r23558
2006-07-22 14:50:50 +00:00