Commit Graph

33229 Commits

Author SHA1 Message Date
Scott Thomas
721cd148e8 Add Groovie2 to MSVC files (and alphabetize Groovie in list)
svn-id: r43932
2009-09-04 00:15:05 +00:00
Matthew Hoops
8387508d12 Silence gcc warnings.
svn-id: r43931
2009-09-03 23:06:11 +00:00
Vladimir Menshakov
7923fdbe3f fixed invalid hash sum
svn-id: r43930
2009-09-03 22:45:55 +00:00
Vladimir Menshakov
39e3c2c096 added detection structures with exe offsets.
svn-id: r43929
2009-09-03 22:42:12 +00:00
Vladimir Menshakov
d4923071c1 implemented switch in cellar callback
svn-id: r43928
2009-09-03 22:41:15 +00:00
Filippos Karapetis
a59f5231fe Added the teenagent engine to the MSVC project files, and enabled it by default for MSVC
svn-id: r43927
2009-09-03 22:03:37 +00:00
Vladimir Menshakov
4bc931dae6 removed tab as suggested
svn-id: r43926
2009-09-03 21:31:51 +00:00
Vladimir Menshakov
3c8cdcae2f fixed engines order, added svn:keywords properties.
svn-id: r43925
2009-09-03 21:20:13 +00:00
Willem Jan Palenstijn
e50631bee3 Fix warning (missing endline)
svn-id: r43924
2009-09-03 21:11:56 +00:00
Florian Kagerer
1dfb5c2b30 LOL: some more work on the floppy version (drawing code is still broken)
svn-id: r43923
2009-09-03 21:03:10 +00:00
Vladimir Menshakov
ebe1b94eb1 imported teenagent engine sources.
svn-id: r43922
2009-09-03 20:59:17 +00:00
Kari Salminen
9b2104db32 Workaround for bug #2848940 (ScummVM crashes with Future wars): getZoneFromPositionRaw accessed data outside its 320x200 buffer because Y values in range 200-232 were given to it. Original doesn't properly handle this either so trying this workaround of returning zero for positions outside the 320x200 buffer. Hopefully nothing else breaks in Future Wars because of this (More testing is direly needed!).
svn-id: r43920
2009-09-03 20:56:44 +00:00
Andre Heider
9aa7546a34 Removed AA modes in favor of bilinear texture filtering, which gives much better results. Renamed a few types and enums to make it clear what they're for.
svn-id: r43919
2009-09-03 17:52:38 +00:00
Matthew Hoops
05035fd8c3 Fix a new/free mismatch when creating a MemoryReadStream from a MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame().
svn-id: r43918
2009-09-03 16:15:10 +00:00
Andre Heider
3d94d1fba9 Disabled unused scalers for Wii and Gamecube
svn-id: r43917
2009-09-03 14:27:23 +00:00
Walter van Niftrik
ac078040e1 SCI: Relocate export table when restoring SCI1.1 savegames
svn-id: r43916
2009-09-03 11:51:18 +00:00
Filippos Karapetis
557aaab0e6 - Re-added the SCI0 dithering code. Dithering is disabled by default. Added the 3 dithering modes as an enum (and reorganized them a bit)
- Added 3 config options for dithering in the ini file - mainly for purists (config option "dither_mode"): 0 - disabled, 1 - 16 color dithering (Sierra style) and 2 - 256 color dithering
- Dithering is now always applied depending on the screen scale (removed the relevant parameter)
- Removed the background picture buffering option, used to speed-up room changes. Room changing is quite fast (instantaneous), and the extra memory allocated is not worth the possible speed increase in small devices. Plus.... there is no reliable value to set this option to, so there is no point in letting the user decide what value to put there using guesswork

svn-id: r43915
2009-09-03 07:01:48 +00:00
Florian Kagerer
3dca56bdd5 LOL: - fix speech/text settings
- start fixing floppy version

