26967 Commits

Author SHA1 Message Date
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
Max Horn
2c20e138a2 Make use of String::matchString
svn-id: r34365
2008-09-05 20:08:29 +00:00
Max Horn
9bf7aa308e Moved matchString from util.* to str.*; added new String::matchString method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString
svn-id: r34364
2008-09-05 20:07:34 +00:00
Lars Persson
5388ecf722 Add symbian implementations to create read/write configfile handles
svn-id: r34363
2008-09-05 19:03:30 +00:00
Lars Persson
f88ad12952 Change location of create fs factory for Symbian!
svn-id: r34362
2008-09-05 18:49:13 +00:00
Lars Persson
2c36f00ff2 Remove usage of main_features.inl and the file
svn-id: r34361
2008-09-05 18:45:04 +00:00
Nicola Mettifogo
5c6e286c68 Made FSDirectory use the default matchPattern implementation.
svn-id: r34360
2008-09-05 18:28:25 +00:00
Nicola Mettifogo
87d67be832 * Implemented a default matchPattern for Archive subclasses (courtesy of Fingolfin).
* Fixed bug in FSDirectory::matchPattern.

svn-id: r34359
2008-09-05 18:24:41 +00:00
Torbjörn Andersson
0ae32fe32c Set the date for 0.12.0.
svn-id: r34357
2008-09-05 17:34:38 +00:00
Max Horn
9fc048a63f whitespace 'fix'
svn-id: r34356
2008-09-05 17:23:44 +00:00
Lars Persson
f01fc82f2e Enum needs to be minimum four chars to compile (32 bit number I guess)
svn-id: r34353
2008-09-05 14:11:23 +00:00
Travis Howell
4bb1decf79 Use exact case numbers, to avoid unneeded subtractions.
svn-id: r34352
2008-09-05 13:35:27 +00:00
Lars Persson
51e93cadbe ADded Tinsel as supported engine strings
svn-id: r34351
2008-09-05 13:13:51 +00:00
Lars Persson
207efcc359 Add missing dialogs.cpp
svn-id: r34350
2008-09-05 13:03:31 +00:00
Filippos Karapetis
6d4900ad06 Hopefully fixed the chaos with the SAGA volume values. This also fixes the broken volume introduced with the introduction of the RTL code in the engine
svn-id: r34349
2008-09-05 13:02:03 +00:00
Lars Persson
531ff7b33c Still need to get that build working. Readjust buildscript
svn-id: r34348
2008-09-05 12:53:43 +00:00
Lars Persson
fe3c9b0176 Updated build script with new dialog.cpp
svn-id: r34347
2008-09-05 12:30:19 +00:00
Lars Persson
80dd18a820 Updated filehandling for Symbian OS
svn-id: r34346
2008-09-05 12:02:15 +00:00
Max Horn
5308f12c75 Ported AMIGA specific file buffering 'hack' from class File to StdioStream
svn-id: r34345
2008-09-05 11:59:33 +00:00
Lars Persson
d98161fc05 Added two new files
svn-id: r34344
2008-09-05 11:55:58 +00:00
Nicola Mettifogo
12106a1599 Removed useless dependencies from common/file.h in common code. When complete removal was not possibile, dependency has been pushed to the cpp files from the headers.
svn-id: r34343
2008-09-05 11:41:39 +00:00
Lars Persson
5c0b91397d Updated Symbian OS file actions with ferror and fflush.
svn-id: r34340
2008-09-05 11:31:51 +00:00
Lars Persson
53f6725596 Updated package revision no to 0.13. Updated default engine list
svn-id: r34339
2008-09-05 11:09:29 +00:00
Lars Persson
1a258a36d0 Updated buildscripts to support tinsel
svn-id: r34338
2008-09-05 11:06:27 +00:00
Torbjörn Andersson
ba07d1dd0a Use readLine() instead of readLine_OLD().
svn-id: r34336
2008-09-04 21:40:32 +00:00
Max Horn
5409b2b456 Changed FSDirectory::getSubDirectory to return a FSDirectory pointer instead of a SharedPtr
svn-id: r34334
2008-09-04 20:03:08 +00:00
Sven Hesse
cf7ab829e3 Added another version of Lost in Time CD, as supplied by SiRoCs in bug report #2093672
svn-id: r34332
2008-09-04 19:20:51 +00:00
Sven Hesse
2ee6632d13 Ooops, adding Lost in Time and Woodruff
svn-id: r34329
2008-09-04 17:39:22 +00:00
Travis Howell
fa5f22944d Add missing case in o100_resourceRoutines.
svn-id: r34328
2008-09-04 14:12:27 +00:00
Joost Peters
3930783928 move save directory detection/creation from main() to OSystem_PSP::initBackend()
svn-id: r34326
2008-09-04 08:34:02 +00:00
Joost Peters
912684de2d remove deprecated SCUMMVM_SAVEPATH define -- pass default savepath to DefaultSaveFileManager ctor
svn-id: r34324
2008-09-04 08:16:39 +00:00
Travis Howell
7208a28980 Correct HE version for Wii version of Freddi Fish 1.
svn-id: r34323
2008-09-04 08:11:35 +00:00
Matthew Hoops
9cb70f6ba7 correct a typo (thanks to salty-horse)
svn-id: r34320
2008-09-03 21:37:19 +00:00
Johannes Schickel
6601e6ae7c Minor formatting cleanup.
svn-id: r34319
2008-09-03 19:07:38 +00:00