Commit Graph

857 Commits

Author SHA1 Message Date
Travis Howell
10bc7b0887 Remove last use of hard coded language values and adjust settings for FF
svn-id: r21898
2006-04-15 01:48:52 +00:00
Travis Howell
c8fa54ec80 Adjust video opcodes for second variable array
svn-id: r21897
2006-04-15 01:09:04 +00:00
Max Horn
aa2964ceff Some more detector stub code (unused)
svn-id: r21896
2006-04-15 00:24:20 +00:00
Travis Howell
0076235ebb Fix another glitch in save game interface of FF
svn-id: r21893
2006-04-14 22:30:34 +00:00
Max Horn
199e5cb4f7 Some cleanup of the SCUMM ConfigDialog; also added a big FIXME comment explaining what the dialog does badly, and how that could be fixed (anybody feeling bored, feel free to implement the solution I outline there)
svn-id: r21890
2006-04-14 18:51:42 +00:00
Sven Hesse
cff96b0a75 - Seems like I forget a branch in Mult_v2::animate()
- sub_1A52B is Scenery::updateStatic()

svn-id: r21889
2006-04-14 18:18:46 +00:00
Travis Howell
7a74eeda08 Fix glitch when entering saved game name in FF
svn-id: r21886
2006-04-14 11:05:54 +00:00
Travis Howell
6ba9a5fcf3 Correct size, when clearing image in renderString() for FF
svn-id: r21885
2006-04-14 11:02:56 +00:00
Travis Howell
601820548c Avoid possible regression in set_video_mode_internal() for Simon1
svn-id: r21884
2006-04-14 10:37:34 +00:00
Travis Howell
1a629682a5 Fix object name display, after conversation in FF
svn-id: r21883
2006-04-14 10:36:44 +00:00
Max Horn
6df54763ef Yes, it is really necessry to compute a special 'disk number' here (in fbear at least)
svn-id: r21882
2006-04-14 10:32:06 +00:00
Travis Howell
77ad88a2f2 Add variant for updated Spy Fox 1
svn-id: r21881
2006-04-14 09:58:20 +00:00
Travis Howell
f254b5b73a Cleanup
svn-id: r21880
2006-04-14 09:57:43 +00:00
Max Horn
de08164420 Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
svn-id: r21879
2006-04-14 09:45:29 +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
Travis Howell
bd2adbee81 Ooops, increment table, not field in invertBox{}
svn-id: r21874
2006-04-14 06:36:35 +00:00
Travis Howell
89e0e27f6a Add missing increment in invertBox()
svn-id: r21873
2006-04-14 06:26:18 +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
1a6849de91 Add speech support for Amiga verison of FF
svn-id: r21871
2006-04-14 05:13:59 +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
Max Horn
1470dadb1d Changed File::open to take a Common::String as file name parameter
svn-id: r21867
2006-04-14 01:48:51 +00:00
Travis Howell
b1191c56ac Remove duplicate check in checkPaths
svn-id: r21864
2006-04-14 01:26:00 +00:00
Travis Howell
94774a148d Fix regression in Amiga version of FF
svn-id: r21857
2006-04-14 00:10:12 +00:00
Max Horn
daf541e0b8 Fix compiler warnings
svn-id: r21855
2006-04-14 00:05:26 +00:00
Travis Howell
3407185358 Add invertBox function for FF
svn-id: r21854
2006-04-13 23:34:58 +00:00
Travis Howell
cd9dde81f4 Add checkPaths function for FF
svn-id: r21851
2006-04-13 22:29:08 +00:00
Sven Hesse
fb985a26f8 Fixed the invalid reads visible with valgrind, deleted the
printText-dup, it's wrong for Gob2 anyway...

svn-id: r21849
2006-04-13 21:52:23 +00:00
Sven Hesse
a3cd0bd17d Commented the SpriteOperation in Draw_v2::printText() out for now,
they are responsible for background mess-ups in the intro

