317 Commits

Author SHA1 Message Date
Travis Howell
163dc349b6 Fix insane regression.
svn-id: r13774
2004-05-04 14:56:47 +00:00
Paweł Kołodziejski
78f2d34825 remove useless mutex
svn-id: r13722
2004-05-01 18:53:03 +00:00
Paweł Kołodziejski
17332e393e added mutex into smush player
svn-id: r13639
2004-04-26 09:04:08 +00:00
Max Horn
f8d9bc6bcd Revert debug levels
svn-id: r13590
2004-04-16 21:05:09 +00:00
Max Horn
bcb7878f10 Unify some code
svn-id: r13589
2004-04-16 20:49:14 +00:00
Torbjörn Andersson
2de9cbf9fd Changed the type of value from char to int8. Otherwise, if char happens to
be unsigned, the test for if value == -31 will always fail.

svn-id: r13580
2004-04-15 15:56:21 +00:00
Paweł Kołodziejski
fae6675c5b forgot that
svn-id: r13578
2004-04-14 06:37:00 +00:00
Paweł Kołodziejski
6ea29bc7f8 added support for compressed FOBJ chunks in smush movie files.
the *.san files from 'data' dir in FT can NOT be compressed !

svn-id: r13577
2004-04-13 19:20:16 +00:00
Paweł Kołodziejski
a3aead899e special case for 384x242 smush resolution for ft pc demo, it use additional buffer
svn-id: r13532
2004-04-10 09:17:36 +00:00
Max Horn
a47793c8e0 oops
svn-id: r13443
2004-04-02 22:01:25 +00:00
Max Horn
4a41973804 Got rid of _transText
svn-id: r13442
2004-04-02 21:56:27 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson
165e6c5eb5 Fixed format string to match the number of arguments.
svn-id: r13404
2004-03-28 14:48:05 +00:00
Travis Howell
5153499a0e Enable insane subtitles in Mac. version of FT demo
svn-id: r13094
2004-02-29 01:13:08 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Travis Howell
5f4641d8a1 Use correct order, to prevent mingw warnings.
svn-id: r12865
2004-02-14 01:39:09 +00:00
Travis Howell
e83e8c012f Fix valgrind warning
svn-id: r12862
2004-02-14 01:09:43 +00:00
Eugene Sandulenko
6d356e340c o Fix bug #892909 (Unable to get Hover Lift at Gorge)
o Fix bug with transition from vista to ranch

svn-id: r12799
2004-02-09 18:57:05 +00:00
Eugene Sandulenko
8a2496d6c5 Fixed most bugs, so only cosmetic visual things left.
o Support transparency for characters. Needed for cockpit rendering
o Fixed bug in NUT renderer which drawed transparent characters garbled
o Fixed long-standing (and outstanding) bug with SAUD error
o Previous fix fixed music in some cases (scene transitions)
o Fixed bug with palette being reset when smush video is rewind
o Made debug level for insane adjustable at compile time (maybe I will remove it later)

svn-id: r12717
2004-02-02 22:40:20 +00:00
Eugene Sandulenko
21f7b4633a Fix bug #887536 FT: Intro crash (regression).
svn-id: r12685
2004-01-31 12:28:38 +00:00
Max Horn
8bd19dab0b Fix for bug #887167 (FT: Sound/Music/speech (almost) mute)
svn-id: r12675
2004-01-30 17:30:06 +00:00
Eugene Sandulenko
d1ac15e23c oops
svn-id: r12672
2004-01-30 02:38:45 +00:00
Eugene Sandulenko
3758815c09 o Fix crash in FT intro
svn-id: r12671
2004-01-30 02:37:18 +00:00
Eugene Sandulenko
6dec294de5 o Renamed more variables/structures to reflect their functionality
o Fixed bug with only caveman approaching
o Extended smush player to process FT-specific overlays in videos.
  They're used to draw broken truck & car approaching and opponents on the
  mineroad

svn-id: r12670
2004-01-30 02:14:29 +00:00
Max Horn
176aa74827 Renamed the 'pan' effect of the mixer to 'balance', since that is what we actually do; applied patch #886786 which corrects a bug in the balance code
svn-id: r12665
2004-01-29 18:15:27 +00:00
Eugene Sandulenko
ece80a4a1f Partial fix for bug #885488 (Some INSANE trouble)
o Finally fixed seek error. Now I never encounter it, though there are weird
   SAUD errors in some cases.
 o Started to hunt cave-dude-only bug

