26900 Commits

Author SHA1 Message Date
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
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
Max Horn
3c48fb7eae Fix warning about missing virtual destructor
svn-id: r34433
2008-09-07 22:00:04 +00:00
Max Horn
4f9dc05731 Add a priority param to OSystem::addSysArchivesToSearchSet (still in search for a better name ;)
svn-id: r34432
2008-09-07 21:59:25 +00:00
Max Horn
d89f1a3daa oops
svn-id: r34431
2008-09-07 21:51:59 +00:00
Max Horn
10e342e37a Made File::addDefaultDirectory(Recursive) ignore FSNodes which are not dirs / are invalid, instead of erroring out
svn-id: r34430
2008-09-07 21:47:46 +00:00
Max Horn
abffd3b3ab Allow invoking FilesystemNode::getChild on non-dir nodes, by returning an invalid node in that case
svn-id: r34429
2008-09-07 21:47:01 +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
d48a57723a added two FIXMEs to M4 -- somehow, adding two subdirs of CWD named 'goodstuf' and 'resource' to the list of default dirs doesn't sound very sensible to me ;)
svn-id: r34426
2008-09-07 21:43:36 +00:00
Max Horn
2f30e5f63d Comment out some #defines in skydefs.h as they conflict with other headers (esp. T2 conflicts with some template defs)
svn-id: r34425
2008-09-07 21:38:53 +00:00
Max Horn
38a44f85ae Added new OSystem method addSysArchivesToSearchSet() [better name pending, suggestions welcome]
svn-id: r34424
2008-09-07 21:30:55 +00:00
Lars Persson
f6c4df8281 Symbian already store all paths with a trailing "\".
Quick fix waiting for proper solution

svn-id: r34423
2008-09-07 19:19:45 +00:00
Eugene Sandulenko
ede55b8117 Generate drascula.dat by the latest create_drascula
svn-id: r34420
2008-09-07 18:36:40 +00:00
Lars Persson
46c2c4300b Slightly updated built script. Faster?
svn-id: r34419
2008-09-07 18:30:07 +00:00
Lars Persson
87688f1044 Updated with two new variations, scumm and brokensword
svn-id: r34418
2008-09-07 18:28:58 +00:00
Lars Persson
864c2244f0 Set default save path via save manager.
Fix bug in symbian-fs GetChild function.