svn-id: r21848
2006-04-13 21:09:39 +00:00
Sven Hesse
3bed2d377e Some more stubs and rearrangings
svn-id: r21847
2006-04-13 20:56:22 +00:00
Torbjörn Andersson
e21f99c7ba Slightly more verbose error message.
svn-id: r21846
2006-04-13 18:09:33 +00:00
Sven Hesse
07a0d54891 - More stubs, the intro now works completely (with extreme graphical
glitches and without sound in the floppy version), the title screen
  is shown afterwards
- Added skipping of the floppy version's copy protection screen,
  since the CD version doesn't show it either

svn-id: r21845
2006-04-13 16:25:07 +00:00
Torbjörn Andersson
c9555a5d54 Added TODO about some extra data files that Operation Stealth has to load.
svn-id: r21844
2006-04-13 15:42:52 +00:00
Travis Howell
89c89c0209 Add code for save game interface in FF
svn-id: r21843
2006-04-13 14:26:46 +00:00
Johannes Schickel
e9034e274f Fixes save/load.
svn-id: r21842
2006-04-13 13:55:10 +00:00
Travis Howell
696cbe1a64 Fix display of saved games list in oracle of FF, when saving
svn-id: r21841
2006-04-13 12:23:30 +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
Torbjörn Andersson
4ee82b0caf Work around crash in drawSpriteRaw(). In Future Wars, when going to the future,
I walked back to the room where I first arrived. At that point, maskPtr was
NULL for reasons yet unknown.

svn-id: r21839
2006-04-13 09:53:51 +00:00
Travis Howell
a4c5a691cc Disable quick load/save is FF, since original sometimes disabled load/save and it isn't reliable at the moment
svn-id: r21838
2006-04-13 09:45:03 +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
Eugene Sandulenko
3fa9fa06c2 Clarified detection filenames for HE games (removed FIXME comments).
svn-id: r21835
2006-04-13 04:01:55 +00:00
Torbjörn Andersson
f5ab0e5578 Fixed potential crash in drawDialogueMessage(): The function should terminate
if, for some reason, messagePtr is NULL.

svn-id: r21833
2006-04-12 22:07:41 +00:00
Torbjörn Andersson
19a1cdfe85 Actions that do not have any custom response now print one of the default
responses. (Before, nothing would happen.)

svn-id: r21832
2006-04-12 22:06:30 +00:00
Torbjörn Andersson
cdcf44d3f3 Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands.

svn-id: r21829
2006-04-12 16:34:23 +00:00
Max Horn
2c3e1fe4ea Fixing mismatch between format strings and data on some systems
svn-id: r21828
2006-04-12 14:54:31 +00:00
Max Horn
cf202049ff Fixing mismatch between format strings and data on some systems
svn-id: r21827
2006-04-12 14:54:12 +00:00
Torbjörn Andersson
151b38a6e5 This assertion shouldn't be needed. At least not here.
svn-id: r21826
2006-04-12 11:29:00 +00:00
Torbjörn Andersson
9dfc4b5f69 Fixed serious bug in removeOverlayElement() that would cause it to fail. This
caused getObjectUnderCursor() select the wrong object because the object list
was no longer guaranteed to be sorted on priority ("mask").

In Future Wars, this made it difficult (impossible?) to pick up the tunic,
because the game would pick the bushes instead, even though the tunic had a
higher priority.

svn-id: r21825
2006-04-12 11:27:45 +00:00
Jonathan Gray
eb3ae7d726 sizeof(void *) != sizeof(int) for a large number of systems.
Fix a lot of debug/error statements that were using %d/%x
for the result of pointer arithmetic.

As C++ apparently has no format string for ptrdiff_t use
%lu/%lx as appropriate.

