Commit Graph

857 Commits

Author SHA1 Message Date
Johannes Schickel
0eee3fe591 - Implements copyRegion without transparency checking
- Uses copyRegion without transparency checking to fix credits drawing bugs

svn-id: r21989
2006-04-17 19:52:31 +00:00
Johannes Schickel
2fb0ce8c57 Simplifies credits.txt loading.
svn-id: r21988
2006-04-17 19:39:31 +00:00
Johannes Schickel
592e37accd Fixes bug #1471895 ("KYRA1: Kyragem goes black at the very end").
svn-id: r21987
2006-04-17 19:33:08 +00:00
Torbjörn Andersson
6e2a18e28d Rewrote the timing of the Kyra end credits so that it doesn't matter that the
variables are signed. Otherwise the credits may hang on a slow system.

svn-id: r21986
2006-04-17 19:31:05 +00:00
Oystein Eftevaag
bdd5a25c16 Implements the end credits, and disables fast forwarding in the intro.
svn-id: r21980
2006-04-17 17:39:08 +00:00
Max Horn
ac24769196 Replaced o70_seekFilePos by o60_seekFilePos (both were identical)
svn-id: r21979
2006-04-17 14:32:46 +00:00
Travis Howell
2a0ba88aef Trigger videos for OmniTV in FF
svn-id: r21978
2006-04-17 13:48:44 +00:00
Travis Howell
d832f69f4c Adjust video playback code, due to false calls in prison of FF
svn-id: r21977
2006-04-17 13:19:36 +00:00
Travis Howell
5bfe6fd6f4 Remove leftover warning
svn-id: r21976
2006-04-17 12:46:20 +00:00
Travis Howell
82dfef4ce2 Improve sound support in FF and add MoviePlayer class
svn-id: r21975
2006-04-17 12:05:45 +00:00
Travis Howell
092893a16d Minor cleanup
svn-id: r21960
2006-04-17 05:01:29 +00:00
Travis Howell
5b3f73f27c Intergrate the DXA player for Amiga/Macintosh verisons of FF, from cyx
svn-id: r21959
2006-04-17 04:02:48 +00:00
Travis Howell
2c5874e925 Handle unsigned variableArray reads better in FF, fixes more missing subroutines
svn-id: r21958
2006-04-17 01:31:02 +00:00
Travis Howell
3497bab17c Fix box selection after vertical scrolling in FF
svn-id: r21957
2006-04-17 01:04:08 +00:00
Travis Howell
30645d5e05 Only allocate scale buffer when using FF
svn-id: r21956
2006-04-17 00:35:38 +00:00
Travis Howell
632185fb7e Fix vertical scrolling
svn-id: r21955
2006-04-17 00:34:21 +00:00
Johannes Schickel
e7716748ba Should fix wrong thumbnail colors after a screen change, which changed bpp.
svn-id: r21954
2006-04-16 20:41:40 +00:00
Max Horn
74edd90aba Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
2006-04-16 19:23:14 +00:00
Torbjörn Andersson
d2efa9fc65 The backend is responsible for making its own copy of the mouse cursor, so FF
can use the original data, instead of leaking memory every time the
drawMousePointer() function is called (several times per second).

svn-id: r21948
2006-04-16 17:53:37 +00:00
Torbjörn Andersson
75e851777b The File class automatically tries adding "." to a filename if the file cannot
be found, so there's no need for the Simon engine to do it. (Though the game
detector still does at the moment.)

