Commit Graph

16893 Commits

Author SHA1 Message Date
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
Max Horn
2197597f9a Moved File::resetDefaultDirectories from Engine destructor to runGame (since that is the main spot where we call addDefaultDirectory)
svn-id: r21535
2006-04-01 21:52:33 +00:00
Max Horn
d61b104568 Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
svn-id: r21534
2006-04-01 21:43:49 +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
Max Horn
e390639dd8 Use extra_versions to compute ScummGameSettings (currently only compared to the value determined via multiple_versions_md5_settings but not actively used; requires more testing, in particular with HE games)
svn-id: r21530
2006-04-01 18:20:35 +00:00
Max Horn
46360fcc77 Changed output path for md5scumm target (matching the credits target: assumes that you are running the target from inside a full checkout of the ScummVM SVN repository)
svn-id: r21529
2006-04-01 18:14:34 +00:00
Max Horn
ee62cd3c51 Generate an error when kGenAsIs is used with an unsupported platform, instead of silently continuing with a bogus _fileHandle (leading to odd crashes)
svn-id: r21528
2006-04-01 18:13:06 +00:00
Max Horn
9ed2d26db5 Simplified the File::addDefaultDirectory(Recursive) code; avoid scanning directory multiple times
svn-id: r21527
2006-04-01 17:36:43 +00:00
Max Horn
0bb6d64064 A lot of code in sword1/router.cpp and sword2/router.cpp is virtually identical -- unified the two files in many places (but a lot more could be done, feel free to pick up and continue this work)
svn-id: r21526
2006-04-01 12:47:09 +00:00
Travis Howell
d10929b394 Always check array bounds are valid in HE games, matching original
svn-id: r21524
2006-04-01 12:26:50 +00:00
Max Horn
361572af2c Patch #1432378: BASS: Memory leak, patch included
svn-id: r21523
2006-04-01 11:25:08 +00:00
Travis Howell
7a81cc76e1 Fix painting and fridge magnet palette glitches in thinker1
svn-id: r21522
2006-04-01 06:38:47 +00:00
Eugene Sandulenko
8a5df05aa0 Hide eval debug output deeper to level 5. Report total number of defined
variables.

svn-id: r21521
2006-03-31 23:51:19 +00:00
Eugene Sandulenko
8272591c8d Add size() methods to Map and HashMap classes
svn-id: r21520
2006-03-31 23:49:08 +00:00
Max Horn
e947bd5e27 Updated ConfigFile/ConfigManager classes, that work with the updated Map class, and optionally support HashMap (disabled for now)
svn-id: r21519
2006-03-31 23:10:24 +00:00
Max Horn
05b0ed007e Disable DEBUG_HASH_COLLISIONS again (accidentally got enabled in my previous commit)
svn-id: r21518
2006-03-31 22:38:27 +00:00
Max Horn
c50bfd9d34 Modify HashMap to allow client code to override the equality/hash functionality via functors that are specified as template paramaters (emulating the hash_map class which many STL implementations provide) -> this is necessary to allow e.g. HashMaps that use case insensitive strings as keys
svn-id: r21517
2006-03-31 22:19:39 +00:00
Max Horn
661128b2b4 Modified our Map class to use a 'Less' function instead of a 'strcmp'-like comparator functor, to match the STL map template
svn-id: r21516
2006-03-31 22:17:06 +00:00
Max Horn
088b0afad5 Modified the List postfix ++/-- operators to simply invoke their prefix counterparts; also removed Symbian/Palm specific hack
svn-id: r21515
2006-03-31 22:15:42 +00:00
Travis Howell
c4349e88f7 Rename two WizParameters fields
svn-id: r21514
2006-03-31 13:06:23 +00:00
Eugene Sandulenko
0335bab074 Make corners of SCUMM load/save dialog round.
svn-id: r21513
2006-03-31 13:00:06 +00:00
Max Horn
00bbc5c96c Small correction in the TODO file (use proper class names)
svn-id: r21512
2006-03-31 12:16:19 +00:00
Max Horn
a23fba7a42 Avoid using Map::merge
svn-id: r21511
2006-03-31 07:30:43 +00:00
Max Horn
e0b3e777cf Added some functor objects (for comparision and hash computations), similar to those present in the STL
svn-id: r21510
2006-03-31 07:22:49 +00:00
Max Horn
111c0d1ddd Some new & extended test cases
svn-id: r21509
2006-03-31 07:20:16 +00:00
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