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
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
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
Florian Kagerer
0efebd9876
- add support for HOF floppy versions
...
- playing directly from installer files (WESTWOOD.00X) is supported (not recommended for low-end machines and certain ports)
svn-id: r32249
2008-05-24 16:30:18 +00:00
Johannes Schickel
289f96d37c
More naming consistency fixes (fixes old TODO).
...
svn-id: r32062
2008-05-12 14:52:18 +00:00
Florian Kagerer
771854bdd9
move some kyra 3 static resources to kyra.dat
...
svn-id: r32058
2008-05-12 13:35:58 +00:00
Johannes Schickel
bb03596744
- Renamed KyraEngine to KyraEngine_v1
...
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp
svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
4b5f3266cf
Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
...
svn-id: r31817
2008-05-02 14:46:30 +00:00
Johannes Schickel
103e944fa4
Output error message when kyra.dat initialization fails because of old version or missing entries.
...
svn-id: r31695
2008-04-24 15:49:41 +00:00
Johannes Schickel
7e12a50bed
- some minor renaming in TIM code
...
- added exists function to Resource
- started to add checks via exists to assure that important files are present
svn-id: r31572
2008-04-19 14:31:10 +00:00
Florian Kagerer
1d086550a7
- complete support for the playable HOF demo
...
svn-id: r31560
2008-04-18 19:11:58 +00:00
Johannes Schickel
6cd8eda9bd
Implemented support for Kyra3 TLK files.
...
svn-id: r31540
2008-04-17 16:38:26 +00:00
Johannes Schickel
6711a494a2
Improved searchpath support. (Should again detect everything Common::File is able to load).
...
svn-id: r31478
2008-04-10 22:18:47 +00:00
Florian Kagerer
22efb801d4
svn-id: r31431
2008-04-06 14:57:01 +00:00
Johannes Schickel
acb4bda9df
- Added support for filename length > 64 in static resource code.
...
- Updated warning when 'INDEX' is not found
- Added filesize check for 'INDEX' file
svn-id: r31368
2008-04-03 19:56:45 +00:00
Johannes Schickel
e29b4bb0cd
Committed shared pointer implementation of patch #1895703 "COMMON: Managed List".
...
Unlike the patch on the tracker this commit includes documentation for SharedPtr.
svn-id: r31287
2008-03-28 06:03:59 +00:00
Florian Kagerer
9cedcd059b
animations for inventory items and mouse pointers
...
svn-id: r31122
2008-03-15 00:16:11 +00:00
Johannes Schickel
cb36b056ba
Also add extrapath to default search location for Kyrandia resources.
...
svn-id: r30949
2008-02-24 12:30:12 +00:00
Florian Kagerer
753536fa61
committing patch 1891492 : dialogue (dlg/tim) support for HoF
...
- talking to NPCs is now possible.
- Zanthia's talks when entering a new scene for the first time now work
- using items on Zanthia is now possible.
svn-id: r30886
2008-02-17 02:06:04 +00:00
Johannes Schickel
b407420ebb
Committed patch #1885629 "KYRA: HoF missing talkie credits and demo support".
...
svn-id: r30845
2008-02-10 18:34:48 +00:00
Johannes Schickel
76182fbd59
Revised way of how archive files are mounted:
...
- file entries from protected archives do not get overwritten anymore
- preload indicator of archives will be unflagged, if embedded file entries are overwritten by other archives
svn-id: r30838
2008-02-09 16:18:44 +00:00
Johannes Schickel
bacdc6eff0
Revised checking if files can be load.
...
svn-id: r30837
2008-02-09 15:46:06 +00:00
Johannes Schickel
15f798d48a
Added filename check before header check when trying to detect archives types, this should lower the file i/o need a lot when starting up kyra2.
...
svn-id: r30835
2008-02-09 15:18:35 +00:00
Johannes Schickel
ae0b605ad4
Reworked Kyrandia resource loading code.
...
svn-id: r30820
2008-02-07 23:13:13 +00:00
Johannes Schickel
33a90c1e00
Commit patch #1869752 "KYRA: HoF startup patch for towns and floppy". (Slightly modified)
...
svn-id: r30645
2008-01-27 02:05:37 +00:00
Johannes Schickel
2dd6db4ca5
Commit slighty modified patch #1865509 "KYRA: kyradat support for hof".
...
svn-id: r30394
2008-01-10 23:25:19 +00:00
Johannes Schickel
9b4fc2f70b
Resolve portabillity issues introduced with last commit.
...
svn-id: r30201
2008-01-03 15:20:33 +00:00
Johannes Schickel
fbcba1a573
- got rid of hardcoding "KYRA.DAT" in all places, where it's used
...
- now using "kyra.dat" rather than "KYRA.DAT"
svn-id: r30200
2008-01-03 14:53:18 +00:00
Johannes Schickel
3ecc0bfda7
HoF:
...
- now uses "FILEDATA.FDT" to detect what PAK files have to be loaded for ingame use
svn-id: r29176
2007-10-09 05:40:20 +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
Johannes Schickel
1140fca82e
- Kyrandia 1 works again
...
- Added timer class for timer handling
- Little bit more resturcturing
- A little bit (almost nothing but a start!) Kyrandia 2 support
svn-id: r28297
2007-07-29 16:33:11 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
ad03c72bdb
Commit of patch #1715313 ("CORE: STL like algorithm implementation").
...
svn-id: r26929
2007-05-23 12:02:31 +00:00
Johannes Schickel
21b2c7bceb
Formatting/Cleanup.
...
svn-id: r26511
2007-04-15 16:41:20 +00:00
Johannes Schickel
397c10f059
made _vm/_engine usage consistent. (_engine -> _vm all over the place now).
...
svn-id: r26342
2007-04-01 13:10:50 +00:00
Johannes Schickel
2517960b3f
- more cleanup
...
- added some .pak file integrity checks
svn-id: r26264
2007-03-20 21:11:42 +00:00
Torbjörn Andersson
1987813f53
Another batch of header consistency changes.
...
svn-id: r25746
2007-02-20 17:33:54 +00:00
Johannes Schickel
6707dcbbb2
Fixed credits in FM-Towns version.
...
svn-id: r25417
2007-02-07 19:51:19 +00:00
Johannes Schickel
1bbad356ef
- adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)
...
- gets rid of GameFlags::hasAudioCD
svn-id: r25258
2007-01-29 18:15:14 +00:00
Johannes Schickel
3197cb6a23
Never unload files loat on startup like "CAVE.APK" and "LAGOON.APK".
...
svn-id: r24485
2006-10-24 00:56:10 +00:00
Johannes Schickel
a853696a5e
Some AMIGA resource loading code (of course it's still not supported).
...
svn-id: r24461
2006-10-22 20:08:23 +00:00
Johannes Schickel
06dde0650f
Fixed msvc8 build.
...
svn-id: r24053
2006-10-01 10:54:57 +00:00
Johannes Schickel
a8bc979364
- enables pseudo unloading of loaded pak files (which reduces the loading of pak files on room changes)
...
- uses Common::hashit_lower instead of scumm_stricmp for filename checking
svn-id: r23896
2006-09-16 20:51:05 +00:00
Johannes Schickel
854eac7f9b
Simplifies PAK file loading a bit.
...
svn-id: r23862
2006-09-10 13:16:34 +00:00
Max Horn
cfc52b5654
Renamed Resource::fileHandle() to Resource::getFileHandle()
...
svn-id: r23853
2006-09-09 17:14:47 +00:00
Oystein Eftevaag
610547acac
Makes sure FilesystemNode::name isn't used to open a file, use a regular filehandle name instead.
...
svn-id: r23800
2006-08-28 18:43:35 +00:00
Johannes Schickel
01b3a0b568
Yet more kyra3 init code.
...
svn-id: r23648
2006-07-31 16:37:34 +00:00
Johannes Schickel
1ad8d3ee6e
Adds filesize check for kyra.dat, this forces to upgrade always to the newest version though.
...
svn-id: r23514
2006-07-15 20:46:27 +00:00
Johannes Schickel
abdebd3bfd
- fixes some c/p errors from my last commit
...
- fixes embedded pak loading
svn-id: r23425
2006-07-08 14:25:23 +00:00
Johannes Schickel
57621c9245
Implements loading of 'westwood.001' for kyra3 (no need to run the installer anymore).
...
(thanks to eriktorbjorn for his code to extract files from westwood.001)
svn-id: r23423
2006-07-08 13:56:56 +00:00