Commit Graph

759 Commits

Author SHA1 Message Date
Sven Hesse
2ec6e678be Fixing compilation
svn-id: r35055
2008-11-14 13:26:23 +00:00
Filippos Karapetis
66e86283cb Cleanup and simplification of the resource loading code
svn-id: r35054
2008-11-14 12:19:10 +00:00
Filippos Karapetis
0f38e67f57 Fix for bug #2277597 - "ITE: Classic Mac alternate md5sums / Voices not detected‏"
svn-id: r35051
2008-11-13 23:21:38 +00:00
Filippos Karapetis
6ccf57d789 Fixed crash when returning to launcher from the GMM
svn-id: r35050
2008-11-13 23:19:25 +00:00
Filippos Karapetis
8e3485f158 Added better checks for the current music status in pauseEngineIntern()
svn-id: r35035
2008-11-13 09:19:42 +00:00
Torbjörn Andersson
c29dfd1f17 Fixed warning. (GCC doesn't like the variable 'isPaused' because there already is
an isPaused() function.)

svn-id: r35009
2008-11-11 20:25:44 +00:00
Filippos Karapetis
113a83c0da Implemented pauseEngineIntern() for the SAGA engine
svn-id: r35007
2008-11-11 17:34:52 +00:00
Filippos Karapetis
a859e2c1c9 Cleanup
svn-id: r34988
2008-11-10 18:51:51 +00:00
Filippos Karapetis
3ccfce260f SAGA save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34986
2008-11-10 14:11:30 +00:00
Filippos Karapetis
4e7f7064a3 Limit places where saving from the GMM is permitted
svn-id: r34984
2008-11-10 11:43:02 +00:00
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Filippos Karapetis
57e57c49ce Saving a game from GMM is now working for the SAGA engine, though the description is not set correctly yet
svn-id: r34932
2008-11-07 19:43:01 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Max Horn
55c10e0ec6 Patch #2122869: ALL: Common load dialog
svn-id: r34883
2008-11-03 18:32:16 +00:00
Filippos Karapetis
26642748f9 Removed FIXME and reverted commit #34855, as it's now possible to add a subfolder to a non-existing folder without crashes with the change in commit #34857
svn-id: r34858
2008-10-27 11:04:36 +00:00
Filippos Karapetis
c03f0219ca Using getChild() with getChild() throws an assertion (a regression of the latest FS node changes). Commenting out this line with a FIXME so that SAGA games can work once again under Windows
svn-id: r34855
2008-10-26 18:40:59 +00:00
Filippos Karapetis
b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Filippos Karapetis
d4cb443af7 Fix crash when starting ITE, a regression from commit #34705
svn-id: r34712
2008-09-30 16:55:10 +00:00
Filippos Karapetis
45284cfad9 Fixed crash when starting IHNM, a regression from commit #34693
svn-id: r34705
2008-09-30 13:19:14 +00:00
Max Horn
6aa12974bd SAGA: Some code cleanup
svn-id: r34703
2008-09-30 12:58:27 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
7c0b2cfd27 Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()
svn-id: r34696
2008-09-30 09:12:02 +00:00
Max Horn
d4a76c026f SAGA: Forgot to commit saga.h
svn-id: r34695
2008-09-30 09:11:25 +00:00
Max Horn
82f7b3e6e4 SAGA: Removed patchesCount from SAGAGameDescription
svn-id: r34693
2008-09-30 09:08:17 +00:00
Max Horn
66c481c70a Order alphabetically
svn-id: r34692
2008-09-30 09:07:03 +00:00
Eugene Sandulenko
84379f1124 Fix bugs #1981081: "ITE: No blinking disk icon" and #1971729: "IHNM: No Animation of Disk Icon"
svn-id: r34645
2008-09-24 22:44:01 +00:00
Filippos Karapetis
e377ed856d Readded missing special case for the storm animation in ITE. Fixes bug #2125675 - "ITE: Game locks up in storm clouds scene"
svn-id: r34639
2008-09-24 07:26:45 +00:00
Filippos Karapetis
621847b2e2 Proper check for eos(), after the latest changes to OSystem
svn-id: r34554
2008-09-15 09:17:18 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Johannes Schickel
0a35842954 Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
svn-id: r34495
2008-09-11 19:47:45 +00:00
Filippos Karapetis
726e7e7ef9 Committed patch #2100962 - "Saga engine reduced memory usage"
svn-id: r34458
2008-09-09 07:05:47 +00:00
Filippos Karapetis
1c687f98e7 Reduced calls to File::exists()
svn-id: r34443
2008-09-08 10:36:53 +00:00
Filippos Karapetis
4be8764428 Free the current voice lookup table a bit earlier in loadGlobalResources()
svn-id: r34442
2008-09-08 08:26:54 +00:00
Filippos Karapetis
ea5ad543d9 Cleanup
svn-id: r34440
2008-09-08 08:07:06 +00:00
Max Horn
2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Filippos Karapetis
6d4900ad06 Hopefully fixed the chaos with the SAGA volume values. This also fixes the broken volume introduced with the introduction of the RTL code in the engine
svn-id: r34349
2008-09-05 13:02:03 +00:00
Max Horn
d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
2a06141644 Merging more of the GSoC 2008 RTL branch: SAGA
svn-id: r34252
2008-09-01 20:19:28 +00:00
Filippos Karapetis
c89281e4a3 Fix for bug #2057200 - "IHNM: Invisible inventory objects"
svn-id: r34189
2008-08-26 14:26:43 +00:00
Torbjörn Andersson
eb35835f5e I believe the setVolume() function has to be guarded by a mutex. (I added this to
the Tinsel engine a while back to fix mysterious problems, but forgot to add it
elsewhere.) Maybe this will fix the mysterious IHNM crashes, as well?