svn-id: r21947
2006-04-16 16:56:11 +00:00
Willem Jan Palenstijn
784467abfd changed comments into real comments
svn-id: r21945
2006-04-16 14:14:22 +00:00
Max Horn
fe01f3a03f Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
svn-id: r21944
2006-04-16 14:07:55 +00:00
Travis Howell
1a20a9ae09 Add missing mouse pointer checks for oracle and SAM in FF
svn-id: r21942
2006-04-16 13:37:48 +00:00
Max Horn
6c076f80d7 Reduced dependencies on base/plugins.h
svn-id: r21940
2006-04-16 13:12:23 +00:00
Max Horn
206fdf0528 Fixed broken svn:keywords values
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
ba1b25305e Removed the directory parameter from md5_file
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn
856b1b0bf4 Do not override the 'directory' param when dumping BASS resources
svn-id: r21936
2006-04-16 12:39:59 +00:00
Max Horn
453aad9ec3 Do not override the 'directory' param when dumping BS2 resources
svn-id: r21935
2006-04-16 12:23:37 +00:00
Travis Howell
cadafb0689 Fix cursor colors in chemsitry set for FF
svn-id: r21933
2006-04-16 10:12:33 +00:00
Travis Howell
26736f9a67 Fix mouse cursor changing for buttons in chemistry set for FF
svn-id: r21932
2006-04-16 09:52:10 +00:00
Travis Howell
58bfa30c7b Improve cursor support in FF
svn-id: r21930
2006-04-16 06:49:13 +00:00
Travis Howell
cc0ebb97e4 Use default cursor in FF for now, to make selection easier
svn-id: r21929
2006-04-16 05:37:16 +00:00
Travis Howell
426a75ad6a Correct sign, to fix weird path finding issues in FF
svn-id: r21928
2006-04-16 01:06:18 +00:00
Travis Howell
e83841e8c7 Fix speech id for o_screenTextMsg() in FF
svn-id: r21927
2006-04-15 23:23:55 +00:00
Travis Howell
5b388fc48e Cleanup
svn-id: r21926
2006-04-15 22:37:48 +00:00
Travis Howell
9d703f1fcf Remove out dated comment
svn-id: r21925
2006-04-15 22:22:03 +00:00
Travis Howell
b90b595060 Use different methods to avoid overflows to FF, to avoid regressions
svn-id: r21924
2006-04-15 22:14:39 +00:00
Travis Howell
53698416f2 Use different methods to avoid overflows to FF, to avoid regressions
svn-id: r21923
2006-04-15 22:14:18 +00:00
Max Horn
ec17b6505e Removed unused #include
svn-id: r21918
2006-04-15 21:20:32 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328 Removed GameDetector::_gameid in favor of using a config manager entry
svn-id: r21915
2006-04-15 17:39:14 +00:00
Travis Howell
e3737b9f47 Fix display of swap character logo in FF
svn-id: r21912
2006-04-15 14:25:41 +00:00
Max Horn
9c4577b639 - Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in favor of settings in the transient config domain
- This also means you can now set those options in the config file
- Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form

svn-id: r21909
2006-04-15 13:50:44 +00:00
Travis Howell
2f024e2701 Increase size of variable array entries, to prevent overflows that often occur in FF. The original FF used unsigned variable arrays, but Simon 1/2 requires a signed variable array.
svn-id: r21905
2006-04-15 12:19:38 +00:00
Travis Howell
5e8f44fcf2 Minor cleanup
svn-id: r21904
2006-04-15 07:56:55 +00:00
Travis Howell
0c8d182106 Change _numTextBoxes to unsigned, to stop compile warnings
svn-id: r21903
2006-04-15 06:47:26 +00:00
Travis Howell
3d36a28296 Adjust various number of textBox checks for FF
svn-id: r21902
2006-04-15 06:42:40 +00:00
Travis Howell
647b318a97 Increase array sizes for FF and cleanup
svn-id: r21901
2006-04-15 06:35:40 +00:00
Travis Howell
18e6b21e28 Add support for switching voice file in PC versions of FF and cleanup
svn-id: r21900
2006-04-15 05:24:44 +00:00
Travis Howell
f1592e1fef Fix compile warnings I caused
svn-id: r21899
2006-04-15 01:56:49 +00:00
Travis Howell
10bc7b0887 Remove last use of hard coded language values and adjust settings for FF
svn-id: r21898
2006-04-15 01:48:52 +00:00
Travis Howell
c8fa54ec80 Adjust video opcodes for second variable array
svn-id: r21897
2006-04-15 01:09:04 +00:00
Max Horn
aa2964ceff Some more detector stub code (unused)
svn-id: r21896
2006-04-15 00:24:20 +00:00
Travis Howell
0076235ebb Fix another glitch in save game interface of FF
svn-id: r21893
2006-04-14 22:30:34 +00:00
Max Horn
199e5cb4f7 Some cleanup of the SCUMM ConfigDialog; also added a big FIXME comment explaining what the dialog does badly, and how that could be fixed (anybody feeling bored, feel free to implement the solution I outline there)
svn-id: r21890
2006-04-14 18:51:42 +00:00
Sven Hesse
cff96b0a75 - Seems like I forget a branch in Mult_v2::animate()
- sub_1A52B is Scenery::updateStatic()

