Commit Graph

17034 Commits

Author SHA1 Message Date
Max Horn
30c2e13456 Move some more bits into namespace Scumm
svn-id: r21685
2006-04-08 08:43:28 +00:00
Max Horn
9c77c2ecd1 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21684
2006-04-08 08:23:33 +00:00
Torbjörn Andersson
54b99891cb Cleanup.
svn-id: r21683
2006-04-08 08:04:23 +00:00
Torbjörn Andersson
f3ede2bf38 Began collecting hard-coded language-specific strings in a new initLanguage()
function. It's now possible to choose between English and French menus, and the
command string preposition in English is "on", not "sur".

There are still plenty of hard-coded French messages to do with savegame
handling. I haven't done anything about them.

svn-id: r21682
2006-04-08 07:50:47 +00:00
Torbjörn Andersson
812dd72207 Cleanup.
svn-id: r21681
2006-04-08 07:16:14 +00:00
Travis Howell
b596065122 Fixes for oracle in FF and cleanup
svn-id: r21680
2006-04-08 07:13:07 +00:00
Torbjörn Andersson
fce6bf5142 Added helper functions getNextByte(), getNextWord() and getNextString() to make
the opcode decoder a bit easier to read. The same change could be made to
decompileScript() as well, but I have a feeling that this function should be
made a standalone tool instead. Particularly considering how much memory it
currently uses.

svn-id: r21679
2006-04-08 06:47:58 +00:00
Travis Howell
0bf0772e9c Remove debug leftover
svn-id: r21678
2006-04-08 00:28:36 +00:00
Travis Howell
e951f908f2 Fix load game display of oracle in FF
svn-id: r21677
2006-04-08 00:24:46 +00:00
Travis Howell
daa60166fe Remove excess ; in scrollEvent()
svn-id: r21676
2006-04-08 00:19:04 +00:00
Travis Howell
9a7b16e4d3 Add initial support for vertical scrolling in FF
svn-id: r21675
2006-04-08 00:12:16 +00:00
Max Horn
9e5950e704 New Loom version reported by Peter Eckerlein
svn-id: r21673
2006-04-07 22:46:59 +00:00
Max Horn
1cda8e10f0 Finally got rid of multiple_versions_md5_settings in favor of extra_versions
svn-id: r21672
2006-04-07 22:40:45 +00:00
Travis Howell
65a3f88454 Minor cleanup
svn-id: r21671
2006-04-07 14:40:33 +00:00
Travis Howell
0c496f92a9 Cleanup and split scrolling code
svn-id: r21670
2006-04-07 14:27:28 +00:00
Travis Howell
3b1710c7f5 Add scrolling adjustments when drawing overlay in FF
svn-id: r21669
2006-04-07 13:39:59 +00:00
Travis Howell
f51575563e Add scrolling code for oracle in FF
svn-id: r21668
2006-04-07 12:57:40 +00:00
Max Horn
67fda4ece5 Cache the root node (cause a major speedup on OSX, since by far the slowes part in the FS code over here is the getcwd call in getRoot() )
svn-id: r21667
2006-04-07 11:47:58 +00:00
Won Star
00a4ca0224 Fix compile
svn-id: r21666
2006-04-07 11:37:46 +00:00
Won Star
e1bbc61bb5 GP32 uses custom version of libtremor, so update header path.
svn-id: r21665
2006-04-07 10:44:20 +00:00
Won Star
7cd565f884 Fix compile with GP32 by overriding datatypes.
svn-id: r21664
2006-04-07 10:40:08 +00:00
Won Star
ab41c88902 Disable i/o cache which is incomplete and can cause serious problem with SMC.
Fix compile by overriding typenames.
Cleanup and fix ASM functions. Some of them didn't return properly to C code when called...
Cleanup Makefile again.

svn-id: r21663
2006-04-07 10:38:06 +00:00
Torbjörn Andersson
94f2174522 Cleanup of yesterday's changes. The opcode functions no longer need to take any
parameters.

svn-id: r21662
2006-04-07 09:37:44 +00:00
Travis Howell
c0e984a80a Fix some horizontal scrolling issues in FF
svn-id: r21661
2006-04-07 09:04:36 +00:00
Travis Howell
e806e891e3 Sprite is always set to 1 in o_printStr() and o1_scnTxtLongText() for FF. Fixes wait timeouts in holomail.
svn-id: r21660
2006-04-07 03:30:52 +00:00
Travis Howell
50983a3721 Fix subtitle output in FF
svn-id: r21659
2006-04-07 03:03:20 +00:00
Torbjörn Andersson
26587faff7 This may look like a less good way of transforming three bits of colour into
eight bits. Perhaps it is. But it seems to match the output from DOSbox when
running Future Wars, and I tend to trust DOSbox in such matters.

svn-id: r21658
2006-04-07 02:02:06 +00:00
Travis Howell
c6c86ff172 Ooops, cut and paste error in printScreenText()
svn-id: r21657
2006-04-07 01:48:54 +00:00
Travis Howell
38bf0af540 Add some work on text output in FF
svn-id: r21656
2006-04-07 01:46:43 +00:00
Torbjörn Andersson
15cc2e628d Small cleanup.
svn-id: r21655
2006-04-07 01:04:09 +00:00
Torbjörn Andersson
997c023095 Added opcode comments and stubs based on information sev provided me with. All
stubs should print a warning, though I may have missed some.

svn-id: r21654
2006-04-06 22:33:23 +00:00
Max Horn
43cd96fe10 Renamed last LaTeX files
svn-id: r21653
2006-04-06 22:32:53 +00:00
Max Horn
5f0ff73d2a Renamed even more LaTeX files (those names might not be the best, but the section structure isn't very logical to start with <sigh>)
svn-id: r21652
2006-04-06 22:17:37 +00:00
Max Horn
4e76abb452 Updated 'credits' target to generate correct LaTeX file
svn-id: r21651
2006-04-06 22:13:16 +00:00
Max Horn
b29ad3c0cc Renamed more LaTeX files
svn-id: r21650
2006-04-06 22:12:48 +00:00
Max Horn
87c3aa27af Started to rename the LaTeX files based on their content instead of their numbering (which changes all the time anyway)
svn-id: r21649
2006-04-06 22:06:03 +00:00
Max Horn
b570d768ff Moved the TODO to the Wiki
svn-id: r21647
2006-04-06 21:39:00 +00:00
Torbjörn Andersson
0f3aeb09ed Fixed another "worked in cinE, broken in ScummVM" bug that made it impossible
to interact with the objects in the second room. We were passing the wrong
pointer to gfxConvertSpriteToRaw() in loadCt(), causing page3Raw (which I
believe is an "image" mapping screen coordinates to objects) to be wrong.

svn-id: r21646
2006-04-06 20:57:58 +00:00
Torbjörn Andersson
c07f186502 We don't need to convert mono data to stereo: Simply tell the mixer that we're
generating mono data, and let it worry about how to handle it.

svn-id: r21645
2006-04-06 18:55:39 +00:00
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