Commit Graph

18627 Commits

Author SHA1 Message Date
Eugene Sandulenko
375da47dc0 Add PT_BRA FT MD5 as reported in bugreport #1539740
svn-id: r23711
2006-08-15 19:59:29 +00:00
Eugene Sandulenko
c870d057a4 Change Brazilian Portuguese acronym from "pt" to "br" in case there will
be pure Portuguese games and to make use of brazilian flag. No detection stuff
is dependent on this, though BASS and Sword1 make use of it. However no
autoupgrade option is implemented, should it be?

svn-id: r23710
2006-08-15 19:54:41 +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
Torbjörn Andersson
b4311d15ca The ListWidget constructor already did most of what reflowLayout() does, except
calling Widget::reflowLayout(). I've simplified that by calling reflowLayout()
directly instead. This may be a bit of a hack, but it was the best way I could
think of to ensure that _entriesPerPage was properly initialised. It wasn't
before, because _h had not been initialised, causing Valgrind to complain.

svn-id: r23705
2006-08-12 17:24:49 +00:00
Torbjörn Andersson
e9b9aa65a6 Whitespace.
svn-id: r23704
2006-08-12 16:42:19 +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
de9ba3adee Updates msvc8 project files.
svn-id: r23699
2006-08-08 21:35:15 +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
bdff0ae58a Removed stripping of high two bits of hotspot name and desc field string Ids
svn-id: r23687
2006-08-07 13:09:27 +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
ce79bfdf59 Since we link against libvorbisfile, we should check for its presence, too
svn-id: r23681
2006-08-05 10:51:15 +00:00
Max Horn
ec3b351133 Added missing agi.vcproj file
svn-id: r23680
2006-08-05 09:04:49 +00:00
Max Horn
ccd1f48895 Fix bug in Fluidsynth configure code
svn-id: r23679
2006-08-04 22:59:49 +00:00
Max Horn
ea3572b684 Simplify configure code a bit, making it easier to add stuff to config.mk
svn-id: r23678
2006-08-04 22:46:06 +00:00
Max Horn
ae79aa3017 Modified version of the rest of patch #1497254: Patch to add support for the Atari ST/FreeMiNT Platform
svn-id: r23677
2006-08-04 20:34:43 +00:00
Max Horn
3a88d7a752 Added -Wuninitialized to --enable-release (best used in combination with --enable-Werror :-)
svn-id: r23676
2006-08-04 20:27:48 +00:00
Max Horn
355a978572 Disabled '-O -Wuninitialized by default; this eases debugging a lot in some cases, at the cost of a nice-but-not-so-often-needed compiler warning (see also patch #1511980)
svn-id: r23675
2006-08-04 20:24:49 +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
aab45bac44 Only refresh the theme & reflow all dialogs if the screen settings actually changed
svn-id: r23669
2006-08-04 18:11:00 +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
4ee581adb5 Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
svn-id: r23666
2006-08-04 17:47:57 +00:00
Max Horn
d74bc3fe3a Patch #1531027: Updated MSVC7.1 (.NET 2003) project files
svn-id: r23665
2006-08-04 17:34:23 +00:00
Max Horn
71be08d869 Patch #1527347: Make maemo port compile again
svn-id: r23664
2006-08-04 17:33:17 +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
Max Horn
ca7880df6c Added new method OSystem::getScreenChangeID(), which can be used by code to track screen changes even without getting all EVENT_SCREEN_CHANGED events
svn-id: r23661
2006-08-04 13:10:28 +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
James Brown
d304e7b476 Add a logo.bmp to DS port, to fix building. agentq, feel free to replace if the filesize is too big or whatever :)
svn-id: r23658
2006-08-03 12:20:28 +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
15f9a3ce33 Some more whitespace changes.
svn-id: r23655
2006-08-01 14:10:46 +00:00
Torbjörn Andersson
1e9e65d5bc Whitespace.
svn-id: r23654
2006-08-01 14:05:18 +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