svn-id: r34048
2008-08-20 09:12:11 +00:00
Filippos Karapetis
15722c8ee8 Fix for bug #2057194 - "IHNM: -x option crashes ScummVM, if savegame doesn't exist"
svn-id: r34023
2008-08-19 08:49:53 +00:00
Christopher Page
370cc6615e Fixed volume change after loading a game in Saga
svn-id: r33952
2008-08-16 22:30:19 +00:00
Christopher Page
ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
2008-08-15 18:15:14 +00:00
Christopher Page
4198ee9623 Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
 

svn-id: r33624
2008-08-04 22:34:07 +00:00
Filippos Karapetis
1ed65c1e2e Added Italian translation for the load confirmation window in IHNM
svn-id: r33611
2008-08-04 15:23:08 +00:00
Filippos Karapetis
3f56ff8742 Fixed crash on exit from commit #32742 - the memory leak was only in IHNM, not ITE (in ITE, the 4 sprite lists are actually one)
svn-id: r33492
2008-08-01 14:27:40 +00:00
Filippos Karapetis
0145dd38d9 Added load confirmation dialog for IHNM, like in the original.
Fixes bug #1971699 - "IHNM: No Load Game Confirmation"

svn-id: r33490
2008-08-01 14:03:20 +00:00
Christopher Page
6023e665a9 Added --list-saves support for SAGA
svn-id: r33391
2008-07-29 02:12:07 +00:00
Filippos Karapetis
b67db7baf5 Cleanup
svn-id: r33373
2008-07-28 12:46:30 +00:00
Christopher Page
9560a4c3d3 Separated Speech from SFX in SAGA, improved configuration of SAGA sound settings through the GMM
svn-id: r33176
2008-07-21 19:15:28 +00:00
Christopher Page
7f480ac571 Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
cbadb51ce7 SAGA works with new GMM implementation
svn-id: r33000
2008-07-11 01:09:48 +00:00
Christopher Page
9c60fd183c Sound settings for Saga can be configured from the GMM
svn-id: r32863
2008-07-01 03:01:11 +00:00
Christopher Page
7d0eb4f4f0 Queen and Saga now use the new _quit flag
svn-id: r32774
2008-06-25 02:14:55 +00:00
Christopher Page
8cb11a808a Cleaned up some unnecessary comments
svn-id: r32721
2008-06-16 19:55:59 +00:00
Christopher Page
dd423f803b SAGA: Fixed memory leaks in the SAGA engine
svn-id: r32673
2008-06-12 16:58:02 +00:00
Johannes Schickel
73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Filippos Karapetis
4b5ed050f1 Initial WIP and still non-working code for the blinking save reminder icon (bug reports #1981081 and #1971729)
svn-id: r32521
2008-06-03 21:20:55 +00:00
Filippos Karapetis
eea2aadbd8 Renamed files for consistency
svn-id: r32283
2008-05-26 11:14:30 +00:00
Filippos Karapetis
966239fc52 Code cleanup:
- Removed sagaresnames.h
- Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP)
- Moved all resources which were used by the ITE intro into ite_introproc.cpp
- Removed several defines which were only used once (e.g. the SFX names)
- Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end
- Updated the comment about the IHNM Mac music
- Changed the callocs in loadPalAnim to mallocs, like in the rest of the code
- Removed the MEM error

