Max Horn
b4af5bc331
Adding unit test for struct packing
...
svn-id: r23570
2006-07-22 18:39:41 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
1ffd496043
Added some warnings if md5_file is used on an illegal FilesystemNode.
...
svn-id: r23568
2006-07-22 17:06:14 +00:00
Johannes Schickel
63aec29edb
Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to -devel for more information.
...
svn-id: r23567
2006-07-22 17:01:50 +00:00
Max Horn
c59e7ece0a
Part of the FreeMiNT patch
...
svn-id: r23566
2006-07-22 17:00:36 +00:00
Johannes Schickel
d272f6c483
Hardcoding header size of the Thumbnail and of the Info section of scumm games.
...
(because packed struct handling changed and gcc seems not to be happy with it)
This should unbreak new save games made after this commit.
svn-id: r23565
2006-07-22 16:19:00 +00:00
Johannes Schickel
16de659f59
Fixing compiler warnings under amd64.
...
svn-id: r23564
2006-07-22 16:09:34 +00:00
Johannes Schickel
98809a857a
Removing '/' at pathsnames of calls to "File::addDefaultDirectory" since it can't be assumed that the FS code uses '/' as path separators
...
(and it shouldn't break anything)
svn-id: r23563
2006-07-22 15:46:36 +00:00
Johannes Schickel
8116b6aab3
Using FilesystemNode::name instead of FilesystemNode::displayName in the fileclass too, then again this doesn't *have* to work. (check FilesystemNode documentation)
...
svn-id: r23562
2006-07-22 15:21:40 +00:00
Torbjörn Andersson
e3ab20ee90
Fixed DO_OPTION_OPT so that the '=' is no longer required in long options. (The
...
value is, as the name implies, optional.) This fixes bug #1526483 .
svn-id: r23561
2006-07-22 15:16:28 +00:00
Johannes Schickel
3f81726437
Return false for directories on md5_file with a FSNode as param.
...
svn-id: r23560
2006-07-22 15:05:59 +00:00
Johannes Schickel
4ae5cef491
- let md5_file accept a FilesystemNode too
...
- changes some engine detectors to use it
svn-id: r23559
2006-07-22 14:59:44 +00:00
Johannes Schickel
cfd9977425
Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
...
svn-id: r23558
2006-07-22 14:50:50 +00:00
Johannes Schickel
e5934c8f21
Using FilesystemNode::name instead of FilesystemNode::displayName in the sword2 detector code too.
...
svn-id: r23557
2006-07-22 14:39:54 +00:00
Johannes Schickel
412db86dcf
Using FilesystemNode::name instead of FilesystemNode::displayName in the sword1 detector code too.
...
svn-id: r23556
2006-07-22 14:37:52 +00:00
Johannes Schickel
ca366849eb
Using FilesystemNode::name instead of FilesystemNode::displayName in the Gobliiins detector code too.
...
svn-id: r23555
2006-07-22 14:36:09 +00:00
Johannes Schickel
7caf96af6f
Changes usage of FilesystemNode::name to FilesystemNode::displayName in the detector code.
...
svn-id: r23554
2006-07-22 14:28:39 +00:00
Max Horn
6ed00cd055
Added FilesystemNode::name method
...
svn-id: r23553
2006-07-22 14:14:16 +00:00
Neil Millstone
42cebc00dc
Speed increase for DS port - uses cache ram to store SIN_TABLE. Other versions are unaffected.
...
svn-id: r23552
2006-07-22 10:56:11 +00:00
Torbjörn Andersson
8242e6966d
Cleanup.
...
svn-id: r23551
2006-07-22 09:05:13 +00:00
Johannes Schickel
eb23d7b9a0
Changing usage of FSNode::displayName to FSNode::path
...
svn-id: r23549
2006-07-22 00:44:56 +00:00
Eugene Sandulenko
e027e7591f
o Proper ScummVM copyrights
...
o Apparently because some patch was applied twice, many header files had
their contents doubled. Fixing this as well.
svn-id: r23548
2006-07-21 21:46:19 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
348e34c685
Patch #1525407 : TeX typos
...
svn-id: r23546
2006-07-21 21:16:28 +00:00
Oystein Eftevaag
17f8c7067a
Removing redundant paranthesis
...
svn-id: r23543
2006-07-21 11:04:21 +00:00
Oystein Eftevaag
ef42b9962d
Spelling and formatting
...
svn-id: r23542
2006-07-21 10:59:55 +00:00
Johannes Schickel
29f99a029e
Using path instead of displayName.
...
svn-id: r23541
2006-07-20 21:41:59 +00:00
Max Horn
70b0656d89
Test commit 4
...
svn-id: r23540
2006-07-20 18:08:48 +00:00
Max Horn
c3bd80ef81
Test commit 3
...
svn-id: r23539
2006-07-20 17:59:13 +00:00
Max Horn
efd9b1c3dd
Test commit 2
...
svn-id: r23537
2006-07-19 17:09:26 +00:00
Max Horn
317d1a1831
Test commit
...
svn-id: r23536
2006-07-19 17:07:00 +00:00
Johannes Schickel
73869dca9f
- don't error on CHAPTER1.VRM miss anymore
...
- nicer error messages when no font files are found
- implements nicer way to load fonts
svn-id: r23531
2006-07-16 19:44:39 +00:00
Won Star
d5e45271d1
Add additional library directories.
...
svn-id: r23530
2006-07-16 08:40:28 +00:00
Won Star
167a1e5912
Fix FileSystem bug. Now 'Go Up' button works. :)
...
svn-id: r23527
2006-07-16 08:32:23 +00:00
Travis Howell
993cc4bd66
Copy protection was disabled in the Monkey Island 1 release included with LucasArts Mac CD Game Pack II
...
svn-id: r23526
2006-07-16 02:39:22 +00:00
Torbjörn Andersson
6c0edab41e
Some cleanups and restructuring. The clearScreen() function has been renamed
...
clearFrame(), and is only responsible for clearing the frame buffer. Frame
syncing and frame drawing are now separate from each other.
svn-id: r23525
2006-07-15 23:44:44 +00:00
Torbjörn Andersson
961e56c636
Fixed regression: Test if there's a text object to close before closing it.
...
svn-id: r23524
2006-07-15 23:18:11 +00:00
Torbjörn Andersson
c7babbea99
Close the current text object when the movie is ended, to avoid potential
...
memory leak, and be a bit more robust about handling text objects in the dummy
player.
svn-id: r23523
2006-07-15 22:42:28 +00:00
Torbjörn Andersson
700953cff7
Oops. I just noticed I was using _black to track the white colour, and _white
...
to track the black colour.
svn-id: r23522
2006-07-15 22:22:39 +00:00
Torbjörn Andersson
68c150df3c
This is more consistent with how we usually initialize arrays of structs, and
...
seems to still keep msvc8 happy.
svn-id: r23521
2006-07-15 22:04:42 +00:00
Johannes Schickel
db58d3477b
Should fix shadowing warnings with gcc.
...
svn-id: r23520
2006-07-15 21:27:29 +00:00
Johannes Schickel
b09b9b216e
Updates msvc8 project files.
...
svn-id: r23519
2006-07-15 21:24:05 +00:00
Johannes Schickel
59d0ddf806
Fix building with msvc8.
...
svn-id: r23518
2006-07-15 21:23:08 +00:00
Johannes Schickel
d7dafdd8db
Fix building with msvc8.
...
svn-id: r23517
2006-07-15 21:22:42 +00:00
Johannes Schickel
1a31d7da7e
Should fix loading of pakfiles.
...
svn-id: r23516
2006-07-15 21:22:07 +00:00
Johannes Schickel
1ad8d3ee6e
Adds filesize check for kyra.dat, this forces to upgrade always to the newest version though.
...
svn-id: r23514
2006-07-15 20:46:27 +00:00
Johannes Schickel
ea0e3a806c
Get rid of some asserts and adds error messages instead.
...
svn-id: r23513
2006-07-15 20:37:32 +00:00
Johannes Schickel
d630b3e722
Little cleanup.
...
svn-id: r23512
2006-07-15 20:32:54 +00:00
Johannes Schickel
04503d462d
Use the FS Api to load all .PAK and .APK files. (I just made a few quick tests, but before this should be integrated to branch-0-9-0 there should be a test for it on *every* platform, since I'm not quite sure if FilesystemNode::displayName is useable for this...)
...
svn-id: r23511
2006-07-15 20:30:36 +00:00
Johannes Schickel
a8e3e929e8
A little cleanup (merges kyra1_games, kyra2_games, kyra3_games into kyra_games)
...
svn-id: r23510
2006-07-15 20:09:45 +00:00