svn-id: r21889
2006-04-14 18:18:46 +00:00
Travis Howell
7a74eeda08 Fix glitch when entering saved game name in FF
svn-id: r21886
2006-04-14 11:05:54 +00:00
Travis Howell
6ba9a5fcf3 Correct size, when clearing image in renderString() for FF
svn-id: r21885
2006-04-14 11:02:56 +00:00
Travis Howell
601820548c Avoid possible regression in set_video_mode_internal() for Simon1
svn-id: r21884
2006-04-14 10:37:34 +00:00
Travis Howell
1a629682a5 Fix object name display, after conversation in FF
svn-id: r21883
2006-04-14 10:36:44 +00:00
Max Horn
6df54763ef Yes, it is really necessry to compute a special 'disk number' here (in fbear at least)
svn-id: r21882
2006-04-14 10:32:06 +00:00
Travis Howell
77ad88a2f2 Add variant for updated Spy Fox 1
svn-id: r21881
2006-04-14 09:58:20 +00:00
Travis Howell
f254b5b73a Cleanup
svn-id: r21880
2006-04-14 09:57:43 +00:00
Max Horn
de08164420 Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
svn-id: r21879
2006-04-14 09:45:29 +00:00
Travis Howell
8a7950d87b Remove unused code
svn-id: r21877
2006-04-14 09:06:39 +00:00
Travis Howell
081a7b737a A few corrections to path finding in FF
svn-id: r21876
2006-04-14 07:24:40 +00:00
Torbjörn Andersson
d3a0f122a9 Adjusted debug message levels: loading a cutscene is more interesting than the
drawing of a scaled sprite.

