8406 Commits

Author SHA1 Message Date
Robert Göffringmann
e669103b5d removed old, useless stuff
svn-id: r12045
2003-12-30 23:08:51 +00:00
Max Horn
c06b1af619 be a bit more gentle to people typing in invalid box IDs :-)
svn-id: r12044
2003-12-30 23:05:34 +00:00
Robert Göffringmann
436834750d cd changing code and checking for savegames on startup
svn-id: r12043
2003-12-30 22:57:52 +00:00
Max Horn
f23d990fda improved box drawing in debugger (now also draws boxes of height 0
svn-id: r12042
2003-12-30 22:50:55 +00:00
Gregory Montoir
80b4510da1 remove hack from original code, this was apparently only needed for SELECT_VERB (from what I understood, bob 16 was supposed to highlight the current selected verb ; but the original doesn't use it at all)
svn-id: r12041
2003-12-30 22:01:16 +00:00
Robert Göffringmann
985f24729a forgot these...
svn-id: r12040
2003-12-30 21:48:10 +00:00
Robert Göffringmann
5e947dab38 implemented mouse luggage stuff
svn-id: r12039
2003-12-30 21:32:50 +00:00
Max Horn
3230a203e4 cleanup
svn-id: r12038
2003-12-30 21:18:29 +00:00
Gregory Montoir
42c5524a02 interview mini-game support
svn-id: r12037
2003-12-30 21:06:22 +00:00
Max Horn
5593a635db updated MD5 table
svn-id: r12036
2003-12-30 20:31:41 +00:00
Max Horn
cca644796e hook up MD5 database (this is still kind of a hack, but at least it shows that the approach works :-)
svn-id: r12035
2003-12-30 19:08:45 +00:00
Max Horn
24fcd71e84 cleanup for language/platform functions
svn-id: r12034
2003-12-30 19:07:55 +00:00
Max Horn
9cb5cc07ff added generated MD5 table (not yet used)
svn-id: r12033
2003-12-30 16:53:28 +00:00
Robert Göffringmann
1567e39469 fixed fnFace() and added workaround for missing animation on train roof
svn-id: r12032
2003-12-30 16:19:30 +00:00
Gregory Montoir
d91b30c933 minor cleanup & add playSong() calls in Logic::handlePinnacleRoom
svn-id: r12031
2003-12-30 10:46:05 +00:00
Travis Howell
195fcb0f46 Add missing case for HE games.
svn-id: r12030
2003-12-30 07:34:15 +00:00
Travis Howell
6d8d7518e9 This is dummy opcode in tentacle
svn-id: r12029
2003-12-30 06:43:15 +00:00
Travis Howell
f0c9f690e0 Ooops, duplicate code.
svn-id: r12028
2003-12-30 06:26:52 +00:00
Travis Howell
d8f657adc0 Add correct solution for drawObjectQue[] overflow in lawn mower mini games of puttputt
svn-id: r12027
2003-12-30 06:24:47 +00:00
Travis Howell
55e02b5b54 Give HE games their own IDs.
Add hack to allow puttputt to work for now.
Increase _drawObjectQue[] for law mower mini game in puttputt

svn-id: r12026
2003-12-30 05:39:57 +00:00
Travis Howell
b51d271cc6 Fix regression
svn-id: r12025
2003-12-30 00:37:00 +00:00
Gregory Montoir
0ea94e63a7 cleanup
svn-id: r12024
2003-12-29 21:51:50 +00:00
Gregory Montoir
bb77917c7f only call Logic::executeSpecialMove if asm > 0
svn-id: r12023
2003-12-29 21:31:02 +00:00
Gregory Montoir
0dd61a56b4 invalidate previous dynalum value on re-init (this fixes room <-> journal issues)
svn-id: r12022
2003-12-29 21:15:01 +00:00
Joost Peters
5d9b72ad7d mass debuglevel change for less verbosity (0 -> 6)
importance/relevance has to be decided on an individual basis, if needed, later on

svn-id: r12021
2003-12-29 21:05:33 +00:00
Gregory Montoir
84c18f4bf1 cleanup & use BobSlot::curPos() when possible
svn-id: r12020
2003-12-29 20:51:28 +00:00
Gregory Montoir
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir
865797cbee - revise the way special moves are handled (demo and interview don't need a table)
- slighlty modified some asm funcs which could let the game in fast mode
- minor cleanup

svn-id: r12018
2003-12-29 20:17:43 +00:00
Torbjörn Andersson
40419b1aee tiny cleanup
svn-id: r12017
2003-12-29 17:26:56 +00:00
Gregory Montoir
df1ba69e4f more 'preparation' for interview and minor tweaks for demo
svn-id: r12016
2003-12-29 16:35:08 +00:00
Gregory Montoir
cf7adca772 fix for 'Klunk sentence repeated 2 times' bug (noticeable in french talkie version)
svn-id: r12015
2003-12-29 16:33:03 +00:00
Robert Göffringmann
0c7b09fc5e another reference fix for soldout version
svn-id: r12014
2003-12-29 16:08:05 +00:00
Robert Göffringmann
4e1e77b0a5 use correct sprite for text-on/off
svn-id: r12013
2003-12-29 16:01:47 +00:00
Robert Göffringmann
ba44d8e989 fix resource references for soldout version
svn-id: r12012
2003-12-29 15:54:06 +00:00
Joost Peters
9e78d9e14e Demo uses different file for music (and disable it for now)
svn-id: r12011
2003-12-29 15:50:17 +00:00
Robert Göffringmann
1c06aebe39 made control panel use the correct fonts
svn-id: r12010
2003-12-29 15:38:16 +00:00
Torbjörn Andersson
ea39ef6d7d The game sets its own DEMO variable, so we might as well check that one as
checking the GF_DEMO flag. (There's still one "unnecessary" reference to
GF_DEMO in functions.cpp, but I plan on rewriting that function soon so I
don't want to touch it right now.)

svn-id: r12009
2003-12-29 15:30:10 +00:00
Torbjörn Andersson
e559a32323 Changed spaces to tabs
svn-id: r12008
2003-12-29 14:04:57 +00:00
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