16866 Commits

Author SHA1 Message Date
Torbjörn Andersson
c26b762f48 Made readFileToMem() print a more useful error message than "File is not open"
if the file could not be opened.

svn-id: r21508
2006-03-31 06:42:56 +00:00
Travis Howell
f991b88da8 Fix skipping insane sequence in bundled Macintosh demo of FT
svn-id: r21507
2006-03-31 01:28:35 +00:00
Travis Howell
469b1420da Fix sound glitch in PC demo of FT
svn-id: r21506
2006-03-31 00:39:53 +00:00
Travis Howell
e504e814b1 Improve mine road in PC demo of FT
svn-id: r21505
2006-03-30 23:58:37 +00:00
Travis Howell
3e974d3604 Limit INSANE to existing enemies in PC demo of FT
svn-id: r21504
2006-03-30 13:47:18 +00:00
Travis Howell
1ec46bae37 Allow interactive mine road in PC version of FT demo
svn-id: r21503
2006-03-30 11:52:49 +00:00
Travis Howell
014dde3de3 Add missing check for invalid object number in getObjectData opcode
svn-id: r21501
2006-03-30 00:32:29 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
0da5fb4c1c Alphabetical build order
svn-id: r21499
2006-03-29 15:51:13 +00:00
Max Horn
76cfaca23d - Added some explanatory comments (everybody feel free to extend them)
- Unified the various typedefs
- Added a couple FIXME comments (which porters may want to resolve)
- Some cleanup

svn-id: r21498
2006-03-29 12:47:35 +00:00
Travis Howell
506f33a025 Add opcode difference in FF
svn-id: r21497
2006-03-29 12:15:08 +00:00
Max Horn
70040aed47 cleanup
svn-id: r21496
2006-03-29 12:09:15 +00:00
Torbjörn Andersson
f6e6017d96 Added stubs for a couple of FF opcodes.
svn-id: r21495
2006-03-29 12:03:02 +00:00
Max Horn
7bf3437c1c Cleanup test code in our 'clean' target
svn-id: r21494
2006-03-29 11:05:38 +00:00
Max Horn
4d4c29787e Improved the 'test' build rule
svn-id: r21492
2006-03-29 11:00:39 +00:00
Max Horn
c5511a049a Removed some more semicola
svn-id: r21491
2006-03-29 10:59:25 +00:00
Max Horn
b1514bb833 Added a minimal README for our unit tests, and moved their build rule to a new test/module.mk file
svn-id: r21490
2006-03-29 10:35:45 +00:00
Max Horn
ebeaa6a5c1 Removing some unnecessary semicolons (avoiding compiler warnings/errors)
svn-id: r21489
2006-03-29 10:27:43 +00:00
Max Horn
3820593bb8 bringing cxxtest-3.10.1 to ScummVM's main branch
svn-id: r21488
2006-03-29 10:25:48 +00:00
Travis Howell
9c94670e22 Add another English version of Monkey Island for Macintosh
svn-id: r21483
2006-03-29 06:24:13 +00:00
Max Horn
f38d89f327 Set correct load factor for hashmap (just wanted to check if anybody is paying attention to those commit messages *cough* ;-)
svn-id: r21482
2006-03-28 16:19:18 +00:00
Max Horn
d3e08aedbb Adapted unit tests to current situation
svn-id: r21481
2006-03-28 15:16:04 +00:00
Max Horn
62da4eec26 Get rid of Map::addKey
svn-id: r21480
2006-03-28 15:15:45 +00:00
Johannes Schickel
c09d1ea520 - Commits heaviliy modifed patch #1459951 ("KYRA: Combining MIDI music with Adlib sfx") (created a wrapper class for two different sound drivers instead of adding a new variable to the KyraEngine class and chaning stuff there)
- Prevents to play track 0 for non mt-32 midi devices (got ugly sound output with windows midi)

svn-id: r21479
2006-03-28 15:15:36 +00:00
Travis Howell
46270a5dd7 Update game detection code, with recent changes from SAGA engine
svn-id: r21478
2006-03-28 13:33:18 +00:00
Max Horn
37c79be740 - Renamed Map::remove to Map::erase (matching the STL and HashMap)
- Added Map::find() (see also HashMap), and made the ConfigManager use it

