Max Horn
3bc38ba7b8
Added some actual file sizes to the MD5 table
...
svn-id: r23747
2006-08-25 17:52:45 +00:00
Max Horn
cb062b128b
Add possibilitz to store file sizes in the MD5 table (for future use)
...
svn-id: r23746
2006-08-25 17:27:59 +00:00
Travis Howell
d12f257ffa
Correct platform for alternative Italian version of Simon the Sorcerer 1 (DOS CD)
...
svn-id: r23745
2006-08-25 13:02:47 +00:00
Torbjörn Andersson
4f9576e033
The DXA player now bases subtitle position on screen size, rather than frame
...
size. This should help people who want to use the smaller, low-quality
cutscenes instead of the high-quality ones.
The MPEG player probably doesn't know this trick. Maybe later.
svn-id: r23742
2006-08-23 21:13:11 +00:00
Torbjörn Andersson
d4d2146a0a
Run the game detector before creating the engine. This is based entirely on a
...
recent change to the CINE engine (which in turn was based on some other engine,
I forget which), and should fix bug #1544796 . Of course, given how primitive
the Broken Sword 2 detector is, it's easy to fool it. There isn't really any
need for it to be smart, though.
svn-id: r23741
2006-08-23 04:26:01 +00:00
Max Horn
ceefad6634
Added workaround (and warnings to find corner cases) for bug #1535358
...
svn-id: r23738
2006-08-21 13:02:47 +00:00
Max Horn
1e683e6124
Yet another paranoia check
...
svn-id: r23737
2006-08-21 10:52:07 +00:00
Max Horn
2c0967e7bb
cleanup & check for sentence overflows
...
svn-id: r23736
2006-08-21 10:04:04 +00:00
Travis Howell
e9be88c444
Rename VAR_MOUSEPRESENT to VAR_INPUTMODE and set the default input type to mouse mode. Fighting uses mouse mode by default in FOA now, just like the original game.
...
svn-id: r23727
2006-08-20 00:43:34 +00:00
Sven Hesse
0f6d8ab269
Fixed pathfinding
...
svn-id: r23718
2006-08-16 20:52:43 +00:00
Joost Peters
998d2fe96a
Apply patch #1534805 ("BASS: Linc font too wide in version 303")
...
svn-id: r23714
2006-08-16 20:01:58 +00:00
Eugene Sandulenko
7f3ac3f025
Limit md5 computations to first 5000 bytes in gob engine.
...
svn-id: r23713
2006-08-15 21:19:09 +00:00
Eugene Sandulenko
375da47dc0
Add PT_BRA FT MD5 as reported in bugreport #1539740
...
svn-id: r23711
2006-08-15 19:59:29 +00:00
Johannes Schickel
7d0435f23c
- adding LPGL headers to adlib sound specific files
...
- stating about dual license of adlib sound specific files
svn-id: r23708
2006-08-15 18:04:01 +00:00
Torbjörn Andersson
4476ed5294
Made FF use the same max length for every line when word-wrapping subtitles,
...
rather than using the length of the previous line. This fixes bug #1536401 .
svn-id: r23706
2006-08-13 06:32:16 +00:00
Sven Hesse
8d72b8e415
Ooops again, use the correct delete...
...
svn-id: r23703
2006-08-12 13:40:16 +00:00
Sven Hesse
a8c64ffb4a
Ooops, free the allocated _startTot/_startTot0, too...
...
svn-id: r23702
2006-08-12 13:38:33 +00:00
Sven Hesse
6ee511e68b
Added another field to the GameSettings for the intro.tot, because the Gobliins 2 demo uses usa.tot
...
instead
svn-id: r23701
2006-08-12 12:35:18 +00:00
Sven Hesse
1c4715b71f
- Some more goblins-handling functions
...
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins
(finally) move. Also, the correct music is played in the first screen.
- Found the hook for the menu
- On freeing a sound slot, only stop the playing music if it's in the
slot to free
svn-id: r23700
2006-08-12 09:16:08 +00:00
Johannes Schickel
eee50637b8
Little Common::String usage 'fix'.
...
svn-id: r23698
2006-08-08 21:34:19 +00:00
Paul Gilbert
389c7a403c
changed references to StringData::getString to use two parameter version rather than passing NULL values
...
svn-id: r23697
2006-08-07 13:28:19 +00:00
Paul Gilbert
d80d6157b6
Incremented required data file version
...
svn-id: r23696
2006-08-07 13:27:28 +00:00
Paul Gilbert
ea90eb0699
Renamed hotspot talking destination character field to make it's use clearer
...
svn-id: r23695
2006-08-07 13:26:30 +00:00
Paul Gilbert
b1dbf7328f
Reworked the talk dialog system to properly handle destination character and active item Id. Also completed ASK action handler
...
svn-id: r23694
2006-08-07 13:24:45 +00:00
Paul Gilbert
9af1acc901
Fixed item overwriting destination character in ASK action
...
svn-id: r23693
2006-08-07 13:23:30 +00:00
Paul Gilbert
1a77d61ace
Enhanced Room::setTalkDialog to be passed the destination character and active item hotspot Id
...
svn-id: r23692
2006-08-07 13:21:15 +00:00
Paul Gilbert
c0e600e0fa
Fixed displayMessage script method to use the new Hotspot::showMessage
...
svn-id: r23691
2006-08-07 13:19:10 +00:00
Paul Gilbert
e911afb525
Dialog::showMessage transferred over to the Hotspot class. Also enhanced TalkDialog to handle being passed a destination character and active item
...
svn-id: r23690
2006-08-07 13:16:07 +00:00
Paul Gilbert
ba32b91688
Fixed signature of GetString method - it is a destination character passed, not the current action. Also added a new method to return a decoded string with the correct definite article prefix (a/an/the)
...
svn-id: r23689
2006-08-07 13:13:20 +00:00
Paul Gilbert
9f74320aef
Reduced MD5 checking to 1Kb, and recalculated MD5 strings
...
svn-id: r23686
2006-08-06 09:18:38 +00:00
Travis Howell
a27f905eea
Fix bug #1535261 FF:Dock Crash - decompressData error
...
svn-id: r23684
2006-08-06 05:38:19 +00:00
Max Horn
0caaf3fc2c
Patch #1522592 : Bugfix [1498158] SIMON: Itemheap overflow on 64bit systems
...
svn-id: r23670
2006-08-04 18:58:10 +00:00
Max Horn
40835e42b9
There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code
...
svn-id: r23668
2006-08-04 18:01:43 +00:00
Max Horn
0b50c4966c
Activate _dimsInactive for ValueDisplayDialog, makes the text speed/volume change etc. mini-dialogs behave a little bit less weird (TODO: Disable cursor change)
...
svn-id: r23667
2006-08-04 17:59:53 +00:00
Max Horn
0485f76c8d
Changed GUI code to do 'lazy'/'just-in-time' reflowing, so that client code doesn't have to forward EVENT_SCREEN_CHANGED to us (this may initially cause some regressions, please report any induced crashes or oddities you observe to me)
...
svn-id: r23663
2006-08-04 15:48:37 +00:00
Max Horn
1a10cacfb9
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
...
svn-id: r23662
2006-08-04 13:55:53 +00:00
Torbjörn Andersson
af3241f700
Run the Cine engine's game detector before starting a game, to ensure that it
...
really is there. I hope this is the right way of fixing bug #1534073 .
svn-id: r23660
2006-08-04 09:46:40 +00:00
Torbjörn Andersson
44dd6a386e
Committed my own patch #1533833 (minus one line that was left over from an
...
earlier experimental version) after discussing it with LordHoto. This works
around a bug in the "Pool of Sorrow" Adlib data which caused the channels to
drift more and more out of sync for each time the music looped. The patch
forces the channels involved to jump in sync. As with all such workarounds, it
may cause regressions. But it shouldn't.
svn-id: r23659
2006-08-03 13:11:16 +00:00
Torbjörn Andersson
e0cd675a47
Since the XMIDI music no longer automatically loops, there's no need to fade it
...
out just as it's reaching its most dramatic point.
svn-id: r23657
2006-08-03 11:13:06 +00:00
Torbjörn Andersson
6a40e7f789
This is a grossly over-simplified, yet hopefully sufficient for Kyrandia, way
...
of handling XMIDI loops. If anyone feels like doing it properly in
midiparser_xmidi.cpp, the Exult project probably has one of the better
reference implementations. For now, though, I don't see any real need to, and
this change is clearly flagged as a hack.
svn-id: r23656
2006-08-03 11:12:05 +00:00
Torbjörn Andersson
7d53480025
Kyra 2 has two types of XMIDI files: XMI and C55. It seems C55 are for the
...
General MIDI instrument set, so use them unless we're in MT-32 mode. This makes
the music sound a bit closer (at least to me) to what DOSbox plays.
svn-id: r23653
2006-08-01 13:42:33 +00:00
Torbjörn Andersson
56c59d1da6
Don't start the Kyra 2 menu music until the first frame has faded up, to better
...
match the original behaviour.
svn-id: r23652
2006-08-01 10:25:10 +00:00
Torbjörn Andersson
afe26b5ea5
Until the native Kyra 2 Adlib music is supported, enable the automagic MIDI-to-
...
Adlib converter.
svn-id: r23651
2006-08-01 07:44:38 +00:00
Torbjörn Andersson
c32c7e00c4
Don't set the MIDI volume to 255 at the end of a fade-out. At least on my
...
hardware, that causes an annoying spike in the volume. We already reset the
volume to 255 at the beginning of a new track anyway, as far as I can tell.
svn-id: r23650
2006-08-01 03:29:32 +00:00
Oystein Eftevaag
ec8f1b092d
Committing patch '[ 1531177 ] Kyra2 mock-up' by eriktorbjorn, with the addition of playing the music tracks as well (Only MIDI works for now though)
...
svn-id: r23649
2006-07-31 23:05:01 +00:00
Johannes Schickel
01b3a0b568
Yet more kyra3 init code.
...
svn-id: r23648
2006-07-31 16:37:34 +00:00
Travis Howell
ff10c827fd
Fix bug #1528856 - ZAK FM-TOWNS: Wrong Screen-Start position in jungle.
...
svn-id: r23646
2006-07-31 14:48:58 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
a1bb64e24b
Const correctness
...
svn-id: r23644
2006-07-31 13:37:47 +00:00
Travis Howell
155f65815e
Fix bug #1528535 - ZAK FM-TOWNS: Wrong stripe in background.
...
svn-id: r23642
2006-07-31 12:53:15 +00:00