Commit Graph

173 Commits

Author SHA1 Message Date
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Johannes Schickel
189b1ec62f Implement support for the Kyrandia 1 CD demo.
svn-id: r43737
2009-08-25 22:37:34 +00:00
Johannes Schickel
7661d82ace Some code for the intro only LoL demo. It is disabled currently though.
svn-id: r40187
2009-04-28 18:56:54 +00:00
Florian Kagerer
74fdcca04e LOL: startup fix for floppy version
svn-id: r39875
2009-04-06 17:09:02 +00:00
Max Horn
2d866c0483 Renamed Kyra's Resource::getFileStream to createReadStream
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
svn-id: r36020
2009-01-23 04:36:18 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
e4d2f58417 Cleanup.
svn-id: r35604
2008-12-29 13:59:35 +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
Johannes Schickel
282ebbb0e5 Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
svn-id: r34871
2008-11-01 12:49:29 +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
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
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
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
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
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
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Kari Salminen
f28b93e7c7 Fix compilation: Changed 'not' to '!'.
svn-id: r34057
2008-08-20 14:56:46 +00:00
Johannes Schickel
430977e438 Committed patch #2055831 "KYRA: ResFileEntry parent cache optimization".
svn-id: r34055
2008-08-20 14:30:40 +00:00
Johannes Schickel
7b87867a48 Formatting.
svn-id: r33879
2008-08-14 22:11:56 +00:00
Johannes Schickel
027e6c51a8 Improved version of my resource loading patch from -devel (check also r33876).
svn-id: r33878
2008-08-14 22:09:36 +00:00
Florian Kagerer
3fdc699411 LOL: add support for floppy installer files
(startup will fail nonethelesse since we have different pak file names)

svn-id: r33777
2008-08-11 14:47:50 +00:00
Johannes Schickel
e2e0b1393b Output errors on (some) missing files.
svn-id: r33635
2008-08-05 12:13:01 +00:00
Florian Kagerer
4c74db4463 add non-interactive lol demo
svn-id: r33556
2008-08-02 23:11:31 +00:00
Johannes Schickel
5e0df8ad8e Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
svn-id: r33463
2008-07-31 10:47:15 +00:00
Johannes Schickel
0ee152fbb9 - Fixed a valgrind waring
- Formatting
- Removed an assert

svn-id: r32575
2008-06-06 13:34:34 +00:00
Johannes Schickel
3be34f071f Added support for compressed kyra3 audio files.
svn-id: r32516
2008-06-03 18:12:21 +00:00
Florian Kagerer
0485fbfc5b - fix 'order of evaluation' bug (MSVC release build)
svn-id: r32467
2008-06-01 15:11:08 +00:00
Florian Kagerer
5b3a6fac63 - (hopefully) fix valgrind warning for installer file decompression
- some more pauseEngineIntern code for Hof

svn-id: r32462
2008-06-01 13:19:45 +00:00
Johannes Schickel
7d8a97b0af Added error calls when out of memory while uncompressing HoF installer files.
svn-id: r32449
2008-05-31 23:26:41 +00:00
Johannes Schickel
a47106e77d Cleanup.
svn-id: r32443
2008-05-31 22:18:36 +00:00
Florian Kagerer
7db0b2b5a1 cleanup
svn-id: r32441
2008-05-31 21:48:09 +00:00
Florian Kagerer
a9c9a5404d fix hof installer file loading
svn-id: r32440
2008-05-31 21:15:37 +00:00
Johannes Schickel
4ef680abaf - Fixed possible invalid memory access in Resource::loadFileToBuf
- Reworked compressed installer files handling
- Updated HoF installer file code (thanks to _athrxx for that)

svn-id: r32439
2008-05-31 20:48:41 +00:00
Florian Kagerer
48d3b34a75 - some pauseEngineIntern() code for the HOF sequence player (not tested)
svn-id: r32270
2008-05-25 13:30:18 +00:00
Johannes Schickel
6866a4e133 - Cleanup
- Added support for showing kyra.dat error messages in a dialog

svn-id: r32259
2008-05-24 22:44:15 +00:00
Johannes Schickel
0897a3a058 - Fixed mismatching malloc/delete[]
- More formatting fixes

svn-id: r32255
2008-05-24 19:18:17 +00:00
Johannes Schickel
85e6b8bb0f Formatting fixes.
svn-id: r32254
2008-05-24 19:07:44 +00:00
Florian Kagerer
ec3bc8f84d some cleanup (especially loads of strange casts)
svn-id: r32251
2008-05-24 17:34:20 +00:00
Torbjörn Andersson
398f7be356 Fixed errors, a few of the warnings, and added a FIXME comment about possibly
undefined behaviour.

svn-id: r32250
2008-05-24 17:08:35 +00:00