Commit Graph

14550 Commits

Author SHA1 Message Date
Martin Kiewitz
11d9f15010 SCI: search for %J in text resources to identify japanese games, switch to upscaled hires when japanese games are started, removed TODO
svn-id: r47088
2010-01-06 18:25:43 +00:00
Filippos Karapetis
254850aa23 - Some work on kLocalToGlobal and kGlobalToLocal for SCI2+
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...)
- Improved the sanity checks in frameOut()

svn-id: r47087
2010-01-06 17:25:54 +00:00
Filippos Karapetis
9a99226d31 Removed a hack from the fallback detector, used to distinguish some demos from their full versions
svn-id: r47086
2010-01-06 16:39:48 +00:00
Vladimir Menshakov
c58c870159 removed all magic about mark's velocity
svn-id: r47084
2010-01-06 16:09:57 +00:00
Johannes Schickel
297a955579 - Simplify Audio::calculateSampleOffset.
- Made Audio::calculateSampleOffset accessable from outside audiostream.cpp.
- Adapt KYRA's AUDStream to use Audio::calculateSampleOffset.

svn-id: r47082
2010-01-06 15:40:49 +00:00
Johannes Schickel
84f3034406 - Move openStreamFile from AudioStream to SeekableAudioStream.
- Fix documentation of openStreamFile.

svn-id: r47080
2010-01-06 15:23:33 +00:00
Filippos Karapetis
027fe079c9 The error inside execute_method() has been restored, it's only a warning for SCI2+ games for now, till we figure out what's wrong
svn-id: r47079
2010-01-06 14:04:56 +00:00
Martin Kiewitz
9272822486 SCI: initPriorityBands() now aborts when getting called and screen size is not 320x200
svn-id: r47078
2010-01-06 13:26:53 +00:00
Martin Kiewitz
07ce38db5f SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only
svn-id: r47077
2010-01-06 13:22:36 +00:00
Filippos Karapetis
ce5320d814 SCI2+ games no longer use priority bands (fixes memory leaks in true hires games, too)
svn-id: r47076
2010-01-06 13:11:10 +00:00
Martin Kiewitz
7d7d23ce2b SCI: making most of the variables in screen class private (some of it was needed for old gui)
svn-id: r47075
2010-01-06 13:05:14 +00:00
Filippos Karapetis
86c1171b11 Removed one more hardcoded screen dimension
svn-id: r47074
2010-01-06 12:55:51 +00:00
Filippos Karapetis
3d3d0dee1b SCI2.1 and newer games always run at 640x480
svn-id: r47073
2010-01-06 12:21:27 +00:00
Filippos Karapetis
bcf7535c97 Removed all hardcoded screen sizes
svn-id: r47072
2010-01-06 12:17:03 +00:00
Vladimir Menshakov
69566f6bf1 do not interrupt any actions (test for wii)
svn-id: r47069
2010-01-06 10:11:38 +00:00
Vladimir Menshakov
427a15cd05 minor cleanups
svn-id: r47068
2010-01-06 09:38:56 +00:00
Johannes Schickel
668f6e5de8 Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use any looping features anyway).
svn-id: r47066
2010-01-06 00:02:19 +00:00
Johannes Schickel
5243157eb1 Adapt digital iMuse to use SeekableAudioStream::seek, instead of ryling on the deprecated FLAC, Vorbis and MP3 interface.
svn-id: r47064
2010-01-06 00:01:27 +00:00
Johannes Schickel
fb9017c51e Adapt SAGA to use Mixer::playAudioStreamLooping instead of relying the depracted in AudioStream looping support.
svn-id: r47063
2010-01-06 00:00:50 +00:00
Johannes Schickel
0e420431fd Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.
svn-id: r47062
2010-01-06 00:00:25 +00:00
Johannes Schickel
81a94a0644 - Put the new factories for MP3, Vorbis and FLAC in place.
- Marked the loop factories with loop related parameters as deprecated.