svn-id: r43914
2009-09-02 23:42:07 +00:00
Filippos Karapetis
9829378a98 Fixed loading again (broken accidentally in rev. 43504
svn-id: r43913
2009-09-02 23:11:50 +00:00
Max Horn
58f06b394f SAGA: Change Actor::fillPathArray to use a dynamic queue instead of an only-growing array -> should reduce memory usage significantly
svn-id: r43912
2009-09-02 19:33:08 +00:00
Andre Heider
83dd239769 Cleanup, rephrase
svn-id: r43911
2009-09-02 16:08:39 +00:00
Andre Heider
57e28df8cd Fixed thumbnail gfx glitches on savegames
svn-id: r43910
2009-09-02 16:08:01 +00:00
Filippos Karapetis
2f99fea9a3 Removed the dirty rectangle option of updating one huge rectangle, and only left the algorithm of updating the screen with multiple small rectangles, like we do in all the other engines that support dirty rectangle screen updates
svn-id: r43909
2009-09-02 13:21:38 +00:00
Filippos Karapetis
1bbab8f191 Some renaming:
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan

svn-id: r43908
2009-09-02 12:02:37 +00:00
Max Horn
b391f08b46 SCI: Renamed kernel_dereference_* to kernelDeref*, and added kernelDerefString
svn-id: r43907
2009-09-02 11:38:16 +00:00
Max Horn
0c7093e05c SCI:
* removed kNOP
* renamed k_Unknown to kUnknown
* added FIXME to kfunct_mappers table
* more cleanup

svn-id: r43906
2009-09-02 11:35:00 +00:00
Max Horn
6c44eafa97 SCI: funct_nr is not used in 99% of all opcodes -- hide it in those (to be removed eventually)
svn-id: r43905
2009-09-02 11:33:25 +00:00
Florian Kagerer
ad5d918ad5 LOL: update kyra.dat with floppy version data (floppy version still doesn't work, though)
svn-id: r43904
2009-09-02 06:24:01 +00:00
Filippos Karapetis
b2415c11c7 Added checksums for KQ5 EGA (bug report #2829470)
svn-id: r43903
2009-09-01 23:07:51 +00:00
Sven Hesse
21163f5ae1 Add some more drawing constraints, so prevent overflowing the video memory
svn-id: r43902
2009-09-01 21:53:00 +00:00
Filippos Karapetis
aace86a6eb Disabled the FreeSCI PIC0 palette dithering code, for now. It doesn't really make sense to dither, as Sierra games use up to 256 colors (even the later SVGA ones), and it messes up the result of the FreeSCI graphics filters. Plus, the resulting image looks worse than the original one
svn-id: r43901
2009-09-01 21:24:09 +00:00
Sven Hesse
20d93e494a Making another variable offset unsigned, since it overflows int16
svn-id: r43900
2009-09-01 21:16:12 +00:00
Sven Hesse
eaedf892e6 Fixing warnings and adding a warning should the ID be something yet unknown, just in case
svn-id: r43899
2009-09-01 21:08:42 +00:00
Andre Heider
aeb1c39f47 Patch #2848546: motomagx-mpkg-fix
svn-id: r43898
2009-09-01 20:57:29 +00:00
Filippos Karapetis
da34dfcd65 Disabled dithering by default, in order to get the graphics filters working (is dithering even used anywhere?)
svn-id: r43897
2009-09-01 20:47:49 +00:00
Arnaud Boutonné
76d60f3b5a Playtoons: Add support to IDs 65530, 65531, 65532, 65534, and renamed Id -1 into 65535 in Map_v2::loadMapObjects. This allows to start the contruction mode and "somehow" use it. (Thanks DrMcCoy for pointing out my errors)
svn-id: r43896
2009-09-01 20:36:03 +00:00
Andre Heider
fe2f11049e Cleanup, and mention new features.
svn-id: r43895
2009-09-01 20:34:10 +00:00
Filippos Karapetis
28e2f0457e Re-enabled custom graphics options, and read the cursor, view, pic and text filtering algorithm options from the ScummVM ini file (options "cursor_filter", "view_filter", "pic_filter" and "text_filter", 0 - unfiltered, 1 - bilinear filtering, 2 - trilinear filtering)
svn-id: r43894
2009-09-01 20:28:44 +00:00
Filippos Karapetis
fd92b49486 - Reverted the *vga targets back to *sci, and used the extras field again for VGA remakes
- The extras field is now filled by the fallback detector for VGA games

svn-id: r43893
2009-09-01 19:40:29 +00:00
Andre Heider
cf112f9a43 Added an options dialog for some Wii specific settings.
svn-id: r43892
2009-09-01 19:33:47 +00:00
Filippos Karapetis
a191728945 - Added MD5's for the 5 different Crazy Nick's collections
- Added the MD5's of the French versions of GK2 and SQ6 (bug reports #2846842 and #2846515)
- Added a different game id for QFG1 VGA (SCI1.1), to distinguish it from the older EGA version (SCI0) and added detection for the VGA version in the fallback detector
- Changed some VGA SCI game IDs: lsl1sci -> lsl1vga, pq1sci -> pq1vga, sq1sci -> sq1vga, to distinguish SCI VGA remakes from SCI EGA remakes (like with QFG1VGA)

svn-id: r43891
2009-09-01 19:05:21 +00:00
Walter van Niftrik
b0ab5d48f8 SCI: Fix message property of mouse event. This fixes mouse handling in the
room with the pier in KQ6.

svn-id: r43888
2009-09-01 17:40:13 +00:00
Filippos Karapetis
2e04dcb133 - Moved the Sierra game ID conversion code inside game.cpp, so that any game-specific workarounds are tested against ScummVM IDs
- Added detection for the EcoQuest 1 demo in the fallback detector
- Partially reverted my previous "fix" for EcoQuest 1 CD, and turned it into a script-specific hack for that game, for now
- Added handling of kDisposeScript calls made with 2 parameters, e.g. in KQ5CD and others (still untested, haven't found a test case)

svn-id: r43887
2009-09-01 17:09:59 +00:00
Filippos Karapetis
3d0e8a568c Fixed incorrect usage of ARRAYSIZE (thanks fingolfin)
svn-id: r43886
2009-09-01 14:55:28 +00:00
Max Horn
fbfe40d7e2 SCI: Turned convertSierraGameId partially into a table
svn-id: r43883
2009-09-01 13:03:32 +00:00
Max Horn
11a16fa30e Coding best practice: Whenever possible, pass objects by reference instead of by value. Also make variables or data table which are only used locally "static".
svn-id: r43882
2009-09-01 13:03:12 +00:00
Max Horn
8e28469f1f Coding best practice: Always use enums instead of #defines to define integer constants (for many good reasons)
svn-id: r43881
2009-09-01 13:02:47 +00:00
Max Horn
2ed53f98b4 Clarified the backspace key workaround: This is not a Mac OS X issue (as the comment used to imply) but rather an issue in some game engines.
svn-id: r43880
2009-09-01 13:02:24 +00:00
Max Horn
197e68ef2a SCUMM: Better fix for convertFilePath (use snprintf instead of sprintf, avoid intermediate buffer)
svn-id: r43879
2009-09-01 13:01:59 +00:00
Lars Persson
19d55c0490 Updated to support multiple exes
svn-id: r43877
2009-09-01 07:44:21 +00:00