779 Commits

Author SHA1 Message Date
Torbjörn Andersson
1fa1f9520d Split the opcodes into separate functions, and use an array of function
pointers for decoding them, like we do in most other engines. And I just want
to say that this is the second biggest opcode table I've ever seen!

svn-id: r21644
2006-04-06 17:56:41 +00:00
Travis Howell
52d1d9ab8e Revert structure size changes, size expanded in readItemChildren()
svn-id: r21642
2006-04-06 14:30:41 +00:00
Travis Howell
dc73f361e1 Rename structures and correct array sizes
svn-id: r21641
2006-04-06 14:01:52 +00:00
Travis Howell
87de34a8d5 Cleanup
svn-id: r21640
2006-04-06 10:47:37 +00:00
Travis Howell
dd9f4d9f99 Remove duplicate code in last commit and minor fixes for FF
svn-id: r21639
2006-04-06 08:43:20 +00:00
Travis Howell
3023f6f76e Minor cleanup and fixes for FF
svn-id: r21638
2006-04-06 08:21:44 +00:00
Travis Howell
7e1618e329 Add some work on scrolling in FF
svn-id: r21637
2006-04-06 06:14:47 +00:00
Travis Howell
346486ce46 Fix inventory hitareas in FF
svn-id: r21636
2006-04-06 01:37:29 +00:00
Travis Howell
d967db266c Add more icon differences in FF and cleanup
svn-id: r21635
2006-04-06 00:54:26 +00:00
Torbjörn Andersson
95eb460417 Use English strings for the system and confirm menus, to be consistent with the
command menu. There are still some other hard-coded French messages in the code,
though.

svn-id: r21634
2006-04-05 21:20:04 +00:00
Torbjörn Andersson
738aecd57e Fixed bug in loadObject() where the data pointer was only advanced for the
objects that were actually loaded from the file, not the ones that were
skipped. This bug was introduced when porting cinE to the ScummVM framework,
and would cause Future Wars to crash after the copy protection screen. Quite
possibly other bugs, as well.

svn-id: r21632
2006-04-05 20:11:00 +00:00
Torbjörn Andersson
48c46eed6b I don't think assert(0) is a particularly helpful error message...
svn-id: r21630
2006-04-05 13:06:03 +00:00
Eugene Sandulenko
58c7f8d6b1 Fix character spacing in text blurbs.
svn-id: r21629
2006-04-05 11:44:46 +00:00
Travis Howell
935ea28e7a Renames structures and other cleanup
svn-id: r21626
2006-04-05 02:45:28 +00:00
Torbjörn Andersson
0bdc3b0738 Added SVN keywords, and removed inclusion of <sys/stat.h>.
svn-id: r21623
2006-04-05 00:46:27 +00:00
Torbjörn Andersson
7bcd0ba4dc Use the setBitFlag() and getBitFlag() functions, instead of manipulating
_bitArray[] directly. This kind of change is, of course, rather error-prone. I
hope I haven't introduced any regressions.

svn-id: r21622
2006-04-05 00:37:42 +00:00
Travis Howell
ab49a04331 Add back lost bitFlag check in listSaveGames()
svn-id: r21621
2006-04-05 00:24:53 +00:00
Travis Howell
fba527651f Fix regression in Simon2, a byte was lost when clearing or setting marks
svn-id: r21619
2006-04-05 00:11:17 +00:00
Travis Howell
15f4249978 Add inventory array differences in FF and minor cleanup
svn-id: r21613
2006-04-04 23:29:24 +00:00
Eugene Sandulenko
8b995a8c52 Fix freddicove detection.
svn-id: r21610
2006-04-04 23:05:06 +00:00
Eugene Sandulenko
8fa9bd6728 Removed extra exclamation marks in warning() calls as well.
svn-id: r21608
2006-04-04 22:21:10 +00:00
Eugene Sandulenko
d292c0ec55 Since our debug() adds an exclamation mark at the message end, remove
it in several calls to avoid duplication!!11!