svn-id: r21477
2006-03-28 12:35:50 +00:00
Max Horn
41991f88a9 Added iterator support to hashmap, as well as erase & find methods (all currently needs more testing and may be buggy)
svn-id: r21476
2006-03-28 12:34:34 +00:00
Max Horn
92437ce549 Reduce the differences between Map and HashMap some more (in the end, we should be able to easily switch between the two, e.g. in the ConfigManager class)
svn-id: r21475
2006-03-28 11:21:13 +00:00
Max Horn
dae92b83f2 Increase the load factor for our hashmaps from 50% to 75%, to be slightly nicer regarding memory consumption
svn-id: r21474
2006-03-28 10:54:02 +00:00
Max Horn
f4339ff6c4 - Renamed class AssocArray to HashMap to match our existing class Map (note also
that many STL implementations have a class hash_map next to class map, too)
- Changed some static File class member vars to be normal static variables, in
  yet another attempt to reduce header dependencies (in this case on hashmap.h)

svn-id: r21473
2006-03-28 10:05:25 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
950c3451a2 Removing bogus leftovers
svn-id: r21471
2006-03-28 09:37:50 +00:00
Paul Gilbert
b54d73d220 Further progress on disassembling pathfinding and support methods
svn-id: r21470
2006-03-27 21:32:43 +00:00
Johannes Schickel
518c7b871f Comments out unneeded code in enterNewScene (only used for cd audio version).
Fixes bug with stopping pegasus music before the animation finished.

svn-id: r21469
2006-03-27 18:20:19 +00:00
Andrew Kurushin
7191d474a4 improve game detection:
- start process speedup (remove already scanned files)
- merge md5 & game files list

svn-id: r21468
2006-03-27 16:56:08 +00:00
Travis Howell
017bcdb445 Adjust width in dump_bitmap() for FF
svn-id: r21467
2006-03-27 13:32:44 +00:00
Travis Howell
c12839ec18 Always init state.depack_cont
svn-id: r21466
2006-03-27 13:30:28 +00:00
Travis Howell
e265f1ab57 Commited too much
svn-id: r21465
2006-03-27 12:54:53 +00:00
Travis Howell
3bb25707b2 Add FF support to dump_bitmap()
svn-id: r21464
2006-03-27 12:49:17 +00:00
Torbjörn Andersson
23c692f09f Cleaned up update_playRhythmSection(). It's almost possible to understand what
it's intended to do now.

Renamed _unkOutputByte2 to _vibratoAndAMDepthBits. It's a pretty terrible name,
but that's what it is: the two most significant bits of the Adlib BD register.

Renamed _rhythmSection to _rhythmSectionBits for consistency: It's the five
least significant bits of the Adlib BD register.

(The remaining bit is the rhythm on/off bit. I don't think we store that one in
any variable.)

svn-id: r21463
2006-03-26 22:11:40 +00:00
Travis Howell
26c0d2b4fa Always use the correct string slot for HE games specific cases in decodeParseString()
svn-id: r21462
2006-03-26 09:21:07 +00:00
Travis Howell
59dd971a02 Ooops, correct cut and past error in last commit
svn-id: r21461
2006-03-26 09:09:35 +00:00
Travis Howell
c1bd25617b Increase size of _charsetData to 16 * 23 for HE games, fixes subtitle color glitches in Buzzy games
svn-id: r21460
2006-03-26 09:06:44 +00:00
Torbjörn Andersson
d8004bff51 Added support for mouse wheel scrolling in save/restore dialog.
svn-id: r21459
2006-03-26 06:22:41 +00:00
Eugene Sandulenko
09b8869ef6 Implement feature request #1450364: "Suggestion on how to cope with
fan-translations"

svn-id: r21458
2006-03-26 04:50:09 +00:00
Eugene Sandulenko
e3173172b9 Implement feature request #1393200: "target_md5 even for command line"
svn-id: r21457
2006-03-26 04:22:47 +00:00
Travis Howell
67b8589c18 Reduce size of saved games for HE games, music/speech resources don't need to be saved
svn-id: r21456
2006-03-26 00:24:00 +00:00
Eugene Sandulenko
dd505ff6ae Fixing bug #1458388: "SIMON1: Game Detection fails".
Sometimes instead of "GAMEPC" we get "GAMEPC." (note trailing dot)

svn-id: r21455
2006-03-25 21:17:38 +00:00
Gregory Montoir
575c831684 fixed wrong computation of decflag in AkosRenderer::drawLimb (HE specific, bug #1416186).
svn-id: r21454
2006-03-25 20:15:41 +00:00
Eugene Sandulenko
47b3a748f4 - Print more meaningful game names on detection stage
- Move detection debug messages from level 0 to level 2

svn-id: r21453
2006-03-25 19:46:58 +00:00