svn-id: r21824
2006-04-12 10:01:41 +00:00
Sven Hesse
adbafccc64 - Fixed the mistake in Mult_v2::loadMult() that caused Gob2 floppy to
have a messed up script-pointer afterwards
- Added/Changed parts of Mult_v2::playMult() et al. so that the intro
  works for a few seconds (with glitches) before getting killed while
  trying to draw text (CD) or trying to play sounds (floppy)

svn-id: r21823
2006-04-12 09:49:08 +00:00
Eugene Sandulenko
7082e19ff2 Fix script dumping
svn-id: r21820
2006-04-12 03:45:54 +00:00
Eugene Sandulenko
8679083991 cleanup
svn-id: r21819
2006-04-12 03:12:56 +00:00
Eugene Sandulenko
75fec17d7e DEBUG_SCRIPT -> debugC
svn-id: r21816
2006-04-12 01:48:15 +00:00
Eugene Sandulenko
83d75e119f Add F1-F10 keymappings like in original engine.
svn-id: r21815
2006-04-11 23:31:03 +00:00
Max Horn
24b2f65f91 Re-fix the CD version of Loom
svn-id: r21814
2006-04-11 22:47:53 +00:00
Max Horn
4ec79db410 Rearranged code in ScummEngine::openRoom a bit, to separate the filename generation from other things
svn-id: r21813
2006-04-11 22:41:44 +00:00
Eugene Sandulenko
9610a4daef Fix warning.
svn-id: r21810
2006-04-11 22:11:12 +00:00
Torbjörn Andersson
a677541ac8 Added TODO comment about refreshAnimData[] and why it's not (yet) a field in
the AnimData struct.

svn-id: r21809
2006-04-11 21:39:09 +00:00
Torbjörn Andersson
10c62a2eed If generateDetectName() generates an empty string, that's a failure, not a
success. Otherwise ScummVM will crash once the game detector reaches the
"generic HE game variants", which makes it hard to add non-SCUMM games.

svn-id: r21808
2006-04-11 19:29:55 +00:00
Max Horn
a42dd86e85 Some more MD5 entries / confirmations by Peter Eckerlein
svn-id: r21788
2006-04-11 12:59:44 +00:00
Torbjörn Andersson
d846f9a5e1 Added delays to the main and menu event loops to keep Lure from gobbling up all
available CPU time.

svn-id: r21787
2006-04-11 11:55:27 +00:00
Torbjörn Andersson
cba4871140 Changed max() to MAX(). This fixes compilation for me.
svn-id: r21786
2006-04-11 11:34:06 +00:00
Paul Gilbert
e3254a8879 Added disassembly of room exit handling, as well as a few cleanups to the path finding code
svn-id: r21785
2006-04-11 10:53:24 +00:00
Paul Gilbert
b8c80af183 Added proper path finding code for rooms, as well as miscellaneous support methods
svn-id: r21784
2006-04-11 10:52:11 +00:00
Paul Gilbert
4b91326131 Added a destRoomNumber variable to store which room a highlighted exit goes to, as well as some temporary code used to display pathfinding information onscreen when Toggle Info is turned on
svn-id: r21783
2006-04-11 10:50:18 +00:00
Paul Gilbert
169c8d78d1 Implemented better handling of changing rooms via room exits
svn-id: r21782
2006-04-11 10:48:28 +00:00
Paul Gilbert
7b32b7ef9c Added new resources for pathfinding and new resources
svn-id: r21781
2006-04-11 10:46:36 +00:00
Paul Gilbert
9b87224036 Resource loader enhanced to load hotspot proximity data and room walkable areas
svn-id: r21780
2006-04-11 10:45:22 +00:00
Paul Gilbert
f6b2cf2c6d Updated resource structures to add support for hotspot y corrections, proximity data, room walkable areas, and the room exit coordinate list
svn-id: r21779
2006-04-11 10:43:53 +00:00
Paul Gilbert
70654bc2a9 Added a script method for setting a blocking hotspot script
svn-id: r21778
2006-04-11 10:42:32 +00:00
Travis Howell
95993df800 Ooops, re-enable code in allocBlock()
svn-id: r21776
2006-04-11 00:42:19 +00:00
Travis Howell
c17e46b1f1 Update waitForSync() for FF and minor cleanup
svn-id: r21775
2006-04-11 00:37:54 +00:00
Torbjörn Andersson
62a163bc43 Might as well clear ptr1 and ptr2 in animDataTable[] when loading a savegame.
The previous commit should ensure that the elements that need to be loaded are.

