Commit Graph

8518 Commits

Author SHA1 Message Date
Torbjörn Andersson
6fe24ad40a Emergency bugfix to keep Full Throttle from crashing as soon as someone
tries to speak. I don't know this code well enough to know if there is a
more appropriate way of fixing this...

svn-id: r12007
2003-12-29 13:41:20 +00:00
Gregory Montoir
14cfaf8852 - hack to read patched .dog files (french & italian versions) from game data path instead of data file
- cleanup Resource a bit (add an accessor for ResourceEntry in order to avoid multiple calls to resourceIndex)

svn-id: r12006
2003-12-29 13:18:24 +00:00
Travis Howell
7e388f2237 Add support for mp3 or ogg musics tracks for Monkey Island 1 for Amiga.
svn-id: r12005
2003-12-29 08:19:57 +00:00
Robert Göffringmann
e9766658b6 this fixes the remaining glitches
svn-id: r12004
2003-12-28 23:24:03 +00:00
Gregory Montoir
2548df9cf8 cleanup
svn-id: r12003
2003-12-28 21:18:03 +00:00
Torbjörn Andersson
85deabed70 Indentation fixes: changed spaces to tabs. (These tend to really stick out
in my editor, since it shows tabs as eight spaces, not four.)

svn-id: r12002
2003-12-28 19:03:35 +00:00
Torbjörn Andersson
d8b0a38718 When showMenu() redraws the menu, redraw the empty slots as well. This
fixes the "ghost" items left behind when combining two inventory objects in
such a way that one of them is used up.

svn-id: r12001
2003-12-28 18:10:18 +00:00
Torbjörn Andersson
1efa471292 Removed incomplete sentence. If anyone knows what it was supposed to say,
feel free to put it back. The revision before that section was rewritten
didn't provide me with any clues.

svn-id: r12000
2003-12-28 15:59:31 +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
Gregory Montoir
67159d4539 cleanup Resource class a bit :
- re-use some methods to read the resource table (normal / compressed)
- removed _gameVersion member as we can do without it (and is mostly
  useless in case of a compressed data file) ; now, we use the
  'JAS version string' as it is sufficient to detect if the game is
  a floppy version / demo etc.
- const'ness
- tweaked checkJASVersion() for interview mini game

