Max Horn
57e724bfc3
Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; added a new alternate SeekableReadStream::readLine() instead
...
svn-id: r34315
2008-09-03 17:53:25 +00:00
Max Horn
c3d7c908e8
Modified Common::Str to use exponential growth for its storage; also changed the meaning of 'capacity' from 'max length of string' to 'size of storage' (i.e. added one)
...
svn-id: r34313
2008-09-03 17:39:18 +00:00
Max Horn
e1918341af
Changed Archive::openFile to return a SeekableReadStream* instead of a FilePtr
...
svn-id: r34312
2008-09-03 17:07:13 +00:00
Max Horn
18fb6348dd
clarified comment
...
svn-id: r34311
2008-09-03 17:06:24 +00:00
Max Horn
320a5dc99f
Moved StdioStream to its own files inside backends
...
svn-id: r34303
2008-09-03 11:49:02 +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
Max Horn
c350ffabf3
Added new AbstractFilesystemNode::openForReading & ::openForWriting method, based on StdioStream; changed FilesystemNode to use them
...
svn-id: r34301
2008-09-03 10:40:46 +00:00
Max Horn
8246582f5e
Added new StdioStream class, a thin wrapper around FILE
...
svn-id: r34300
2008-09-03 10:11:36 +00:00
Travis Howell
b0a4658038
Add Nintendo Wii versions of Freddi Fish 1 and Pajama Sam 1.
...
svn-id: r34290
2008-09-03 01:47:01 +00:00
Max Horn
3dc066e983
Change FilesystemNode::getChild to new desired behavior: namely, that it should return valid nodes even for names for which no child exists (yet?) -- mail to scummvm-devel pending
...
svn-id: r34284
2008-09-02 16:35:16 +00:00
Johannes Schickel
3ea8f70792
Handle OSystem::lockScreen fail in default OSystem::clearScreen implementation.
...
svn-id: r34276
2008-09-02 13:11:54 +00:00
Max Horn
31ce5eb496
Revised HashMap implementation
...
svn-id: r34273
2008-09-02 11:34:12 +00:00
Max Horn
155b8606c1
Added two new global funcs which ease proper handling of 'path' strings: Common::lastPathComponent() and Common::normalizePath()
...
svn-id: r34272
2008-09-02 11:32:38 +00:00
Max Horn
027ae0a6f6
First part of GSoC2008 RTL branch merge
...
svn-id: r34241
2008-09-01 17:30:03 +00:00
Johannes Schickel
2db5747642
- Added tests for newly added Common::Queue
...
- Changed Common::Queue::front and Common::Queue::back to return references instead of values
svn-id: r34240
2008-09-01 16:52:09 +00:00
Max Horn
572641d3cc
New Queue class, from RTL branch
...
svn-id: r34237
2008-09-01 10:54:03 +00:00
Johannes Schickel
db4599393f
Added newly added archive.cpp to the build system, just in case someone wants to play with the code and wonders about errors while linking.
...
svn-id: r34234
2008-08-31 23:11:55 +00:00
Nicola Mettifogo
9fb10e2540
* Added Archive, an interface for searching into file containers.
...
* Added FSDirectory, an Archive implementation that models a directory from the filesystem.
* Added SearchSet, an Archive implementation that allows searching multiple Archives.
See patch 2034983 on sf.net.
svn-id: r34227
2008-08-31 13:58:17 +00:00
Max Horn
e5f58ef5bf
Removed various uses of scumm_stricmp by the more readable String::equalsIgnoreCase and String:: compareToIgnoreCase
...
svn-id: r34198
2008-08-27 20:41:28 +00:00
Johannes Schickel
df5c0b6d0c
And for all of those who love recompiling most of ScummVM... fixed typo properly :-P
...
svn-id: r34188
2008-08-26 13:56:58 +00:00
Johannes Schickel
61f750832a
Fixed typo. (Thanks to salty-horse for spotting it).
...
svn-id: r34187
2008-08-26 13:51:26 +00:00
Max Horn
a79e9385a1
Unified member names in container/storage classes Array, HashMap and String: _storage, _size, _capacity
...
svn-id: r34052
2008-08-20 11:07:16 +00:00
Max Horn
47429f2197
Extended HashMap debug output
...
svn-id: r34051
2008-08-20 10:18:59 +00:00
Christopher Page
fcc00f20b9
Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33769
2008-08-10 21:58:18 +00:00
Max Horn
dca7116cb5
Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
...
svn-id: r33730
2008-08-09 23:07:32 +00:00
Max Horn
39d2c3bdad
If no default config file is present, just don't load it, instead of crashing
...
svn-id: r33729
2008-08-09 22:42:03 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33720
2008-08-09 19:03:29 +00:00
Kostas Nakos
71f4a15e4e
hotfix around drascula mem leak problems. see also bug report
...
svn-id: r33716
2008-08-09 18:12:43 +00:00
Christopher Page
2acbc2a88e
Merged revisions 33626-33627 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33629
2008-08-05 02:31:26 +00:00
Travis Howell
f7cc93f71a
Removed unneeded #includes.
...
svn-id: r33627
2008-08-05 00:27:25 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Lars Persson
476e5bbb10
List the correct engines in about,
...
updated actions with Lure (from WinCE).
Increased min heap size to 5MB
svn-id: r33618
2008-08-04 18:14:17 +00:00
Max Horn
4900a3e96e
Remove some code which was rendered obsolete by md5's commit r33610
...
svn-id: r33617
2008-08-04 17:46:22 +00:00
Filippos Karapetis
2efe13026d
Fixing compilation under MSVC
...
svn-id: r33610
2008-08-04 15:01:41 +00:00
Max Horn
05968b18c9
Modified DumpFile::open to accept non-existing nodes, and to actually open files in write mode -- d'oh
...
svn-id: r33609
2008-08-04 13:25:30 +00:00
Max Horn
5f4c9f913f
Turned InSaveFile & OutSaveFile into simple typedefs
...
svn-id: r33606
2008-08-04 11:38:25 +00:00
Max Horn
99f546caad
Moved the OutSaveFile::finalize method to WriteStream; implemented DumpFile::flush()
...
svn-id: r33604
2008-08-04 11:30:47 +00:00
Max Horn
4d5df949c7
FilesystemNode code: some comment cleanup; added FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File)
...
svn-id: r33590
2008-08-03 18:35:51 +00:00
Max Horn
fe9323ae57
Implemented DumpFile::open(FSNode)
...
svn-id: r33586
2008-08-03 18:11:27 +00:00
Max Horn
b54a1227d9
OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
...
svn-id: r33585
2008-08-03 17:05:01 +00:00
Max Horn
6377b8bdd5
New OSystem API for loading/storing default config file
...
svn-id: r33584
2008-08-03 16:54:18 +00:00
Max Horn
9034ce2a7c
Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'
...
svn-id: r33550
2008-08-02 22:32:32 +00:00
Johannes Schickel
342d0bd287
- Added Common::mem_fun_ref for object references instead of pointers.
...
- Added simple tests for a little bit functionallity from common/func.h
svn-id: r33470
2008-07-31 13:36:13 +00:00
Max Horn
278a5fbb57
This time properly reverted my accidental commits of the osystem&configman patch (I didn't mean to commit it in the first place, still waiting for any replies to my corresponding scummvm-devel mail). Sorry for messing up so badly
...
svn-id: r33459
2008-07-30 16:26:38 +00:00
Nicola Mettifogo
55e4eb8d15
Fixed Win32 build, after Fingolfin's commits (probably because of the revert in revision 33456).
...
svn-id: r33458
2008-07-30 16:06:46 +00:00
Max Horn
9e4bc56861
Simplify/optimize/cleanup detectGameFilebased further
...
svn-id: r33457
2008-07-30 15:48:16 +00:00
Max Horn
4632a33087
Revert my accidental commit of the OSystem changes (oops)
...
svn-id: r33456
2008-07-30 15:44:34 +00:00
Max Horn
fbe4f0dd48
Simplified advanced detector file sys scanning code
...
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
04c05d3ca0
Advanced detector: split out part of detectGame into a new function detectGameFilebased; some cleanup
...
svn-id: r33453
2008-07-30 15:16:57 +00:00
Nicola Mettifogo
aa2ffe047b
Reordered initialization order to kill a ton of warnings.
...
svn-id: r33452
2008-07-30 15:01:15 +00:00