svn-id: r21607
2006-04-04 22:04:51 +00:00
Eugene Sandulenko
f5c4634ecd Fix md5 for German IHNM
svn-id: r21606
2006-04-04 22:00:16 +00:00
Lars Persson
595a48a87e Small updates to intiate variable and member visibility.
svn-id: r21604
2006-04-04 21:32:19 +00:00
Max Horn
7ba17e0574 Paranoia change: catch invalid 'method' value in generateDetectName
svn-id: r21602
2006-04-04 21:18:15 +00:00
Paul Gilbert
4ee3298550 Completed disassembly of the Lure pathfinding code
svn-id: r21593
2006-04-04 11:53:45 +00:00
Travis Howell
a4a3239715 o_printStr() always uses box1 for FF
svn-id: r21592
2006-04-04 11:53:13 +00:00
Travis Howell
778a528df3 _noRightClick got reversed in setVerb for FF
svn-id: r21591
2006-04-04 11:28:37 +00:00
Travis Howell
cc75c68090 Add skipSpeech difference in FF
svn-id: r21590
2006-04-04 11:06:48 +00:00
Travis Howell
49dc2622dd Add verb codes differences in FF
svn-id: r21589
2006-04-04 10:12:22 +00:00
Torbjörn Andersson
cb513de999 Added stub for FF right-clicking.
svn-id: r21588
2006-04-04 08:50:35 +00:00
Travis Howell
f5943d7e7f Adjust clear/restore window for FF
svn-id: r21587
2006-04-04 07:50:04 +00:00
Travis Howell
c21b81f5e5 More work on oracle in FF
svn-id: r21586
2006-04-04 07:34:48 +00:00
Torbjörn Andersson
ad5cac9eb4 Work around glitchy drawing of the Oracle icon, after discussing with Kirben.
But it's still unclear *why* the first 16 bytes should be skipped; hence the
Big Scary Comment (tm).

svn-id: r21585
2006-04-04 06:25:50 +00:00
Travis Howell
69d3fb7ef8 Remove debug left over
svn-id: r21584
2006-04-04 02:41:45 +00:00
Travis Howell
0ac5739ae2 More work on oracle in FF
svn-id: r21583
2006-04-04 01:38:53 +00:00
Travis Howell
3627056116 Add initial support for oracle icons in FF
svn-id: r21579
2006-04-03 14:40:07 +00:00
Max Horn
41f71238f2 Removing outdated and obsolete comment
svn-id: r21578
2006-04-03 12:11:04 +00:00
Max Horn
b9acc7a285 Since GF_HE_CURSORLESS is gone now, we can remove this special case for 'lost'
svn-id: r21577
2006-04-03 12:09:54 +00:00
Travis Howell
0e9b4ab17c GF_HE_CURSORLESS feature flag not required, since HE games always set a default cursor too.
svn-id: r21576
2006-04-03 11:35:02 +00:00
Max Horn
9f06a3bde6 Added variant string for some HE games
svn-id: r21574
2006-04-03 11:12:26 +00:00
Torbjörn Andersson
a55ebd5fb2 Merged d_draw.cpp and rdwin.cpp (what little remained of them) into screen.cpp.
svn-id: r21573
2006-04-03 09:54:05 +00:00
Torbjörn Andersson
80b3f9217d Don't try to copy str to _talkBuffer if str is pointing to _talkBuffer. Apart
from being unnecessary, the result of strcpy() on overlapping memory areas is
unpredictable.

svn-id: r21562
2006-04-02 18:58:07 +00:00
Max Horn
9217472f0e With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
3de55677b9 Typo
svn-id: r21540
2006-04-01 22:31:57 +00:00
Torbjörn Andersson
c4955466fd Simplified loading of startup.inf
svn-id: r21538
2006-04-01 21:56:10 +00:00
Torbjörn Andersson
d6f348638d Guard against too many entries in resource.inf, since there has been a TODO
comment about that (removed in the previous commit) since roughly forever.

svn-id: r21536
2006-04-01 21:55:41 +00:00
Torbjörn Andersson
f59d472155 Simplified the loading of resource.inf
svn-id: r21533
2006-04-01 21:42:11 +00:00
Max Horn
8f691e51fa Removed superfluous addDefaultDirectory call, as well as two unused bad member vars
svn-id: r21532
2006-04-01 21:31:27 +00:00
Max Horn
49d63590ab Removing superfluous addDefaultDirectory call
svn-id: r21531
2006-04-01 21:30:06 +00:00