svn-id: r12653
2004-01-28 04:07:54 +00:00
Eugene Sandulenko
498e0f4d6f o Implemented TRS handling
o Now you can succesfully reach the cave so FT is completable, but it crashes
  now in some particularly situations, so you should avoid them.

svn-id: r12630
2004-01-26 22:44:47 +00:00
Eugene Sandulenko
7a7cb7e02b o Fixed bug with lost inventory
o Gave meaningful names to many variables
o Eliminated some slipped debug output
o Fixed vista-ranch scenes transition
o Now it is possible to equip goggles

svn-id: r12623
2004-01-26 15:41:30 +00:00
Max Horn
32a58b3603 get rid of ScummEngine::_insaneState (I think we should eventually stop calling processKbd() from inside smush and replace it with special code there)
svn-id: r12589
2004-01-25 12:20:59 +00:00
Eugene Sandulenko
87730caa02 Fixed plenty of bugs:
o Seek error. Now it seems to cover all cases
  o Shadows in tunnels on mineroad
  o Renamed some function to match functionality
  o bug #867555 (Problems between Mink Farm and Poyhoga)
  o Ben disappearing in car chase

svn-id: r12586
2004-01-25 05:25:50 +00:00
Max Horn
d094989ae2 smush and insane only work with V6 (this will allow moving some stuff from ScummEngine to ScummEngine_v6)
svn-id: r12516
2004-01-19 19:34:48 +00:00
Eugene Sandulenko
4b0ad9fe13 Moved FT INSANE to a separate directory and splitted it to multiple files.
svn-id: r12444
2004-01-16 22:18:54 +00:00
Max Horn
d45682f7c5 fix clearBit
svn-id: r12412
2004-01-15 14:53:11 +00:00
Travis Howell
1fa4231c47 Remove INSANE define.
svn-id: r12363
2004-01-14 01:41:44 +00:00
Paweł Kołodziejski
1f04d5a7cd handle volume and pan by SoundMixer not SmushMixer
svn-id: r12287
2004-01-09 23:33:46 +00:00
Max Horn
ebecf1dbaa unify _vm / _scumm usage
svn-id: r12262
2004-01-08 20:37:26 +00:00
Paweł Kołodziejski
8fd123992d synced imuse digital with local tree
svn-id: r12187
2004-01-06 17:28:29 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Torbjörn Andersson
584f76ada6 This could be wrong so feel free to revert, but it does seem to fix crashes
in the Mine Road sequence of Full Throttle for me.

The crashes were always in proc64(), with 'en' being some ridiculously
large value. The function, as it was written, did not make any sense to me
so I rewrote it with the assumption that it's there to remove the "en"th
element of the _val216d[] (remaining enemies?) array.

I don't know how well it will work from proc63() if there's more than one
element to remove - at least if the elements to remove are neighbours - but
maybe that case never happens.

svn-id: r11999
2003-12-28 15:50:10 +00:00
Eugene Sandulenko
47c698c8b8 Proper FLU files seeking. No more seek crashes
svn-id: r11991
2003-12-28 07:57:36 +00:00
Max Horn
17c189d1f9 get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
svn-id: r11966
2003-12-27 15:22:59 +00:00
Max Horn
d0ceed85a5 cleanup
svn-id: r11961
2003-12-27 14:03:07 +00:00
Max Horn
b7efa3f137 I got some buffer overflow warnings, seems 200KB isn't quite enough...
svn-id: r11931
2003-12-26 00:44:01 +00:00
Max Horn
3d7945e331 cleanup
svn-id: r11924
2003-12-25 21:33:30 +00:00
Paweł Kołodziejski
f0b412debc don't pause imuse digital anymore
svn-id: r11915
2003-12-25 15:47:15 +00:00
Max Horn
e274286952 cleanup (TODO: reduce code duplication)
svn-id: r11909
2003-12-25 14:03:04 +00:00
Paweł Kołodziejski
35cbe8d3a0 some changes to digital imuse
svn-id: r11907
2003-12-25 13:56:22 +00:00
Paweł Kołodziejski
1abfe5d63f start sound call directly digital imuse, only script part handled by mainloop of scumm script
svn-id: r11906
2003-12-25 11:14:05 +00:00
Travis Howell
9482d3b5a2 Fix compile
svn-id: r11905
2003-12-25 10:38:55 +00:00
James Brown
7384fce368 Spelling. Yes, I'm a hypocrite :)
svn-id: r11904
2003-12-25 08:48:51 +00:00