svn-id: r32282
2008-05-26 11:10:46 +00:00
Filippos Karapetis
dd6821cbcb Cleanup
svn-id: r32280
2008-05-26 11:03:21 +00:00
Filippos Karapetis
df79480611 Messages in the ITE puzzle scene will now be properly shown in Italian in the Italian fan translation of ITE
svn-id: r32221
2008-05-23 09:17:39 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Torbjörn Andersson
5a5d5c02e1 Fixed warning. (You shouldn't have to use floor() to simulate integer math
anyway.)

svn-id: r31411
2008-04-05 16:02:28 +00:00
Filippos Karapetis
44ba7f97a9 Fixed regression from previous commit
svn-id: r31410
2008-04-05 14:28:24 +00:00
Eugene Sandulenko
c8061850ed Simplify code
svn-id: r31409
2008-04-05 14:18:32 +00:00
Filippos Karapetis
a52c6e0ba2 Added code to load (but NOT play) the external music files in the Macintosh version of IHNM. I believe that the music in the Mac version is in TFMX format, which is not supported yet
svn-id: r31408
2008-04-05 14:06:50 +00:00
Filippos Karapetis
2da922081c Speech is now played correctly in the Macintosh version of IHNM
svn-id: r31405
2008-04-05 13:19:12 +00:00
Filippos Karapetis
99283e9e54 Sound effects in the Macintosh version of IHNM are now working
svn-id: r31404
2008-04-05 12:36:52 +00:00
Eugene Sandulenko
7a0c61c440 Added detection for IHNM Mac. Gampe plays, but sound and music is a big TODO
svn-id: r31403
2008-04-05 07:43:54 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Filippos Karapetis
5f493ce618 Added a workaround so that the mob of prisoners in Nimdok's chapter is shown correctly after a cutaway is shown
svn-id: r30991
2008-02-28 00:17:51 +00:00
Filippos Karapetis
99a5d11544 Don't change the voice bank when no voice files are present. This will stop SAGA games from crashing when no voice files are present in talkie versions of ITE and IHNM (regression from commit #30648)
svn-id: r30989
2008-02-27 18:17:50 +00:00
Filippos Karapetis
113ce2b900 Don't do any special font mapping in the Italian fan translation of ITE, so that Italian characters are shown correctly
svn-id: r30988
2008-02-27 18:10:08 +00:00
Filippos Karapetis
a7269c6009 Fix for bug #1895205 - "IHNM: end game text/caption error"
svn-id: r30985
2008-02-27 15:11:16 +00:00
Filippos Karapetis
a3f2f4b039 This safeguard is no longer needed for IHNM
svn-id: r30956
2008-02-24 16:56:28 +00:00
Filippos Karapetis
ef9850166d Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"
svn-id: r30955
2008-02-24 16:12:47 +00:00
Filippos Karapetis
d9e3daae8f Removed 2 unnecessary calls to File::exists()
svn-id: r30952
2008-02-24 14:30:56 +00:00
Andrew Kurushin
040d8e10fe fix bug 1900244 "ITE: Strange animation when returning to prison cell"
svn-id: r30924
2008-02-23 14:42:46 +00:00
Filippos Karapetis
208c753215 Stop printing opcodes in the debug console
svn-id: r30923
2008-02-23 14:31:25 +00:00
Filippos Karapetis
3581257ceb Fix for bug #1900220 - "ITE: Missing text outline"
svn-id: r30920
2008-02-23 13:54:58 +00:00
Filippos Karapetis
638e23f37c Fix for bug #1900258 - "ITE: Glitch when looking at the map while at the docks"
svn-id: r30919
2008-02-23 13:36:40 +00:00
Max Horn
88bb567e18 Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
2008-02-15 17:01:35 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
356ae3b9ce Fix code formatting and grammar ;)
svn-id: r30819
2008-02-07 22:53:23 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Jordi Vilalta Prat
5165ff448d Converted the remaining engines to use MetaEngine
svn-id: r30728
2008-02-02 02:35:13 +00:00
Max Horn
dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
278857698d Possible fix for the errors under older versions of GCC (e.g. under BeOS)
svn-id: r30661
2008-01-27 16:52:50 +00:00
Filippos Karapetis
e431f827ec Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS)
svn-id: r30655
2008-01-27 15:54:16 +00:00
Filippos Karapetis
5b6dbecb62 Limit the number of simultaneous open files in IHNM to 7, down from 12. This is necessary for devices that can keep a limited amount of files open simultaneously, like the PSP
svn-id: r30648
2008-01-27 14:32:08 +00:00
Filippos Karapetis
c577c0ea81 Code simplification
svn-id: r30617
2008-01-22 21:55:14 +00:00
Torbjörn Andersson
4cbd3e6af8 Fixed a crash in the rat maze (reported on the forum) that made the game
uncompletable. I sense a great disturbance in the Force... as if millions of
voices cried out "ScummVM 0.11.1" and were suddenly silenced.

