Johannes Schickel
c4a4ffc51b
Update scene number internally so it gets displayed correctly in the debugger.
...
svn-id: r35900
2009-01-18 16:21:30 +00:00
Johannes Schickel
094fca2207
When reverting to text only mode update the config manager settings accordingly.
...
svn-id: r35847
2009-01-13 18:11:11 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
ad2fc3ee90
Removed unused variable.
...
svn-id: r35618
2008-12-29 21:46:44 +00:00
Johannes Schickel
030de671b5
Reset screen dimension settings after closing menu.
...
svn-id: r35609
2008-12-29 14:44:06 +00:00
Johannes Schickel
8ea422f415
- Cleanup
...
- Implemented Screen_LoL::fprintString
svn-id: r35608
2008-12-29 14:37:51 +00:00
Johannes Schickel
6639ba726c
Extended some comments.
...
svn-id: r35606
2008-12-29 14:06:31 +00:00
Johannes Schickel
ce73425bef
Fixed character selection screen.
...
svn-id: r35605
2008-12-29 14:03:27 +00:00
Johannes Schickel
e4d2f58417
Cleanup.
...
svn-id: r35604
2008-12-29 13:59:35 +00:00
Florian Kagerer
d81782977e
LOL: - fixed some bugs in the main menu code (premature pak file unloading etc.) and added floppy support
...
svn-id: r35595
2008-12-28 22:09:31 +00:00
Johannes Schickel
1029c94c86
Oops added files I forgot in r35553.
...
svn-id: r35555
2008-12-26 11:07:52 +00:00
Johannes Schickel
5555ba9aaf
Fixed memory leak.
...
svn-id: r35554
2008-12-26 11:05:47 +00:00
Johannes Schickel
91de740d44
Implemented (some) main menu code for LoL.
...
svn-id: r35553
2008-12-26 11:04:45 +00:00
Johannes Schickel
fb14701b68
Cleanup.
...
svn-id: r35552
2008-12-26 08:35:36 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
e27110d3cc
Fixed yet another valgrind warning.
...
svn-id: r35535
2008-12-25 03:29:55 +00:00
Johannes Schickel
be777935f0
Fixed valgrind warning.
...
svn-id: r35534
2008-12-25 03:00:24 +00:00
Johannes Schickel
3f2e7a6cbf
Cleanup.
...
svn-id: r35451
2008-12-20 15:27:51 +00:00
Florian Kagerer
83194b2188
KYRA: fix mt-32 sysex loading for LOL floppy
...
svn-id: r35434
2008-12-19 07:32:08 +00:00
Florian Kagerer
5aec3bbc64
KYRA1: fixed Serpent Cave/Malcolm scene (where Brandon would instantly get killed without having a chance to grab the dagger)
...
svn-id: r35429
2008-12-18 21:21:09 +00:00
Johannes Schickel
dfc08c823d
Clean up cursor stack on engine quit properly.
...
svn-id: r35427
2008-12-18 20:22:49 +00:00
Johannes Schickel
d15022da78
Cleanup.
...
svn-id: r35424
2008-12-18 18:46:24 +00:00
Johannes Schickel
696ed52959
Switched kyra1 to use the same input functionality as kyra2 and kyra3.
...
svn-id: r35393
2008-12-16 17:40:34 +00:00
Johannes Schickel
c75c681175
Added code to initialize MT-32 properly for Lands of Lore.
...
svn-id: r35347
2008-12-14 00:23:46 +00:00
Johannes Schickel
2f1babd370
Whoops changed integer size of variables storing volume information, now volume of 256 should work as expected.
...
svn-id: r35303
2008-12-11 13:54:18 +00:00
Johannes Schickel
30507498b0
Midi code now allows volume values to be [0, 256] instead of [0, 255] like before, thus removed the clipping the old code used.
...
svn-id: r35302
2008-12-11 13:44:58 +00:00
Johannes Schickel
62d2955d9b
Cleanup.
...
svn-id: r35273
2008-12-07 13:41:00 +00:00
Johannes Schickel
c7c074895a
Prevent MIDI files from being load, when they are already loaded.
...
svn-id: r35272
2008-12-07 13:12:09 +00:00
Max Horn
b085afc451
Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
...
svn-id: r35240
2008-12-04 19:09:10 +00:00
Johannes Schickel
c517045349
Fixed some looping MIDI sound effects.
...
svn-id: r35193
2008-11-30 15:15:14 +00:00
Johannes Schickel
6fd1d462cf
Added MIDI SFX Map, fixes SFX in HoF.
...
svn-id: r35181
2008-11-30 05:11:40 +00:00
Johannes Schickel
2ebe04ac3e
- Extended MidiDriver::sysEx to allow 264 byte sysEx messages
...
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.
svn-id: r35180
2008-11-30 04:42:30 +00:00
Johannes Schickel
17a699a438
Cleanup.
...
svn-id: r35179
2008-11-30 02:54:39 +00:00
Johannes Schickel
1fc33dbae5
- Fix some valgrind warnings
...
- Added MIDI SFX support for Kyra2
svn-id: r35178
2008-11-30 02:47:20 +00:00
Johannes Schickel
8142873c6a
Implement fade out support for MIDI.
...
svn-id: r35177
2008-11-30 02:38:08 +00:00
Johannes Schickel
25172da444
Cleanup.
...
svn-id: r35175
2008-11-30 01:59:21 +00:00
Johannes Schickel
893a79b01d
Initial version of proper MIDI support for KYRA.
...
svn-id: r35174
2008-11-30 01:53:32 +00:00
Max Horn
a28b531ed0
Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
...
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel
bdbae740a6
Don't rename slots anymore when deleting them via the GMM.
...
svn-id: r35110
2008-11-18 15:41:14 +00:00
Florian Kagerer
57e7d5ef62
fixed bug
...
svn-id: r35102
2008-11-16 23:19:54 +00:00
Florian Kagerer
bf721ae682
cleanup
...
svn-id: r35101
2008-11-16 20:59:04 +00:00
Johannes Schickel
c4a7088c5b
Fixed valgrind warning.
...
svn-id: r35099
2008-11-16 20:46:18 +00:00
Johannes Schickel
2ef8a32a01
Fixed various g++ warnings ("format not a string literal and no format arguments").
...
svn-id: r35096
2008-11-16 20:20:31 +00:00
Florian Kagerer
a44994dc89
KYRA 1/2: more fixes for valgrind warnings
...
svn-id: r35093
2008-11-16 14:07:50 +00:00
Florian Kagerer
bd817c0341
(hopefully) fix valgrind warnings
...
svn-id: r35088
2008-11-15 19:08:35 +00:00
Florian Kagerer
06216866ac
svn-id: r35080
2008-11-15 13:00:46 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Vicent Marti
b98f89c7f0
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
...
Massive cleanup.
svn-id: r34983
2008-11-10 11:24:55 +00:00
Johannes Schickel
b9b7b85d54
Disallow overwriting of slot 0, quicksave and autosave slots.
...
svn-id: r34973
2008-11-09 20:20:22 +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
Johannes Schickel
85c1d35ae3
Error out on savegame load failure (again).
...
svn-id: r34953
2008-11-09 13:12:38 +00:00
Johannes Schickel
36de1204e3
- Implemented Engine::saveGameState for KYRA
...
- Changed internal save/load API to use slots instead of filename strings
- Changed internal save/load API to use Common::Error
svn-id: r34952
2008-11-09 13:00:40 +00:00
Johannes Schickel
f2174f5751
Implemented Engine::syncSoundSettings properly for MIDI output.
...
svn-id: r34948
2008-11-09 12:07:20 +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
Johannes Schickel
6eab0dcc6e
Preliminary support for loading via GMM for KYRA engine.
...
svn-id: r34885
2008-11-03 19:51:34 +00:00
Johannes Schickel
282ebbb0e5
Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
...
svn-id: r34871
2008-11-01 12:49:29 +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
Johannes Schickel
7d331b7341
Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
...
svn-id: r34837
2008-10-22 17:44:12 +00:00
Johannes Schickel
cd38ddc542
Cleanup.
...
svn-id: r34831
2008-10-21 11:42:08 +00:00
Florian Kagerer
e25265425d
- fix installer file support for Kyra 2 and 3
...
- fix bug in pc98 audio driver
svn-id: r34791
2008-10-13 06:29:14 +00:00
Max Horn
b41cd58cee
Renamed some MetaEngine feature flags; removed explicit numbers from this feature flag list (nothing should rely on their specific values, anyway); added a note that Engine::hasFeature should become independant of MetaEngine::hasFeature
...
svn-id: r34738
2008-10-04 13:09:01 +00:00
Johannes Schickel
d89ff31450
Cleanup.
...
svn-id: r34736
2008-10-03 18:23:57 +00:00
Johannes Schickel
f3469eae94
Check all 'kyra.dat' files in setup paths instead of only the first one found.
...
svn-id: r34735
2008-10-03 18:18:42 +00:00
Johannes Schickel
e417471177
Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
...
svn-id: r34734
2008-10-03 16:57:40 +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
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +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
Johannes Schickel
259d87a8a6
Added "querySaveMetaInfos" to MetaEngine.
...
-> Allows easy addition of save state specific infos like playtime, save date atc.
-> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
-> Changed SCUMM / KYRA to implement the newly added functionallity
-> Removed hack in KYRAs listSavefiles, which is now handled via meta infos
svn-id: r34581
2008-09-16 14:10:55 +00:00
Willem Jan Palenstijn
395536be6e
also check for premature end-of-stream when loading
...
svn-id: r34563
2008-09-15 19:34:06 +00:00
Johannes Schickel
c1458bd2bb
Fixed regression introduced with latest stream changes (it seems compressed savefiles ioFailed never returned true when only eos was set).
...
svn-id: r34551
2008-09-14 23:14:38 +00:00
Johannes Schickel
a4830d813e
Cleanup.
...
svn-id: r34545
2008-09-14 21:41:27 +00:00
Johannes Schickel
92fc264461
- Added thumbnail support to launcher load dialog.
...
- Adopted KYRA to support displaying thumbnails in load dialog (SCUMM engine has yet to follow)
svn-id: r34539
2008-09-14 21:00:24 +00:00
Johannes Schickel
48adf18e21
Added autosave support in Kyra.
...
svn-id: r34535
2008-09-14 19:48:40 +00:00
Johannes Schickel
20a7a9112f
Fix potentional bug in Screen::setResolution.
...
svn-id: r34533
2008-09-14 19:05:05 +00:00
Johannes Schickel
38097172e2
Typo.
...
svn-id: r34528
2008-09-14 16:48:20 +00:00
Johannes Schickel
eddae0e105
Fixed thumbnail creation / loading in kyra.
...
svn-id: r34527
2008-09-14 16:29:14 +00:00
Johannes Schickel
a716fe8393
Implemented opcode 151: o1_resetMaskRegion
...
svn-id: r34524
2008-09-14 15:36:16 +00:00
Johannes Schickel
fbbe535645
Fixed regression introduced with r34522. (Now games without 'cdaudio' config value set should startup again).
...
svn-id: r34523
2008-09-14 15:35:40 +00:00
Johannes Schickel
53cf9e6409
Only setup 'cdaudio' config default for FM-Towns/PC98.
...
svn-id: r34522
2008-09-14 14:58:37 +00:00
Johannes Schickel
9ec7c3eaca
Added a hack in KyraMetaEngine::listSaves to prevent slot 0 from being listed. Check comment for additional information.
...
svn-id: r34521
2008-09-14 14:08:14 +00:00
Johannes Schickel
ba58358c8d
Rename save slots in KyraMetaEngine::removeSaveState, so it matches behavior in GUI_v2::deleteMenu at least a little bit more.
...
svn-id: r34520
2008-09-14 14:01:24 +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
31c72ace1b
Fixed slot 0 savefile name in Kyra3. (Now using 'New game' instead of 'German')
...
svn-id: r34502
2008-09-12 12:25:56 +00:00
Johannes Schickel
0a35842954
Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
...
svn-id: r34495
2008-09-11 19:47:45 +00:00
Johannes Schickel
25d79f8918
Cleanup.
...
svn-id: r34484
2008-09-10 20:47:58 +00:00
Johannes Schickel
a54d1dbde6
Cleanup.
...
svn-id: r34481
2008-09-10 18:01:02 +00:00
Johannes Schickel
6fad6711d9
Changed static resource code to use Streams instead of operating on buffers.
...
svn-id: r34467
2008-09-09 18:09:46 +00:00
Florian Kagerer
2c0c67c08a
HOF: msvc8 compile fix (ARRAYSIZE used with run-time allocated array)
...
svn-id: r34454
2008-09-08 21:57:38 +00:00
Johannes Schickel
c5e049bce8
Made some filenames uppercase for consistency.
...
svn-id: r34452
2008-09-08 18:55:29 +00:00
Johannes Schickel
c6b6a99f2a
Fixed LoL file loading regression.
...
svn-id: r34451
2008-09-08 18:48:39 +00:00
Johannes Schickel
a8c4ffa93f
Changed priorities for search paths. (Just in case system specific data paths contain an outdated kyra.dat version)
...
svn-id: r34438
2008-09-07 22:41:57 +00:00
Johannes Schickel
06d57a54f3
- Fixed regression in Resource::unloadPakFile
...
- Changed priority value for OSystem::addSysArchivesToSearchSet call
svn-id: r34436
2008-09-07 22:35:13 +00:00
Johannes Schickel
bd10e674a3
Got rid of all Common::File usages in Kyra.
...
svn-id: r34435
2008-09-07 22:30:34 +00:00
Max Horn
3c48fb7eae
Fix warning about missing virtual destructor
...
svn-id: r34433
2008-09-07 22:00:04 +00:00
Johannes Schickel
7aaf6139e2
Moved Kyra resource code to a SearchSet/Archive based implementation, this removes dependencies on Common::File.
...
svn-id: r34428
2008-09-07 21:46:37 +00:00
Max Horn
f5462901b2
Temporary workaround for bug #2098279 : ALL: Game path with no trailing backslash fails
...
svn-id: r34408
2008-09-07 15:16:45 +00:00
Max Horn
6bfa3e274a
Got rid of File::eof()
...
svn-id: r34396
2008-09-06 21:23:08 +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