svn-id: r21774
2006-04-10 23:48:22 +00:00
Travis Howell
8ae793c81e Cleanup
svn-id: r21773
2006-04-10 23:44:17 +00:00
Torbjörn Andersson
badb5218fa If I understand things correctly, cinE used to dump the entire animDataTable
element to the savefile, including data pointers. After reading the savefile,
it would then test if ptr1 was NULL, to see if it should load the object.

I've extended the savefile format with a byte to indicate whether or not ptr1
was non-NULL. This seems to fix the problems I had with with loading savegames,
but of course any old savegame is now even more broken than before.

I still can't seem to get out of the room with the machine, though. Another
regression when migrating the code from cinE, or just my ability to get past
this annoying, timed puzzle?

svn-id: r21772
2006-04-10 23:22:26 +00:00
Max Horn
935989d8cd More commented out stuff: added generateFilenameForDetection method, for use by the detector; and applied various fixes to generateFilename (which is still completely untested, so it certainly contains more 'bugs' :)
svn-id: r21771
2006-04-10 22:45:05 +00:00
Max Horn
0ed3018f2b Some more tweaks to the (still unused) gameFilenamesTable; also readded an enhanced version of the (also unused) generateFilename function
svn-id: r21770
2006-04-10 22:25:42 +00:00
Max Horn
64ae34400f Removing dummy code from resource.cpp
svn-id: r21769
2006-04-10 22:11:05 +00:00
Max Horn
8cbe1f3823 Merged scumm_settings into extra_versions, which in turn got renamed to gameVariantsTable
svn-id: r21768
2006-04-10 21:43:49 +00:00
Travis Howell
520a7be91f Add code for bltOracleText() in FF
svn-id: r21765
2006-04-10 12:10:30 +00:00
Torbjörn Andersson
2f7932c456 Cleanup.
svn-id: r21764
2006-04-10 10:45:21 +00:00
Torbjörn Andersson
ebcee2beb6 Split the playTune opcode into Simon 1, Simon 2 and FF versions. The FF version
was wrong before, but since it is a no-op, it probably never caused any
problems.

svn-id: r21763
2006-04-10 10:18:55 +00:00
Torbjörn Andersson
4e14fd84f4 Some opcodes have been made Simon 1-specific, either because they really are
only used in Simon 1 (e.g. the "beard" opcodes), or because Simon 2 and FF have
their own versions.

svn-id: r21762
2006-04-10 10:07:56 +00:00
Torbjörn Andersson
8a8dd15dc6 With the old o_ functions out of the way, I have renamed all o1_ functions as
the corresponding o_ function. This is in preparation for separating the truly
Simon 1-specific opcode functions into a group of their own.

svn-id: r21761
2006-04-10 09:49:03 +00:00
Torbjörn Andersson
f07d60adc8 By now, it should be obvious that I'm trying to get rid of the o_ functions.
This is in preparation for the next stage of the cleanup.

By now, I have merged most of the o_ opcode functions into the corresponding
o1_ opcode function. There are a few pure o_ opcode functions left, but it
makes sense to keep them separate functions since they are part of groups of
other functions. Now, to get rid of the remaining o_ functions I have:

Dropped the "o_" prefix from the following functions: o_kill_sprite_simon1(),
o_kill_sprite_simon2(), o_waitForSync(), o_freezeBottom(), o_setTextColor(),
o_fadeToBlack(), o_waitForMark(), o_unk_132_helper_3(), o_unk_132_helper(),
o_clearCharacter(), o_fileError().

