205 Commits

Author SHA1 Message Date
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
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +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
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
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
Eugene Sandulenko
f25d49f826 - Move AddDefaultDirectory() calls in somon engine to constructor
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp

svn-id: r21451
2006-03-25 19:18:09 +00:00
Travis Howell
140c0d9a3c Minor changes for FF and cleanup
svn-id: r21417
2006-03-23 04:49:03 +00:00
Travis Howell
ddc1a7a52f Add opcode 161 difference in FF, fixes some glitches in 2nd room
svn-id: r21416
2006-03-23 04:41:06 +00:00
Won Star
aad9a340be Fix compile without ZLIB support (GP32).
svn-id: r21408
2006-03-23 02:48:53 +00:00
Travis Howell
a8c0079924 Code for inverted rect when scaling images of FF no longer required. Minor cleanup
svn-id: r21407
2006-03-22 23:38:16 +00:00
Travis Howell
3110c11ea1 Rename draw buffers correctly
svn-id: r21406
2006-03-22 13:54:26 +00:00
Travis Howell
6227f38cba Small correction to scaling code in FF
svn-id: r21405
2006-03-22 11:57:46 +00:00
Torbjörn Andersson
e4664606f7 Preliminary (weasel-word for "probably buggy") implementation of the remaining
parts of scaleClip(). I do see a scaled image of Feeble, but it's very glitchy.
On the other hand, I get the same kindof glitches when drawing him unscaled, so
maybe there is garbage left in the scale buffer from previous frames.

svn-id: r21404
2006-03-22 10:32:32 +00:00
Travis Howell
60732d70f5 Whitespace changes
svn-id: r21403
2006-03-22 10:04:01 +00:00
Travis Howell
857cf7189a Fix regression in 2nd room of FF
svn-id: r21402
2006-03-22 09:14:28 +00:00
Travis Howell
00d44af2c1 Skip columns isn't used for overlayed or scaled images in FF
svn-id: r21401
2006-03-22 08:56:10 +00:00
Travis Howell
c0198b4464 Fix sound regression in FF, caused by last commit
svn-id: r21400
2006-03-22 08:27:41 +00:00
Travis Howell
5a8a32e350 Add initial support for Amiga and Macintosh versions of The Feeble Files
svn-id: r21399
2006-03-22 06:21:17 +00:00
Travis Howell
6632a4df53 Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
svn-id: r21376
2006-03-19 05:15:49 +00:00
Travis Howell
479a1b24c3 Cleanup
svn-id: r21328
2006-03-16 10:30:59 +00:00
Travis Howell
008b681dac Cleanup
svn-id: r21327
2006-03-16 07:08:05 +00:00
Travis Howell
ec05842572 Remove duplicate fcs field
svn-id: r21326
2006-03-16 05:41:39 +00:00
Travis Howell
5b3b3b21e3 Rename get draw buffer functions
svn-id: r21325
2006-03-16 04:10:34 +00:00
Travis Howell
0843260c29 Rename flags used for drawing images
svn-id: r21324
2006-03-16 03:48:42 +00:00
Travis Howell
c821b20400 Remove unused unlock draw surface functions
svn-id: r21323
2006-03-16 03:19:55 +00:00
Travis Howell
0ce2110306 Add scaling code stub for FF
svn-id: r21322
2006-03-16 03:15:05 +00:00
Travis Howell
f9797f3ac3 Correct mistake in md5 tables for Simon the Sorcerer 2 (DOS Floppy)
svn-id: r21219
2006-03-12 00:53:30 +00:00
Max Horn
6b988a51bd Moved SIMON plugin interface code from simon.cpp to game.cpp
svn-id: r21180
2006-03-09 14:30:43 +00:00
Max Horn
1d14d18893 Modified SIMON engine to use DetectedGame::updateDesc
svn-id: r21176
2006-03-09 13:29:45 +00:00
Max Horn
12755197f2 Tiny code simplification
svn-id: r21152
2006-03-09 03:01:28 +00:00
Max Horn
86565fcca5 - Renamed GameSettings to PlainGameDescriptor
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
  Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
  DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines

svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af - added new toDetectedGame() template function (analog to toGameSettings)
- made use of the new DetectedGame constructor from my last commit
- some related cleanup

svn-id: r21149
2006-03-09 01:42:56 +00:00
Travis Howell
2cf16b0d14 Add correct md5 for second version of Simon the Sorcerer 2 patched to Russian
svn-id: r21057
2006-03-04 04:29:38 +00:00
Max Horn
907bd7128d Fix for bug #1438822 (Targets are case sensitive)
svn-id: r21017
2006-03-02 22:29:01 +00:00
Torbjörn Andersson
36180ed017 I assume -1 and 0xFFFFFFFF are supposed to be the same value when assigned to
_lastHitArea3, so use -1 consistently.

svn-id: r20838
2006-02-23 22:38:16 +00:00
Torbjörn Andersson
7b25fa0bd4 In Feeble Files, mouse clicks are recorded in _bitArray[] as well. I was hoping
that this would make a difference for the Oracle, but apparently not.

svn-id: r20828
2006-02-23 14:52:07 +00:00
Travis Howell
4d6b3dd5f3 Add German version of Simon the Sorcerer 2 (DOS Floppy)
svn-id: r20803
2006-02-20 23:27:32 +00:00
Max Horn
01fc7034b5 - Merged GameDetector::detectGame() into GameDetector::detectMain()
- Replaced GameSettings GameDetector::_game by a simple gameid string

svn-id: r20753
2006-02-18 12:50:48 +00:00
Max Horn
8ac17430ac - renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
  obsolete gameids w/o showing them to the user

svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Max Horn
a96760a2fd Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
svn-id: r20738
2006-02-17 00:01:18 +00:00
Torbjörn Andersson
fde1da92f0 Whitespace fix.
svn-id: r20737
2006-02-16 23:43:51 +00:00
Max Horn
405733e044 - Fixed a bug that prevented you from overriding the scaler from the command
line for 640x480 games.
- Updated NEWS file a bit

svn-id: r20736
2006-02-16 23:24:23 +00:00
Travis Howell
c26af987c2 Fix overlay images not always been marked as compressed in the Feeble Files
svn-id: r20735
2006-02-16 22:49:26 +00:00
Travis Howell
5c98378e84 Cleanup drawing code for Feeble Files
svn-id: r20734
2006-02-16 22:35:43 +00:00
Torbjörn Andersson
6e3686e494 For now, do not attempt to draw "overlay" sprites, like the Oracle icon. The
good news is that the original function to draw these appears to be written in
C, so it should be easy to decipher.

The bad news is that I failed. :-)

svn-id: r20728
2006-02-16 16:39:45 +00:00
Torbjörn Andersson
fc3cdbe5a9 It looks like Feeble Files adjustis sprite coordinates by _scrollY as well,
where Simon 2 only adjusts by _scrollX. Perhaps Feeble Files have rooms that
scroll both horizontally and vertically?

Again, this makes no difference to the early stages of the game.

svn-id: r20694
2006-02-14 21:20:10 +00:00