aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource.cpp
AgeCommit message (Collapse)Author
2007-01-25Support for loading the correct EMC pak file in the FM-Towns version.Johannes Schickel
svn-id: r25190
2006-10-24Never unload files loat on startup like "CAVE.APK" and "LAGOON.APK". Johannes Schickel
svn-id: r24485
2006-10-24Fix for (reopened) bug #1582149 ("KYRA1: Crash when meeting Malcolm").Johannes Schickel
svn-id: r24480
2006-10-22Fix for bug #1582149 ("KYRA1: Crash when meeting Malcolm").Johannes Schickel
svn-id: r24462
2006-10-22Some AMIGA resource loading code (of course it's still not supported).Johannes Schickel
svn-id: r24461
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-09-16- enables pseudo unloading of loaded pak files (which reduces the loading of ↵Johannes Schickel
pak files on room changes) - uses Common::hashit_lower instead of scumm_stricmp for filename checking svn-id: r23896
2006-09-16Simplifies resource handling for the CD version of Kyrandia.Johannes Schickel
(also less file loading at startup, but more on room change) svn-id: r23887
2006-09-10Simplifies PAK file loading a bit.Johannes Schickel
svn-id: r23862
2006-09-09Renamed Resource::fileHandle() to Resource::getFileHandle()Max Horn
svn-id: r23853
2006-09-09Get rid of fsnode hackMax Horn
svn-id: r23852
2006-09-09Fix memory leakMax Horn
svn-id: r23848
2006-09-09Fixed warning.Torbjörn Andersson
svn-id: r23844
2006-09-09Fixed a bug in loadPakFile(), and changed PAKFile constructor so that it ↵Neil Millstone
doesn't load the entire file. svn-id: r23843
2006-08-29Init unitialised var.Johannes Schickel
svn-id: r23805
2006-08-28Makes sure FilesystemNode::name isn't used to open a file, use a regular ↵Oystein Eftevaag
filehandle name instead. svn-id: r23800
2006-08-28Removing an extra '!' in a warning message.Johannes Schickel
svn-id: r23799
2006-08-26Catalog the PAK files by base name instead of full path name so we can ↵Oystein Eftevaag
properly unload them. The method may be slightly hackish, but I don't see how else to do it since we apparently support recursive PAK files so the File object can't be instantiated directly using the FilesystemNode. It's this, or add a function to File that gives us just the base name of the file. svn-id: r23762
2006-08-08Little Common::String usage 'fix'.Johannes Schickel
svn-id: r23698
2006-07-31Yet more kyra3 init code.Johannes Schickel
svn-id: r23648
2006-07-30- fixes bug in fileData (introduced with last commit)Johannes Schickel
- show mouse cursor in Screen::setMouseCursor if it's allready shown - a little bit more kyra3 init stuff svn-id: r23623
2006-07-30- fixes copyright of kyra3.hJohannes Schickel
- implements a bit more init functions for kyra3 - removes hacked mouse cursor - changes Resource::fileData to accept a null pointer for size svn-id: r23622
2006-07-23String class usage cleanupMax Horn
svn-id: r23582
2006-07-22Changing usage of FSNode::displayName to FSNode::pathJohannes Schickel
svn-id: r23549
2006-07-20Using path instead of displayName.Johannes Schickel
svn-id: r23541
2006-07-16- don't error on CHAPTER1.VRM miss anymoreJohannes Schickel
- nicer error messages when no font files are found - implements nicer way to load fonts svn-id: r23531
2006-07-15Should fix loading of pakfiles.Johannes Schickel
svn-id: r23516
2006-07-15Adds filesize check for kyra.dat, this forces to upgrade always to the ↵Johannes Schickel
newest version though. svn-id: r23514
2006-07-15Get rid of some asserts and adds error messages instead.Johannes Schickel
svn-id: r23513
2006-07-15Little cleanup.Johannes Schickel
svn-id: r23512
2006-07-15Use the FS Api to load all .PAK and .APK files. (I just made a few quick ↵Johannes Schickel
tests, but before this should be integrated to branch-0-9-0 there should be a test for it on *every* platform, since I'm not quite sure if FilesystemNode::displayName is useable for this...) svn-id: r23511
2006-07-08- fixes some c/p errors from my last commitJohannes Schickel
- fixes embedded pak loading svn-id: r23425
2006-07-08Implements loading of 'westwood.001' for kyra3 (no need to run the installer ↵Johannes Schickel
anymore). (thanks to eriktorbjorn for his code to extract files from westwood.001) svn-id: r23423
2006-07-08Adds a message dialog if kyra.dat is missing which tells the user to ↵Johannes Schickel
download the kyra.dat file. svn-id: r23421
2006-06-03Changes some char* usage to Common::String.Johannes Schickel
svn-id: r22902
2006-06-03- Replaces usage of PAKChunk* with PAKChunk for Common::List, should solve ↵Johannes Schickel
some strange MSVC6 warnings/(errors). svn-id: r22900
2006-05-29Committed patch [ 1496602 ] KYRA: typo on Kyra2 file listOystein Eftevaag
, thanks to Bellut svn-id: r22729
2006-05-28- makes Screen::getPagePtr privateJohannes Schickel
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling) - moves KyraEngine::loadBitmap to Screen svn-id: r22716
2006-05-28Commits Chriliths patch for fixing Kyra on PalmOS.Johannes Schickel
svn-id: r22708
2006-05-28Kyra.dat wasn't being loaded for the kyra1 demo (which is needed). Fixed.Oystein Eftevaag
svn-id: r22696
2006-05-16- implements kyrandia 3 wsa loaderJohannes Schickel
- fixes initalisation problems - adds setX, setY, setDrawPage to Kyra::Movie instead of directly accessing _x, _y and _drawPage svn-id: r22490
2006-05-12- little cleanupsJohannes Schickel
- adds kyra3 dummies svn-id: r22425
2006-05-03- modifies loadBitmap not to crash if a image isn't foundJohannes Schickel
- starts to clean up the engine initalisation code svn-id: r22308
2006-05-01Adds archive file list, MD5 for my CD version, and a few function stubs for ↵Oystein Eftevaag
Hand of Fate, to use as a basis for further work svn-id: r22252
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-18Changed 'amiga' keywords to 'isAmiga' in the resource handling code to avoid ↵Oystein Eftevaag
#define conflicts svn-id: r21366
2006-03-18- started to rework static resource loadingJohannes Schickel
- made some function parameters const (to work with new static res code) svn-id: r21365
2006-03-14Gave the loadBitmap debug message its old debug level back. (I.e. made it lessTorbjörn Andersson
noisy.) svn-id: r21303
2006-03-14- Deletes wrong spaces in debugC calls in resource.cppJohannes Schickel
- Adds support for amiga .pak files (and a filelist) svn-id: r21299