5002 Commits

Author SHA1 Message Date
Filippos Karapetis
fe2924d50d SCI: initialize members of the Object class when it's constructed
svn-id: r52544
2010-09-05 12:33:27 +00:00
Filippos Karapetis
f17a9f9fb0 SCI: Changed consecutive ifs to a switch
A table would be better, but the switch will do for now

svn-id: r52543
2010-09-05 11:30:40 +00:00
Filippos Karapetis
047979b409 SCI: Fix for alignment exception issue, reported by Bluddy
svn-id: r52542
2010-09-05 11:10:49 +00:00
Filippos Karapetis
913f39da19 SCI: Some cleanup of the static selector code
- Added more static selectors, for debugging
- Added some needed selectors for the non-interactive demo of Pepper

svn-id: r52541
2010-09-05 10:59:44 +00:00
Filippos Karapetis
7dcb19e41b SCI: Added a workaround for the non-interactive demo of Pepper
svn-id: r52540
2010-09-05 10:55:25 +00:00
Filippos Karapetis
16bed50469 SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"
svn-id: r52539
2010-09-05 09:27:41 +00:00
Martin Kiewitz
e55c928075 SCI: kDoBresen changes for sci1early+
including change to compare dest and current position directly, otherwise we would trigger ::moveDone one cycle too late in case the current move completed - fixes lsl5 patti upside down bug #3059336 and lb2cd (cd only!) laura bow getting transformed into a boiler-flame (bug #3050602) - lsl5 was not a real regression, the timing of previous kDoBresen way just off, so it didn't happen in that scene, but happened in lb2cd