svn-id: r21875
2006-04-14 07:06:54 +00:00
Travis Howell
bd2adbee81 Ooops, increment table, not field in invertBox{}
svn-id: r21874
2006-04-14 06:36:35 +00:00
Travis Howell
89e0e27f6a Add missing increment in invertBox()
svn-id: r21873
2006-04-14 06:26:18 +00:00
Torbjörn Andersson
3058efc168 Fixed stupid mistake (it's my mistake, I can call it whatever I want!) in the
scaling code. Hopefully it's right now. The scaling glitches seem to be gone,
at any rate.

svn-id: r21872
2006-04-14 05:15:11 +00:00
Travis Howell
1a6849de91 Add speech support for Amiga verison of FF
svn-id: r21871
2006-04-14 05:13:59 +00:00
Travis Howell
de0dd94c9c Add support for sound effects in Amiga version of FF and cleanup
svn-id: r21870
2006-04-14 04:22:49 +00:00
Max Horn
1470dadb1d Changed File::open to take a Common::String as file name parameter
svn-id: r21867
2006-04-14 01:48:51 +00:00
Travis Howell
b1191c56ac Remove duplicate check in checkPaths
svn-id: r21864
2006-04-14 01:26:00 +00:00
Travis Howell
94774a148d Fix regression in Amiga version of FF
svn-id: r21857
2006-04-14 00:10:12 +00:00
Max Horn
daf541e0b8 Fix compiler warnings
svn-id: r21855
2006-04-14 00:05:26 +00:00
Travis Howell
3407185358 Add invertBox function for FF
svn-id: r21854
2006-04-13 23:34:58 +00:00
Travis Howell
cd9dde81f4 Add checkPaths function for FF
svn-id: r21851
2006-04-13 22:29:08 +00:00
Sven Hesse
fb985a26f8 Fixed the invalid reads visible with valgrind, deleted the
printText-dup, it's wrong for Gob2 anyway...

svn-id: r21849
2006-04-13 21:52:23 +00:00
Sven Hesse
a3cd0bd17d Commented the SpriteOperation in Draw_v2::printText() out for now,
they are responsible for background mess-ups in the intro

svn-id: r21848
2006-04-13 21:09:39 +00:00
Sven Hesse
3bed2d377e Some more stubs and rearrangings
svn-id: r21847
2006-04-13 20:56:22 +00:00
Torbjörn Andersson
e21f99c7ba Slightly more verbose error message.
svn-id: r21846
2006-04-13 18:09:33 +00:00
Sven Hesse
07a0d54891 - More stubs, the intro now works completely (with extreme graphical
glitches and without sound in the floppy version), the title screen
  is shown afterwards
- Added skipping of the floppy version's copy protection screen,
  since the CD version doesn't show it either

svn-id: r21845
2006-04-13 16:25:07 +00:00
Torbjörn Andersson
c9555a5d54 Added TODO about some extra data files that Operation Stealth has to load.
svn-id: r21844
2006-04-13 15:42:52 +00:00
Travis Howell
89c89c0209 Add code for save game interface in FF
svn-id: r21843
2006-04-13 14:26:46 +00:00
Johannes Schickel
e9034e274f Fixes save/load.
svn-id: r21842
2006-04-13 13:55:10 +00:00
Travis Howell
696cbe1a64 Fix display of saved games list in oracle of FF, when saving
svn-id: r21841
2006-04-13 12:23:30 +00:00
Travis Howell
eaddfc5ed8 vc36_setWindowImage is used for difference purpose in FF
svn-id: r21840
2006-04-13 10:03:45 +00:00
Torbjörn Andersson
4ee82b0caf Work around crash in drawSpriteRaw(). In Future Wars, when going to the future,
I walked back to the room where I first arrived. At that point, maskPtr was
NULL for reasons yet unknown.

svn-id: r21839
2006-04-13 09:53:51 +00:00
Travis Howell
a4c5a691cc Disable quick load/save is FF, since original sometimes disabled load/save and it isn't reliable at the moment
svn-id: r21838
2006-04-13 09:45:03 +00:00
Travis Howell
4ef316713e Minor fixes to scrolling in FF
svn-id: r21837
2006-04-13 09:43:27 +00:00
Travis Howell
09f4ae1580 Fix various crash issues in FF, the image number in vc2_call needed to be adjusted
svn-id: r21836
2006-04-13 07:16:42 +00:00
Eugene Sandulenko
3fa9fa06c2 Clarified detection filenames for HE games (removed FIXME comments).
svn-id: r21835
2006-04-13 04:01:55 +00:00
Torbjörn Andersson
f5ab0e5578 Fixed potential crash in drawDialogueMessage(): The function should terminate
if, for some reason, messagePtr is NULL.

svn-id: r21833
2006-04-12 22:07:41 +00:00
Torbjörn Andersson
19a1cdfe85 Actions that do not have any custom response now print one of the default
responses. (Before, nothing would happen.)

svn-id: r21832
2006-04-12 22:06:30 +00:00
Torbjörn Andersson
cdcf44d3f3 Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands.

svn-id: r21829
2006-04-12 16:34:23 +00:00
Max Horn
2c3e1fe4ea Fixing mismatch between format strings and data on some systems
svn-id: r21828
2006-04-12 14:54:31 +00:00
Max Horn
cf202049ff Fixing mismatch between format strings and data on some systems
svn-id: r21827
2006-04-12 14:54:12 +00:00
Torbjörn Andersson
151b38a6e5 This assertion shouldn't be needed. At least not here.
svn-id: r21826
2006-04-12 11:29:00 +00:00
Torbjörn Andersson
9dfc4b5f69 Fixed serious bug in removeOverlayElement() that would cause it to fail. This
caused getObjectUnderCursor() select the wrong object because the object list
was no longer guaranteed to be sorted on priority ("mask").

In Future Wars, this made it difficult (impossible?) to pick up the tunic,
because the game would pick the bushes instead, even though the tunic had a
higher priority.

svn-id: r21825
2006-04-12 11:27:45 +00:00