Renamed o_sync() to sendSync().
Renamed o_mouseOn() to scriptMouseOn(), and moved it to items.cpp
Renamed o_mouseOff() to scriptMouseOff(), and moved it to items.cpp

svn-id: r21760
2006-04-10 09:18:07 +00:00
Torbjörn Andersson
f1c79ee518 Merged o_setup_cond_c() into o1_getDollar2(). (We could merge
setup_cond_c_helper() into o1_getDollar2() as well, but for now I'm only trying
to get rid of the o_* functions.)

svn-id: r21759
2006-04-10 08:49:28 +00:00
Torbjörn Andersson
ea4e5dbb82 Merged o_printStr() into o1_screenTextMsg().
svn-id: r21758
2006-04-10 08:42:29 +00:00
Torbjörn Andersson
7ab84e4d99 Merged o_pathfind() into o1_getPathPosn().
svn-id: r21757
2006-04-10 08:34:16 +00:00
Torbjörn Andersson
1d9cd5ad7d Merged o_restoreIconArray() into o1_restoreIconArray().
svn-id: r21756
2006-04-10 08:28:29 +00:00
Torbjörn Andersson
008d4955dd Merged o_confirmQuit() into o1_pauseGame().
svn-id: r21755
2006-04-10 08:22:03 +00:00
Torbjörn Andersson
2ee9a34349 Merged o_inventory_descriptions() into o1_screenTextPObj().
svn-id: r21754
2006-04-10 08:09:49 +00:00
Torbjörn Andersson
28c34673dc Merged o_loadGame() and o_saveGame() into o1_loadUserGame() and
o1_saveUserGame().

svn-id: r21753
2006-04-10 08:04:45 +00:00
Torbjörn Andersson
e931f9d07d Merged o_loadZone() and o_unloadZone() into o1_loadZone() and o1_unloadZone().
svn-id: r21752
2006-04-10 08:00:29 +00:00
Torbjörn Andersson
d76cbb8439 Merged o_playSFX() into o1_playEffect().
svn-id: r21751
2006-04-10 07:48:58 +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
Torbjörn Andersson
50700d7ac6 Merged o_lockZone() and o_unlockZone() into o1_lockZones() and o1_unlockZones()
svn-id: r21749
2006-04-10 07:17:06 +00:00
Torbjörn Andersson
f444a68ffa Merged o_playMusic() into o1_playTune().
svn-id: r21748
2006-04-10 07:13:21 +00:00
Torbjörn Andersson
9dcd19778f Merged o_set_video_mode() into o1_picture().
svn-id: r21747
2006-04-10 07:09:03 +00:00
Torbjörn Andersson
71f1f1e86f Merged o_unk_103() into o1_cls().
svn-id: r21746
2006-04-10 07:02:28 +00:00
Torbjörn Andersson
4203b4f1ff Merged o_defineWindow() into o1_defWindow().
svn-id: r21745
2006-04-10 06:57:44 +00:00
Torbjörn Andersson
e67f1a9923 Merged o_vga_reset() into o1_killAnimate().
svn-id: r21744
2006-04-10 06:51:20 +00:00
Torbjörn Andersson
46ef60e1b9 Merged o_chance() into o1_chance().
svn-id: r21743
2006-04-10 06:40:15 +00:00
Torbjörn Andersson
3bc5d5b585 Slight change to make it easier to change the FF and Simon word-wrapping rules
individually. Changed the FF rule so that it doesn't matter whether or not the
variables are signed or unsigned. This fixes missing line breaks in some of the
Oracle articles.

svn-id: r21742
2006-04-10 06:18:39 +00:00
Torbjörn Andersson
9c15dc06eb Use our standard save file manager class to read and write the save games,
instead of putting them in the current working directory.

svn-id: r21741
2006-04-10 05:37:31 +00:00
Torbjörn Andersson
8fc794b432 Fixed line breaking regression caused by adding the width of the word a second
time, rather than the width of a blankspace character.