svn-id: r34417
2008-09-07 16:43:03 +00:00
Sven Hesse
f2ef3015f9 Added polish version of Woodruff, as supplied by goodoldgeorg in bug report #2098838
svn-id: r34415
2008-09-07 16:27:04 +00:00
Sven Hesse
07b59d1936 Added a spanish floppy version of Gob3, as supplied by SiRoCs in bug report #2098621
svn-id: r34413
2008-09-07 15:39:06 +00:00
Sven Hesse
7eaad9da66 Actually, /now/ the values are sane ^^; (also fixes Ween mouse position bug #2046244)
svn-id: r34411
2008-09-07 15:29:47 +00:00
Sven Hesse
a7d917ea43 Clipping setMousePos() parameters to sane values
svn-id: r34409
2008-09-07 15:21:52 +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
Lars Persson
b3a48455db Updated readme about usage of snprintf source
Added vsnprintf implementation.
Cleanout SymbianOS.cpp from old file functions.

svn-id: r34407
2008-09-07 13:40:30 +00:00
Lars Persson
5c903a8bcb H file cleanup, remove old vibra support
svn-id: r34405
2008-09-07 13:17:21 +00:00
Sven Hesse
d26982eaf2 Added another demo version of Gobliiins (bug #2098412)
svn-id: r34404
2008-09-07 13:16:58 +00:00
Lars Persson
aabf8ab1f4 Remove SYMBIAN special handing from default handler.
svn-id: r34403
2008-09-07 12:54:26 +00:00
Lars Persson
0d762f5260 Need to have own implementation of snprintf and vsnprintf.
svn-id: r34402
2008-09-07 12:39:56 +00:00
Lars Persson
951ab1878a Updated to include SymbianStream instead of StdioStream
svn-id: r34401
2008-09-07 12:38:35 +00:00
Lars Persson
c9262dd6e2 StdioStream implemented with Symbian file handling.
svn-id: r34400
2008-09-07 12:37:14 +00:00
Lars Persson
c4fcd2b578 Remove symbian defines from stdiostream.cpp
svn-id: r34399
2008-09-07 10:57:28 +00:00
Johannes Schickel
093431e88d Added hasArchive to SearchSet.
svn-id: r34397
2008-09-06 22:09:34 +00:00
Max Horn
6bfa3e274a Got rid of File::eof()
svn-id: r34396
2008-09-06 21:23:08 +00:00
Max Horn
7a7e710290 Clarified / fixed some Common::Archive doxygen comments
svn-id: r34394
2008-09-06 21:09:34 +00:00
Max Horn
4fd19a3378 Removed last traces of fopen / FILE from common/file.cpp
svn-id: r34393
2008-09-06 21:04:42 +00:00
Max Horn
1cecbebc49 Switched class File & DumpFile to use StdioStream internally
svn-id: r34391
2008-09-06 20:49:48 +00:00
Max Horn
0378201ec7 MT32 emu: eof -> eos
svn-id: r34390
2008-09-06 20:36:47 +00:00
Max Horn
088a1c0806 ScummFile: Don't use the File::_ioFailed flag, rather track the io status separately; also, changed eof() -> eos()
svn-id: r34389
2008-09-06 20:34:21 +00:00
Max Horn
f8bcb0782b Unlike ferror, our Stream::ioFailed() is also supposed to return true when the end of stream has been reached
svn-id: r34385
2008-09-06 17:00:50 +00:00
Max Horn
6cb09e311a Added some unit tests for Stream::readLine_NEW, and clarified that readLine_NEW is essentially fgets in disguise
svn-id: r34384
2008-09-06 16:46:28 +00:00
Lars Persson
5756308cec Portdefs cleanup, use snprintf from SDL and not sprintf (Which can cause memory overwrites).
Use bsearch implementation from WINCE port.

svn-id: r34382
2008-09-06 10:30:05 +00:00
Filippos Karapetis
a625e6cfae Added missing common/archive.*
svn-id: r34381
2008-09-06 08:37:03 +00:00
Travis Howell
123acb857e Add Wii version of SPY Fox 1.
svn-id: r34378
2008-09-06 07:03:38 +00:00
Travis Howell
52ec841cd4 Add debugInput opcode for HE 100 games.
svn-id: r34375
2008-09-06 01:02:45 +00:00
Max Horn
a5a50e8ab9 Added Chris to credits
svn-id: r34373
2008-09-05 22:16:29 +00:00
Max Horn
5bac6ed411 Updated some copyright strings to 2001-2008
svn-id: r34371
2008-09-05 22:14:43 +00:00
Max Horn
2cb285c9a0 Added simple ZipArchive class, and changed some GUI code to use it, instead of the ugly C API to the unzip code
svn-id: r34370
2008-09-05 22:12:46 +00:00
Willem Jan Palenstijn
b00f8dc2ed additional Common::String tests
svn-id: r34369
2008-09-05 20:53:30 +00:00
Max Horn
e994723e7c Some tweaks to help (?) OS/2
svn-id: r34368
2008-09-05 20:42:41 +00:00
Max Horn
0dcb30e75c Optimized matchString for the common case where there is a trailing * (if that is the case, abort immediately instead of scanning the rest of the string)
svn-id: r34367
2008-09-05 20:29:03 +00:00
Max Horn
e5c8ebf995 Fix class FSDirectory (matchPattern would call getAllNames would call matchPattern would call ...); some cleanup
svn-id: r34366
2008-09-05 20:26:36 +00:00