svn-id: r47061
2010-01-05 23:59:28 +00:00
Johannes Schickel
79ee2b0895 Properly adapt AUDStream to be a SeekableAudioStream and switched KYRA3 to use playAudioStreamLooping for its looping purposes.
svn-id: r47060
2010-01-05 23:05:31 +00:00
Vladimir Menshakov
711fada15c added logs about EVENT_RTL
svn-id: r47059
2010-01-05 22:23:58 +00:00
Johannes Schickel
88b4bbb952 Fix broken Scumm dialogs, which is a regression from r46947. (They used a dummy name, which didn't exist in the theme config and later on just calculated the size on their own...)
svn-id: r47057
2010-01-05 22:18:09 +00:00
Vladimir Menshakov
841e2d3424 separate timers for mark, scene and messages.
svn-id: r47056
2010-01-05 22:09:16 +00:00
Martin Kiewitz
d183420c86 SCI: implemented debug command "set_palette"
svn-id: r47047
2010-01-05 21:25:59 +00:00
Filippos Karapetis
3e911cd6e8 Changed an error to a warning in execute_method(), so that Torin's Passage scripts continue running (and crash at some later point)
svn-id: r47044
2010-01-05 21:05:32 +00:00
Martin Kiewitz
be9507fcb1 SCI: implemented new debug command "draw_cel"
svn-id: r47043
2010-01-05 21:03:33 +00:00
Vladimir Menshakov
7e5a7533ca more accurate timings.
svn-id: r47042
2010-01-05 20:58:41 +00:00
Martin Kiewitz
8bafb71df3 SCI: remove lowres limit from picture class, makes hires sci32 pictures work
svn-id: r47041
2010-01-05 20:52:19 +00:00
Martin Kiewitz
3bf03039b8 SCI: removed hardcoded screen width/height from windowMgr menuPort
svn-id: r47040
2010-01-05 20:49:03 +00:00
Martin Kiewitz
d183fb3c81 SCI: fix debug command draw_pic to accept higher resourceIds
svn-id: r47039
2010-01-05 20:39:21 +00:00
Vladimir Menshakov
e4a6b1c455 added subtitle speed option
fixed bug when idle animation could be displayed in a middle of the dialogue

svn-id: r47038
2010-01-05 20:15:29 +00:00
Johannes Schickel
920dac2f9d Remove unsafe getTotalPlayTime from AudioStream.
svn-id: r47037
2010-01-05 20:14:28 +00:00
Johannes Schickel
e9a94ecb9b Add a "getLength" function to SeekableAudioStream.
svn-id: r47036
2010-01-05 20:13:31 +00:00
Martin Kiewitz
1712e223e2 SCI: removed uint16 limit within view class (allows hires views)
svn-id: r47035
2010-01-05 19:55:05 +00:00
Torbjörn Andersson
c4106653a8 Fixed bug #2924968, "AGI: Can't click "cancel" in Save/Restore Game Menu". This
regression was probably introduced with r45260, "AGI: cleanup
GfxMgr::testButton".

svn-id: r47030
2010-01-05 18:52:39 +00:00
Filippos Karapetis
cc87f4a741 Renamed the version of drawCel() which calls BitsShow() to drawCelAndShow(), to avoid confusion
svn-id: r47028
2010-01-05 14:59:43 +00:00
Filippos Karapetis
9606e7fca7 Some initial work on SCI1.1 view scaling (not working yet)
svn-id: r47027
2010-01-05 14:19:53 +00:00
Filippos Karapetis
45bf6fc0d7 Removed a leftover unused hack from the old graphics code
svn-id: r47026
2010-01-05 14:17:47 +00:00
Martin Kiewitz
b2fd2a8310 SCI: sci32 pictures are now fully drawn to screen (including all layers)
svn-id: r47025
2010-01-05 13:51:47 +00:00
Filippos Karapetis
928322314d Removed duplicate code
svn-id: r47024
2010-01-05 13:21:39 +00:00
Filippos Karapetis
3b8512b104 Cleanup, fixed fading of digital sound effects
svn-id: r47023
2010-01-05 10:28:09 +00:00
Paul Gilbert
43f19bc722 Added a new LureLanguage enumeration of supported languages, and changed game code to use it
svn-id: r47019
2010-01-05 08:24:27 +00:00
Paul Gilbert
c8f991e89b Bugfix for crash if an error occurs before the game object (and thus the debugger) is created
svn-id: r47018
2010-01-05 05:25:18 +00:00
Matthew Hoops
5fbbd5b8d9 Zero the array before using it. You can go talk to Grace now, DrMcCoy.
svn-id: r47017
2010-01-05 04:00:13 +00:00
Johannes Schickel
f5c3bd887e - Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer...
- Adapted some existing AudioStreams to implement that interface (not tested!)

svn-id: r47013
2010-01-05 02:27:24 +00:00
Filippos Karapetis
00e48f687f Cleanup
svn-id: r47012
2010-01-05 01:52:56 +00:00
Matthew Hoops
e87cc86665 Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his precious 'Gabriel is a lout' line :P
svn-id: r47011
2010-01-05 01:51:09 +00:00
Filippos Karapetis
e72e130048 Yet more renaming
svn-id: r47010
2010-01-05 01:47:44 +00:00