svn-id: r21740
2006-04-10 03:51:04 +00:00
Travis Howell
071884589a Adjust line breaks, to prevent regression.
svn-id: r21738
2006-04-09 22:44:27 +00:00
Travis Howell
774476ee21 Adjust line breaks, to prevent regression.
svn-id: r21737
2006-04-09 22:41:52 +00:00
Max Horn
7b7eb1f331 Changed the precedence of the MD5 overrides (highest priority: config file, then target_md5.txt override, finally the 'reaL md5); also did some cleanup and code unification
svn-id: r21736
2006-04-09 22:18:48 +00:00
Max Horn
cd5b1fee40 Removed some obsolete code
svn-id: r21735
2006-04-09 22:05:05 +00:00
Max Horn
39a2bc6812 Added gameFilenamesTable (currently unused, and hence disabled)
svn-id: r21734
2006-04-09 22:03:29 +00:00
Max Horn
66cdbaf1b5 Moved GameSettings to namespace Cine; moved savePath to various.cpp
svn-id: r21733
2006-04-09 19:44:40 +00:00
Torbjörn Andersson
46ee06135c Oops.
svn-id: r21732
2006-04-09 17:53:47 +00:00
Torbjörn Andersson
ef8426ee17 Fixed excess line breaks in FF when listing the Oracle's ENCY articles.
svn-id: r21731
2006-04-09 17:41:44 +00:00
Travis Howell
4684802091 Fix some line breaks in oracle of FF
svn-id: r21730
2006-04-09 15:34:14 +00:00
Travis Howell
5cd18ccad3 Fix hitareas when scrolling in oracle of FF
svn-id: r21725
2006-04-09 13:12:59 +00:00
Torbjörn Andersson
8e7e503979 Casting an array of integers to a pointer to a struct seems like a pretty hacky
thing to do. This replacement hopefully works as intended.

svn-id: r21724
2006-04-09 12:04:33 +00:00
Travis Howell
484fe8ab65 Fix input regression after using oracle in FF
svn-id: r21723
2006-04-09 12:01:41 +00:00
Travis Howell
6a1636c292 Add font table for FF
svn-id: r21722
2006-04-09 11:34:10 +00:00
Travis Howell
00a48b248f Disable constant display of object names, since oracle settings are usable in FF now.
svn-id: r21721
2006-04-09 10:58:18 +00:00
Torbjörn Andersson
324209e11f Minor cleanup, but savegames still don't work as well as I had hoped...
svn-id: r21720
2006-04-09 10:54:41 +00:00
Travis Howell
9a44671bf6 Enable skipping scrolling in oracle for FF
svn-id: r21719
2006-04-09 09:21:21 +00:00
Torbjörn Andersson
c4015860ac Fixed savegame saving/loading. I haven't done anything about the user
interface, so it's still even worse than in the original interpreter (just like
in cinE, presumably), but at least it no longer crashes when loading the saved
game, and hopefully the correct palette is saved.

svn-id: r21718
2006-04-09 09:08:45 +00:00
Travis Howell
4a6be800cb Fix clearing text window in oracle of FF
svn-id: r21717
2006-04-09 09:08:22 +00:00
Travis Howell
35a4b57189 Fix mistake in debug table for FF
svn-id: r21716
2006-04-09 09:05:21 +00:00
Travis Howell
6f6f60bab2 Update debug table for FF
svn-id: r21715
2006-04-09 06:14:45 +00:00
Travis Howell
55cc897cff Add time code for FF and minor cleanup
svn-id: r21714
2006-04-09 06:06:10 +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
Eugene Sandulenko
a74fcf7cee Fix regression introduced by removing of GF_HE_CURSORLESS feature flag.
There are 3 cases of HE cursors:
o Default one. We set up cursor palette for it.
o Loaded from .HE3 (windows resource file). We use default cursor palette.
o Loaded from WizImage. We disable default cursor palette.

