78 Commits

Author SHA1 Message Date
Travis Howell
713dac6aba Fix inventory arrows regression in Simon 1
svn-id: r22360
2006-05-05 05:54:35 +00:00
Travis Howell
54eeb8aeed Match fade code of original games and minor cleanup
svn-id: r22359
2006-05-05 05:53:36 +00:00
Travis Howell
eed7d3e413 Update copyright
svn-id: r22358
2006-05-05 00:42:37 +00:00
Travis Howell
881d8ce833 Cleanup
svn-id: r22336
2006-05-04 12:20:49 +00:00
Travis Howell
0da90f08c1 Don't read beyond animationCount, when looking for animation in vc3_loadSprite()
svn-id: r22331
2006-05-04 06:28:51 +00:00
Travis Howell
0b4bbef762 Don't read beyond imageCount, when looking for image
svn-id: r22330
2006-05-04 06:18:19 +00:00
Travis Howell
34c343bf1d Update screen more often, for smoother mouse movement
svn-id: r22322
2006-05-04 02:34:14 +00:00
Travis Howell
e87de5898b Cleanup
svn-id: r22320
2006-05-04 02:23:52 +00:00
Travis Howell
d84f744e2d Add work around for glitches that occurs on map, when Simon rides lion to the goblin camp, in non-English versions of Simon2
svn-id: r22305
2006-05-03 12:54:37 +00:00
Travis Howell
61b8fa957a Write results to correct locations in setRandom and getPathValue video opcodes of FF
svn-id: r22295
2006-05-03 09:33:41 +00:00
Travis Howell
afb5f5d5ab Fix scrolling glitches in Oracle of FF
svn-id: r22290
2006-05-03 04:07:37 +00:00
Travis Howell
91a67d1150 Cleanup
svn-id: r22289
2006-05-03 01:11:50 +00:00
Travis Howell
7c8457ca5d Cleanup includes
svn-id: r22225
2006-04-29 14:23:16 +00:00
Travis Howell
16e90765a9 Split more functions of simon.cpp into separate files
svn-id: r22224
2006-04-29 14:11:29 +00:00
Travis Howell
80bc64b951 Minor cleanup
svn-id: r22215
2006-04-29 12:29:21 +00:00
Travis Howell
d9ed515f90 Merge fadeToBlack() into o1_specialFade() and cleanup
svn-id: r22214
2006-04-29 12:25:15 +00:00
Travis Howell
8e4f16bcc1 Fix OmniTV not stopping, when room changes in FF
svn-id: r22145
2006-04-25 08:01:57 +00:00
Travis Howell
78d6966734 Revert sign change to vcReadVar(), made glitches worse in some scenes
svn-id: r22139
2006-04-24 10:35:57 +00:00
Travis Howell
9743de2acf vcReadVar() should return a signed value
svn-id: r22135
2006-04-24 07:45:57 +00:00
Travis Howell
05e01f011f Restrict variables sizes, when reading from vcReadNextWord(), to prevent overflows
svn-id: r22134
2006-04-24 06:46:31 +00:00
Travis Howell
1dd84a90bd isSpriteLoaded is Simon 1/2 specific and never used by FF
svn-id: r22130
2006-04-24 04:34:57 +00:00
Torbjörn Andersson
beb72667dc Implemented volume and panning for FF sound effects. I hope my mapping from
DirectSound's logarithmic scale to ScummVM's linear scale is at least
reasonably collect. This should keep the sound effects from overpowering the
spoken voices in some scenes.

svn-id: r22107
2006-04-23 15:42:02 +00:00
Travis Howell
6b7a37d71c Move _variableArrayPtr changes to match original code, in case it is triggered outside video opcodes
svn-id: r22066
2006-04-21 04:36:26 +00:00
Travis Howell
b80ef2cd8f Add some code for PanEvent in FF and cleanup
svn-id: r22062
2006-04-21 00:18:23 +00:00
Travis Howell
948301faaf Add timer difference in FF
svn-id: r22054
2006-04-20 08:58:30 +00:00
Travis Howell
1d12b3ef29 Add code for vc84_stopSoundLoop in FF
svn-id: r22007
2006-04-18 13:28:42 +00:00
Travis Howell
b4c8b498de Scrolling comparisons should always be signed, fixes scrolling issue in maze of FF
svn-id: r21995
2006-04-18 00:15:25 +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
426a75ad6a Correct sign, to fix weird path finding issues in FF
svn-id: r21928
2006-04-16 01:06:18 +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
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
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
c8fa54ec80 Adjust video opcodes for second variable array
svn-id: r21897
2006-04-15 01:09:04 +00:00
Travis Howell
f254b5b73a Cleanup
svn-id: r21880
2006-04-14 09:57:43 +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
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
de0dd94c9c Add support for sound effects in Amiga version of FF and cleanup
svn-id: r21870
2006-04-14 04:22:49 +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
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
Travis Howell
8ae793c81e Cleanup
svn-id: r21773
2006-04-10 23:44:17 +00:00
Torbjörn Andersson
2695cb6f88 Merged o_loadBeard() and o_unloadBeard() into o1_loadBeard() and
o1_unloadBeard().

svn-id: r21750
2006-04-10 07:21:44 +00:00
Travis Howell
202406e31b Add centreScroll() for FF and hyperbox code differences in FF.
svn-id: r21712
2006-04-09 04:53:31 +00:00
Travis Howell
9a7b16e4d3 Add initial support for vertical scrolling in FF
svn-id: r21675
2006-04-08 00:12:16 +00:00
Travis Howell
65a3f88454 Minor cleanup
svn-id: r21671
2006-04-07 14:40:33 +00:00