removed (useless) dirty hack in Logic::changeRoom() to setup initial
scene in demos (pclogo.cut doesn't exist at all !)

svn-id: r11998
2003-12-28 15:29:05 +00:00
Torbjörn Andersson
6ae8218d53 Hopefully the last big renaming. Now the datatypes have names like
"StandardHeader" instead of "_standardHeader".

svn-id: r11997
2003-12-28 15:08:12 +00:00
Torbjörn Andersson
302c9f72fc I believe this is the evil bug that's been corrupting my SAVEGAME.INF. (I
can't reproduce the problem under Windows though.)

svn-id: r11996
2003-12-28 15:02:21 +00:00
Torbjörn Andersson
db5a2ba1c8 Not all sound effects are mono, so we need to check.
svn-id: r11995
2003-12-28 15:01:44 +00:00
Travis Howell
6c3e0134c2 Putt Putt games use old calculation
svn-id: r11994
2003-12-28 12:51:18 +00:00
Travis Howell
28199bc840 Putt Putt games use old calculation
svn-id: r11993
2003-12-28 10:39:39 +00:00
Paweł Kołodziejski
7bf0cc2a98 FT sounds have loops in voc data: 65536, that could be max loops or unfinite loops
svn-id: r11992
2003-12-28 09:14:00 +00:00
Eugene Sandulenko
47c698c8b8 Proper FLU files seeking. No more seek crashes
svn-id: r11991
2003-12-28 07:57:36 +00:00
Travis Howell
e91224589f Add additional case for putt putt games
svn-id: r11990
2003-12-28 05:52:52 +00:00
Joost Peters
e76c4c9ebe Need to call this as well to properly stop music
svn-id: r11989
2003-12-28 03:56:13 +00:00
Joost Peters
dbe01121eb Improved music code a bit. still has 'hanging notes' when stopping music, though.
svn-id: r11988
2003-12-28 03:31:05 +00:00
Max Horn
e8cddcbda0 Fix for bug #866453 (MI1EGA: Background pushed to side at end of game)
svn-id: r11987
2003-12-28 02:08:13 +00:00
Joost Peters
dd7fc9f8ef Cope with song '0' (old savegames used to use this 'dummy' value)
svn-id: r11986
2003-12-28 01:47:37 +00:00
Joost Peters
effc207b69 - added 'song' debugger command
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames

svn-id: r11985
2003-12-28 01:17:29 +00:00
Max Horn
bcba980735 don't do double-free
svn-id: r11984
2003-12-28 00:19:56 +00:00
Max Horn
12aea7c0da fixed another potential crash-on-exit
svn-id: r11983
2003-12-27 21:33:34 +00:00
Max Horn
6f6b0885b4 fixed a crash-on-exit
svn-id: r11982
2003-12-27 21:32:37 +00:00
Max Horn
d52280ab01 cleanup
svn-id: r11981
2003-12-27 21:31:49 +00:00
Max Horn
fabcb25a68 paranoia
svn-id: r11980
2003-12-27 21:31:41 +00:00
Max Horn
af2d9b9a16 fix volume problems (I think...)
svn-id: r11979
2003-12-27 21:14:57 +00:00
Max Horn
f8dac71c8f more cleanup
svn-id: r11978
2003-12-27 20:52:20 +00:00
Max Horn
8621ee3b11 cleanup
svn-id: r11977
2003-12-27 19:16:03 +00:00
Paweł Kołodziejski
25a7b9ef33 fixed compilation
svn-id: r11976
2003-12-27 18:29:21 +00:00
Max Horn
f6ff11509c update bundle music every 1/10th of a sec (there was a very noticable delay before music started playing at e.g. the chapter 1 screen in COMI
svn-id: r11975
2003-12-27 16:49:58 +00:00
Max Horn
c0cc941ea4 try to make it more obvious how certain timer freqs are derived
svn-id: r11974
2003-12-27 16:40:01 +00:00
Max Horn
811a6d4bb8 append more data the first time around (this avoids a stutter problem, which was caused by an underrun of the audio stream; note that all this is just a temporary fix, once we switch to a 'pull' strategy as opposed to the current push, the problem will go away automatically, due to design :-)
svn-id: r11973
2003-12-27 16:32:16 +00:00
Max Horn
16971b582b fix VOC playback; create AudioInputStream earlier
svn-id: r11972
2003-12-27 16:19:06 +00:00
Max Horn
1d2e7f7e38 no need to convert data to stereo, the mixer can handle mono data just fine
svn-id: r11971
2003-12-27 16:11:05 +00:00
Max Horn
d3224918e5 oops
svn-id: r11970
2003-12-27 15:41:46 +00:00
Max Horn
49af58a031 add some comments; convert tabs inside table to spaces (otherwise the table is not really readable unless you have the precise same tab settings as the table author)
svn-id: r11969
2003-12-27 15:39:18 +00:00
Max Horn
cfaa5ee357 nicer error
svn-id: r11968
2003-12-27 15:26:04 +00:00
Max Horn
87a168bc1b proper error instead of silent (and fatal) failure
svn-id: r11967
2003-12-27 15:24:49 +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
a567b741e7 fix subtitles option
svn-id: r11965
2003-12-27 14:27:30 +00:00
Max Horn
8c219c5427 TODO update
svn-id: r11964
2003-12-27 14:21:24 +00:00
Max Horn
436b5c5f7d Use VOC reader from voc.h
svn-id: r11963
2003-12-27 14:11:03 +00:00
Max Horn
0aa7993218 renamed VOC functions
svn-id: r11962
2003-12-27 14:10:45 +00:00
Max Horn
d0ceed85a5 cleanup
svn-id: r11961
2003-12-27 14:03:07 +00:00
Max Horn
ed41771d1f spelling
svn-id: r11960
2003-12-27 13:52:48 +00:00
Gregory Montoir
5bbb3be159 enable alternative introduction
svn-id: r11959
2003-12-27 12:58:26 +00:00
Travis Howell
9bb75693b0 Typo
svn-id: r11958
2003-12-27 11:34:54 +00:00