svn-id: r21711
2006-04-09 03:16:05 +00:00
Eugene Sandulenko
9438f803a6 Clarify UK/US language for those HE demos which UK versions we have reported.
svn-id: r21709
2006-04-09 00:57:41 +00:00
Max Horn
94e647235f Fix const correctness in Kyra's StaticResource::loadStrings and StaticResource::loadPaletteTable (notice the difference between a pointer pointing to a pointer pointing to const memory, vs. a pointer pointing to a *constant* pointer pointing to const memory)
svn-id: r21708
2006-04-09 00:44:08 +00:00
Eugene Sandulenko
dcfad9426f Specify UK/US version for PuttTime since we have UK version reported for it.
svn-id: r21707
2006-04-09 00:37:20 +00:00
Eugene Sandulenko
d26b00330e Clarify language for several UK HE releases
svn-id: r21706
2006-04-09 00:25:29 +00:00
Max Horn
807edc83c7 Properly translate Common::Language values for V0-V2 games, too
svn-id: r21705
2006-04-08 23:56:09 +00:00
Max Horn
85c9dc7de8 Properly translate Common::Language values for COMI
svn-id: r21704
2006-04-08 23:43:18 +00:00
Eugene Sandulenko
5a2ad04a9e Introduced language EN_ANY used for general English game entries. EN_USA and
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.

svn-id: r21702
2006-04-08 23:12:56 +00:00
Max Horn
3add3dae95 Removed dupliate entry from extra_versions table
svn-id: r21701
2006-04-08 22:48:03 +00:00
Max Horn
c8ea13139d Our extra_versions table is a bit too eager in some cases to assign platform values; fixing some of these cases and adding code that detects these and triggers an according warning
svn-id: r21700
2006-04-08 22:05:45 +00:00
Torbjörn Andersson
fbe311ce6c Some more Operation Stealth changes. Mostly stubs.
svn-id: r21699
2006-04-08 19:26:15 +00:00
Torbjörn Andersson
2167c56cb3 This is probably what o1_removeLabel() should do. Is it used anywhere?
svn-id: r21698
2006-04-08 17:51:20 +00:00
Torbjörn Andersson
69e2ce1d4a Made the "gotoIf" opcodes slightly easier to read.
svn-id: r21697
2006-04-08 17:19:07 +00:00
Torbjörn Andersson
eac6dc09aa Make the warning message for undefined opcodes slightly clearer.
svn-id: r21696
2006-04-08 14:26:36 +00:00
Torbjörn Andersson
37d1248bd0 Fixed two Operation Stealth regressions:
* When I introduced the getNext* helper functions I accidentally used
  getNextWord() instead of getNextByte() in one case.

* When splitting the opcodes into separate functions, I noticed that Operation
  Stealth has no opcode 0x40, yet it's used. So for now we only warn when
  trying to execute an undefined opcode.

svn-id: r21695
2006-04-08 14:23:33 +00:00
Torbjörn Andersson
a81964c3c2 Renamed some local variables for consistency.
svn-id: r21694
2006-04-08 14:03:14 +00:00
Torbjörn Andersson
986dce3a7d Split the opcodes into individual functions. This could easily cause
regressions, but hopefully not too many. While doing this, I noticed I had
gotten at least one of the stubs I added recently wrong. That's hopefully
fixed now.

svn-id: r21693
2006-04-08 13:20:40 +00:00
Travis Howell
655b85bc84 Add FF difference in addTextBox() and minor cleanup
svn-id: r21690
2006-04-08 12:06:52 +00:00
Max Horn
e7a8bb6abf Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
dc77d02c7e Removed common/map.h with the Common::Map template class (it was a very bad implementation, and our HashMap is simply better).
svn-id: r21688
2006-04-08 11:38:41 +00:00
Max Horn
8cf8acfd63 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21686
2006-04-08 11:21:04 +00:00