svn-id: r30562
2008-01-19 11:20:15 +00:00
Filippos Karapetis
b460e0880b Cleanup
svn-id: r30412
2008-01-11 14:27:07 +00:00
Filippos Karapetis
561a5a4b22 Fixed capitalization
svn-id: r30411
2008-01-11 14:22:46 +00:00
Filippos Karapetis
5abe3db577 Added support for the Italian fan translations of Inherit the Earth. The original DOS CD, DOS floppy and the Wyrmkeep multi OS re-release CD have been translated to Italian
svn-id: r30410
2008-01-11 13:48:06 +00:00
Filippos Karapetis
947608cd91 Changed an assertion to a warning
svn-id: r30369
2008-01-10 10:34:23 +00:00
Filippos Karapetis
1886d498ed Change an error to a warning
svn-id: r30363
2008-01-09 22:58:55 +00:00
Filippos Karapetis
29d1749db5 Added handling of home/end keys in input dialogs and properly filtered out non-alphanumeric keys
svn-id: r30358
2008-01-09 21:26:38 +00:00
Filippos Karapetis
4fb5f9274d Removed some obsolete defines
svn-id: r30320
2008-01-07 08:44:19 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Filippos Karapetis
063f7df4d3 Slight cleanup
svn-id: r30217
2008-01-04 13:34:38 +00:00
Filippos Karapetis
2bb81e2d20 Properly fixed bug #1861863 - "ITE: Crash when using Eeah with Eeah"
svn-id: r30195
2008-01-03 10:42:18 +00:00
Filippos Karapetis
6ed43e7505 Fix for bug #1861863 - "ITE: Crash when using Eeah with Eeah"
svn-id: r30181
2008-01-03 07:29:13 +00:00
Filippos Karapetis
a8d3967f63 Fix for bug #1861126 - "IHNM: Crash when Gorrister cuts sheet in the mooring ring"
svn-id: r30109
2007-12-31 22:45:30 +00:00
Filippos Karapetis
5b74b676ce Disable voices when voice files do not exist (like the original interpreter does), instead of exiting with an error. This is necessary for devices with little space
svn-id: r29956
2007-12-23 02:33:58 +00:00
Johannes Schickel
f483d7ce26 Cleanup.
svn-id: r29945
2007-12-21 20:45:25 +00:00
Neil Millstone
b4a661632e Fix compilation error on DS port (template expects parameters to be same type)
svn-id: r29941
2007-12-21 18:29:47 +00:00
Filippos Karapetis
18dd1881c5 Added some hard coded strings for the Italian fan translation of ITE (still not supported). Merged those strings with the hard coded strings for the Italian fan translation of IHNM
svn-id: r29933
2007-12-21 02:08:30 +00:00
Filippos Karapetis
aac7886ac9 Fix for bug #1851030 - "IHNM Spanish CD - Wrong Dialogs color"
svn-id: r29929
2007-12-20 19:17:00 +00:00
Filippos Karapetis
335e9da41d Removed clamp() and used the common CLIP template instead
svn-id: r29927
2007-12-20 19:00:10 +00:00
Filippos Karapetis
1e483cc857 Use CLIP template for clipping in the SAGA engine
svn-id: r29855
2007-12-13 20:10:13 +00:00
Filippos Karapetis
9ec7588e49 Fix for bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". The colors of the default palette in the Spanish version of the game are shifted by 1.
svn-id: r29828
2007-12-11 22:40:39 +00:00
Filippos Karapetis
fb7ec452d2 Make sure that text in message boxes in IHNM is always centered, regardless of language
svn-id: r29827
2007-12-11 22:36:05 +00:00
Filippos Karapetis
c84d9c1588 Fix to prevent having an incorrect sprite assigned to some objects in IHNM when those objects are dropped in the scene
svn-id: r29796
2007-12-09 15:43:08 +00:00
Filippos Karapetis
c07894bcea ioFailed() is now checked when saving a game
svn-id: r29767
2007-12-08 17:48:51 +00:00
Filippos Karapetis
1d458bae99 Possible fix for bug #1838622 - "IHNM: Benny can't help the boy". It seems the corresponding dialog option is too big in the Spanish version
svn-id: r29652
2007-11-27 23:10:32 +00:00
Max Horn
c8ce5b1865 Changed Audio::makeADPCMStream so that the stream passed to it can automatically be disposed
svn-id: r29517
2007-11-16 10:05:18 +00:00
Filippos Karapetis
71d54d1d36 Added a workaround for a problematic object in Gorrister's chapter (Edna's key)
svn-id: r29486
2007-11-12 19:49:42 +00:00
Filippos Karapetis
6e6a864c17 Don't draw objects with negative x/y values. Now, "ghost" objects are no longer created in the top left corner of the screen when picked up/used. The creation of such ghost objects is a script bug which exists in the original interpreter of IHNM as well. Also, removed a relevant workaround for the note in the first screen of Gorrister's chapter, as it's no longer needed
svn-id: r29477
2007-11-11 18:12:55 +00:00
Filippos Karapetis
e375e983ba Added a workaround for a bug in the original game scripts of IHNM with Edna, when the knife is used with her. Fixes bug #1826871 - "IHNM: Edna's got two hearts but loves to be on the hook"
svn-id: r29461
2007-11-09 17:06:22 +00:00
Sven Hesse
870ec35291 Fixing compilation for me by giving that file a closing newline
svn-id: r29457
2007-11-08 23:53:59 +00:00
Filippos Karapetis
398a26c6c4 Some tweaks to actorWalkTo() and actorEndWalk(). Also, moved all the actor pathfinding calculation code to a new file
svn-id: r29455
2007-11-08 23:39:58 +00:00
Filippos Karapetis
422e88aa20 Slight fix for off screen path calculation
svn-id: r29454
2007-11-08 23:35:46 +00:00
Eugene Sandulenko
83802f795b Several subtitles-related IHNM fixes. Still not perfect.
svn-id: r29427
2007-11-05 23:40:30 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Filippos Karapetis
87e2f43273 It's now possible to exit the screens with Gorrister's heart in IHNM normally (i.e by walking to the exit, not using it) - like the original
svn-id: r29349
2007-11-01 00:33:12 +00:00
Filippos Karapetis
5add473048 Fix for bug #1800147 - "ITE: Scummvm exits with Audio warnings"
svn-id: r29345
2007-10-31 20:26:57 +00:00
Filippos Karapetis
bb0bbdef57 The cause for bug #1804403 - "IHNM/ITE: Error loading Game resources (fs-node regression)" was fixed with commits #29327, #29328, #29329. Removed unneeded Amiga-specific code, which should finally fix this bug
svn-id: r29331
2007-10-30 22:20:02 +00:00
Filippos Karapetis
00e9ed51d9 The palette of the boss screen (F9 key) in IHNM is set correctly now
svn-id: r29279
2007-10-28 04:42:22 +00:00
Filippos Karapetis
3dd40b390c Fixed typo
svn-id: r29276
2007-10-28 04:23:51 +00:00
Filippos Karapetis
7e4ebb9d8e Cleanup
svn-id: r29275
2007-10-28 04:16:48 +00:00
Filippos Karapetis
fc85685099 Cleanup
svn-id: r29274
2007-10-28 04:14:52 +00:00
Filippos Karapetis
59f2a90a6f Cleanup of the engine detection code. Possibly fixes bug #1804403 - "IHNM/ITE: Error loading Game resources (fs-node regression)"
svn-id: r29273
2007-10-28 04:12:01 +00:00
Filippos Karapetis
01e88f1fbf The options panel in IHNM is now shown and functioning correctly when it's opened during a character's speech
svn-id: r29266
2007-10-27 17:55:50 +00:00
Filippos Karapetis
b225f01d14 Added a workaround for an incorrect hitzone in IHNM, (Gorrister's chapter). Now, the graffiti to the left in the toilet screen can be examined correctly. Also, performed some clean-up
svn-id: r29264
2007-10-27 11:42:17 +00:00
Filippos Karapetis
cc76fbee56 Added a workaround for a script bug in IHNM, which occurs in the original as well. An invisible note will no longer be created in the top left corner of the screen, when the note in the first screen of Gorrister's chapter is read
svn-id: r29247
2007-10-22 20:41:58 +00:00
Filippos Karapetis
a152ded458 When skipping a video from the introduction of IHNM, the screen fades out before skipping, like in the original
svn-id: r29246
2007-10-22 16:03:42 +00:00
Filippos Karapetis
abed92e2fa Removed the MD5 check of sfx.res for the English version of IHNM, since there are two English versions of the game with a different sfx.res file. Closes bug #1800226 - "IHNM: unsupported version"
svn-id: r29156
2007-10-06 18:53:47 +00:00
Filippos Karapetis
8ced5d58df Show the cursor when opening the options screen. Also, fixed a regression with some strings in the game interface
svn-id: r29151
2007-09-30 14:46:49 +00:00
Torbjörn Andersson
6cd700f776 Of course, that also means that 'slot' should be 3 characters, not 2.
svn-id: r29150
2007-09-30 14:32:21 +00:00
Torbjörn Andersson
44216e2837 Terminate the string used to hold the save slot number, or strange things may
happen. (In my case, it was looking for slot 10, 20, 30, ... instead of the
correct 1, 2, 3...)

svn-id: r29149
2007-09-30 14:31:47 +00:00
Filippos Karapetis
1717ab8ccd Some updates to the hard coded strings of the Spanish version of IHNM (thanks jvprat)
svn-id: r29148
2007-09-30 14:24:06 +00:00
Filippos Karapetis
0175cf13b2 Fixed the placement of the save game reminder icon in IHNM
svn-id: r29147
2007-09-30 13:47:09 +00:00
Filippos Karapetis
93a31a7b6b Removed all the unneeded hard coded strings from the Italian fan translation of IHNM, added the hard coded strings of the Spanish version of IHNM
svn-id: r29146
2007-09-30 13:37:05 +00:00
Filippos Karapetis
f002fcf98a IHNM does not have excuse texts
svn-id: r29145
2007-09-30 13:19:31 +00:00
Filippos Karapetis
939948766b Fixed bug #1804805 - "IHNM: crash/glitch with italian fan patch"
Added the Italian fan translation of IHNM, created a workaround for invalid string data in the Italian fan translation and added some hard coded strings which are changed in the original game executable with the Italian fan translation patch

svn-id: r29134
2007-09-30 01:29:12 +00:00
Torbjörn Andersson
44746d74a4 When skipping the IHNM intro, skip all the way to the character selection
screen.

svn-id: r29129
2007-09-29 06:26:22 +00:00
Torbjörn Andersson
bccf69bfe1 As far as I can tell, there's no point in setting sceneSkipTarget to true here.
There are no other scenes before it.

svn-id: r29128
2007-09-29 06:19:02 +00:00
Torbjörn Andersson
74ce7c620b Allow the user to change scalers, fullscreen mode, etc. without terminating the
IHNM intro. In other words, don't terminate the intro just because the user
presses a modifier key. The original didn't either.

svn-id: r29127
2007-09-29 05:46:57 +00:00
Andrew Kurushin
f50e162c25 remove _saveMarks from SAGA load and save implementation
svn-id: r29053
2007-09-23 15:53:49 +00:00
Eugene Sandulenko
9a9e9d21a8 Moved MemoryStreamEndian from Saga to Common.
svn-id: r29038
2007-09-23 09:59:10 +00:00
Filippos Karapetis
4333fafe76 Fix for bug #1800276 - "IHNM: Problem in saving". A bug in the logic of the save slot allocation algorithm became apparent with the FS node merge. It should be working correctly now
svn-id: r29031
2007-09-22 22:37:20 +00:00
Filippos Karapetis
7524244581 Added a workaround for a bug with Gorrister's heart, which exists in the original game scripts of IHNM
svn-id: r29024
2007-09-22 17:57:45 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Filippos Karapetis
8f729ddea0 Updated information about some global flags in IHNM
svn-id: r28961
2007-09-19 02:10:44 +00:00
Filippos Karapetis
7538fcbaef Removed a variable initialization out of a while loop
svn-id: r28959
2007-09-19 01:43:49 +00:00
Filippos Karapetis
67c33713aa Fixed regression: The ITE intro is shown correctly again
svn-id: r28958
2007-09-19 01:43:10 +00:00
Filippos Karapetis
f1091ec8bb Fixed some glitches which occured when closing the psychic profile in IHNM
svn-id: r28953
2007-09-18 23:15:48 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Filippos Karapetis
bf75630b42 Fixed the font height of the text in the help screens of the IHNM demo. Clean-up of some opcodes
svn-id: r28940
2007-09-18 16:46:32 +00:00
Filippos Karapetis
9b528826f8 Fixed Ellen's state when loading a saved game in her chapter
svn-id: r28938
2007-09-18 14:56:42 +00:00
Filippos Karapetis
57bbed1511 Gfx::palFade is implemented properly now
svn-id: r28937
2007-09-18 10:19:03 +00:00
Filippos Karapetis
d582e1c7a5 Fix for bug #1796045 - "IHNM: Spanish font wrong"
svn-id: r28936
2007-09-18 09:26:03 +00:00
Filippos Karapetis
5f05e7b64b Added a debug command for font mapping
svn-id: r28935
2007-09-17 23:32:25 +00:00
Filippos Karapetis
86b3c8ddeb Character with ASCII code 9 is tab
svn-id: r28934
2007-09-17 22:56:28 +00:00
Filippos Karapetis
390066d0a3 Save games from the character selection screen are loaded correctly from the command line now
svn-id: r28926
2007-09-16 12:42:25 +00:00
Max Horn
80386fbb02 Turn off unused code (fixing a compiler warning)
svn-id: r28925
2007-09-16 12:16:28 +00:00
Eugene Sandulenko
9778bec419 Fix bug when some animations were playing too fast.
svn-id: r28924
2007-09-16 11:37:14 +00:00
Eugene Sandulenko
dfde70d218 Fix warning
svn-id: r28923
2007-09-16 11:08:52 +00:00
Filippos Karapetis
990e9a7828 Script modules are now unloaded correctly when changing chapters in IHNM
svn-id: r28918
2007-09-16 04:22:52 +00:00
Filippos Karapetis
bd454d0c79 Fixed regression with save games that have an inset and an outset scene
svn-id: r28913
2007-09-16 03:20:10 +00:00
Filippos Karapetis
ec4503efde Don't draw the scene background when actors are disabled
svn-id: r28912
2007-09-16 01:38:23 +00:00
Filippos Karapetis
0bb109d59d Stop the intro music after the intro in ITE/IHNM is finished
svn-id: r28911
2007-09-15 16:54:22 +00:00
Filippos Karapetis
22ce3aa9e1 Slight cleanup of the actor class: moved all of the actor walk code in a new file and removed many unneeded includes
svn-id: r28908
2007-09-15 15:02:40 +00:00
Filippos Karapetis
e065980581 The sales info video for the IHNM demo is now shown when quitting the demo
svn-id: r28906
2007-09-15 12:57:11 +00:00
Filippos Karapetis
5fa2b1a3c5 Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
fef707a2dd The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door")
svn-id: r28903
2007-09-15 03:08:58 +00:00
Filippos Karapetis
1fa1b64984 Some more opcode simplifications
svn-id: r28902
2007-09-14 12:49:09 +00:00
Filippos Karapetis
c84ff65720 Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non needed check
svn-id: r28901
2007-09-14 12:42:47 +00:00
Filippos Karapetis
9d85371aa0 Cleanup and simplification of several of the script opcodes used in ITE and IHNM
svn-id: r28899
2007-09-13 17:55:00 +00:00
Filippos Karapetis
afb3c693be Added debug commands for the global flags in IHNM
svn-id: r28898
2007-09-13 15:49:40 +00:00
Filippos Karapetis
84393ab95e The early ITE demos were not interactive
svn-id: r28897
2007-09-13 11:21:23 +00:00
Filippos Karapetis
541b68e0e4 Removed an obsolete FIXME. The code in that part matches the original, so there doesn't seem to be any obvious reason for that FIXME
svn-id: r28891
2007-09-11 11:10:23 +00:00
Max Horn
4a4fc235f2 Change SAGA engine to properly use KeyState structs for handling keyboard input
svn-id: r28889
2007-09-11 09:19:23 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00