svn-id: r52531
2010-09-04 18:23:37 +00:00
Filippos Karapetis
3daf588e08 SCI: Janitorial - fixed spaces and typos
svn-id: r52527
2010-09-04 17:16:41 +00:00
Filippos Karapetis
98f36800e3 SCI: Added another version of Hoyle 3 (bug report #3038837)
svn-id: r52526
2010-09-04 17:10:27 +00:00
Filippos Karapetis
34195238bb SCI: Don't try to initialize non-existent scripts, error out instead
(Invalid scripts may be requested to be loaded when warping to an incorrect room)

svn-id: r52524
2010-09-04 15:38:24 +00:00
Filippos Karapetis
8a93da0516 SCI: Updated comment concerning kCantBeHere and removed a wrong check for Hoyle 3
svn-id: r52523
2010-09-04 14:46:29 +00:00
Martin Kiewitz
7836bb87fd SCI: fixing typo in kDoAvoider
svn-id: r52520
2010-09-04 11:27:03 +00:00
Martin Kiewitz
e7f834e103 SCI: delete on textedit control now checks string
svn-id: r52518
2010-09-04 10:39:22 +00:00
Martin Kiewitz
afada2b60d SCI: fixing comment
svn-id: r52517
2010-09-04 09:58:37 +00:00
Filippos Karapetis
c34cec4e15 SCI: Fixed bug #3037595 - "KQ4: Crash reading message in the bottle (whale mouth)"
svn-id: r52516
2010-09-04 09:41:39 +00:00
Martin Kiewitz
f95a2ac499 SCI: removing non-sierra sci code in kDirLoop
svn-id: r52515
2010-09-04 09:20:38 +00:00
Martin Kiewitz
89d4e44281 SCI: doing detectDoSoundType() properly sci0early
checking, if sound resources are sci0early or late for sci0early games instead of hardcoding lsl2

svn-id: r52514
2010-09-04 08:51:10 +00:00
Martin Kiewitz
92c3a4b5aa SCI: lsl2 early uses sci0late sound
fixes bug #3037012 and lsl2 now has music everywhere

svn-id: r52513
2010-09-04 08:28:53 +00:00
Martin Kiewitz
acc294c7a8 SCI: properly reversed kDoAvoider
getAngle()-code is missing though. Still fixes lsl2early hang on airport (bug #3037036), fixes kq4early unicorn doing moonwalk (kq4late still works as well)

svn-id: r52512
2010-09-04 07:29:27 +00:00
Filippos Karapetis
976458058d SCI: Fixed bug #3058865 - "Jones in the Fast Lane CD: Graphics Missing"
svn-id: r52511
2010-09-03 22:51:27 +00:00
Martin Kiewitz
e4c07925ec SCI: kDirLoop freshly reversed
svn-id: r52510
2010-09-03 22:15:08 +00:00
Martin Kiewitz
87b78b1673 SCI: kClone/kDisposeClone behaviour more accurate
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.)

svn-id: r52508
2010-09-03 18:14:59 +00:00
Martin Kiewitz
b7a2fd899e SCI: adding mother goose title
svn-id: r52507
2010-09-03 17:49:22 +00:00
Filippos Karapetis
f78b4b9f85 SCI: Added a warning when using GM with SCI1 games
The MT-32 <-> GM mapping has only been worked on for
SCI0/SCI01 games. Throw a warning when the user
chooses GM in a SCI1 game, and there is no after
market GM support from Sierra for this game

svn-id: r52505
2010-09-03 12:42:35 +00:00
Filippos Karapetis
ace4477041 SCI: Rewrote the game name IDs of the Mt32MemoryTimbreMaps array to be like the game IDs we use
svn-id: r52504
2010-09-03 08:46:07 +00:00
Filippos Karapetis
d87fa1c890 SCI: Show a warning window regarding GM in some games.
Sierra has released a patch adding after market General MIDI support for 8 SCI1
games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If
the user has selected the General MIDI music driver in one of these games and
no associated MIDI patch is found, show an informational dialog on game startup
in order to inform the user to download Sierra's MIDI patch, together with some
short instructions.

svn-id: r52500
2010-09-02 21:50:00 +00:00
Filippos Karapetis
2f88eec713 SCI: Fixed compilation when VM_DEBUG_SEND is enabled
svn-id: r52498
2010-09-02 18:58:25 +00:00
Filippos Karapetis
a816a27928 SCI: Added a FIXME for bug #3038870, related to kParse()
svn-id: r52497
2010-09-02 13:50:49 +00:00
Martin Kiewitz
82f138b728 SCI: fixing debug output for bpx
svn-id: r52491
2010-09-02 10:21:20 +00:00
Martin Kiewitz
cf3289ee3f SCI: adding "bpr" and "bpw" debug commands
"bpr" breakpoint on reading of selectors
"bpw" breakpoint of writing of selectors
"bpx" is now breakpoint on executing of selectors only

svn-id: r52490
2010-09-02 09:05:08 +00:00
Torbjörn Andersson
9324a80d93 JANITORIAL: Remove extra semi-colons.
svn-id: r52489
2010-09-02 05:12:07 +00:00
Martin Kiewitz
64313cd7f1 SCI: set master volume correctly
and merge it together with global volume, fixes bug #3053104)

svn-id: r52484
2010-09-01 19:20:17 +00:00
Martin Kiewitz
81eb3cfba1 SCI: disable dialog replacement for jones
fixes odd crash right at the start, although you can't save/restore in jones o_O (fixes bug #3057080)

svn-id: r52479
2010-09-01 09:48:00 +00:00
Filippos Karapetis
5666df7b38 SCI: Added the Italian version of QFG3 (bug #3053457)
svn-id: r52478
2010-08-31 21:22:52 +00:00
Filippos Karapetis
7dffcf43c2 SCI: Added a workaround for bug #3056811 - "SQ5: Game crashes while playing "Battle Cruiser""
svn-id: r52477
2010-08-31 21:18:20 +00:00
Martin Kiewitz
fa7c6a9969 SCI: adding workaround for platform-specific
incompatibility with some sierra games. Some games open a new menu, set mouse cursor within that menu and expect the mouse cursor to be in there and will close it, if it's outside. In case of Wiimote/touch interfaces this logic won't work of course. Fixes island of dr. brain and QfG1VGA on Wii and touch-interface platforms

svn-id: r52474
2010-08-31 15:50:46 +00:00
Martin Kiewitz
4ecb2b6047 SCI: renaming fb01-enable to "native_fb01"
svn-id: r52471
2010-08-31 11:51:43 +00:00
Martin Kiewitz
55f8415187 SCI: forgot one rename of "enable_fb01"
svn-id: r52470
2010-08-31 11:43:56 +00:00
Martin Kiewitz
aae0d9284e SCI: renaming config-variables
"sci_dither" got removed, "undither" renamed to "sci_undither". Also changed logic for handling "sci_originalsaveload"

svn-id: r52469
2010-08-31 11:38:07 +00:00
Johannes Schickel
737b9bc632 SCI: Remove duplicate comment line.
svn-id: r52468
2010-08-31 11:27:01 +00:00
Martin Kiewitz
839945795e SCI: enable new kDoBresen/InitBresen
enable replacement of save/load dialogs per default
add config-var "sci_originalsaveload" for not replacing dialogs
add config-var "sci_dither" for enabling dithering in EGA games
new kDoBresen fix qfg2 walk against wall bug (#3053131) and hoyle3 unreadable dice bug (#3036922)

svn-id: r52467
2010-08-31 10:53:27 +00:00
Filippos Karapetis
7e6141dcfa SCI: Added automatic detection of some static selectors
which keep changing location in each game

svn-id: r52466
2010-08-31 10:12:35 +00:00
Filippos Karapetis
07e4fe9fdc SCI: Disabled some debug related GC code, which effectively
wastes cycles if we're not debugging the GC

svn-id: r52465
2010-08-31 09:45:36 +00:00
Martin Kiewitz
4f70b6814b SCI: fix warning
svn-id: r52457
2010-08-30 17:06:11 +00:00
Martin Kiewitz
6d09028607 SCI: ability to ignore movecount for new DoBresen
fixes later sci games, when using new kDoBresen/kInitBresen

svn-id: r52454
2010-08-30 14:36:37 +00:00
Martin Kiewitz
d02628a0dc SCI: freshly reversed kDoBresen/kInitBresen
fixes qfg2 walking against wall, etc. BUT its currently disabled by default. You need to comment out the #define USE_OLD_BRESEN line in kmovement.cpp

svn-id: r52453
2010-08-30 14:06:18 +00:00
Martin Kiewitz
80b405ecb4 SCI: adding comments for kDoBresen
svn-id: r52452
2010-08-30 10:49:32 +00:00
Martin Kiewitz
1067a72769 SCI: adding comments for r52450
svn-id: r52451
2010-08-30 10:18:31 +00:00
Martin Kiewitz
154099d0a4 SCI: check filesize of qfg import files
filter out files that are larger than 1k, actually removes real saved games from the list

svn-id: r52450
2010-08-30 10:14:50 +00:00
Martin Kiewitz
6d7d0ee940 SCI: reverting r52448
broke importing, also savedgames are named "qfg1.0xx", so they werent showed before anyway and ".sav" is not mandatory for exported character files.

svn-id: r52449
2010-08-30 08:47:57 +00:00