Commit Graph

695 Commits

Author SHA1 Message Date
Max Horn
74bf578bda Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
03d4a6fa47 Removing obsolete comment
svn-id: r16401
2005-01-01 17:52:17 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
acd1f910d5 Handle SCUMMVM_SAVEPATH exactly like the command line option --savepath (but the command line option has higher priority); i.e. it's affecting the config system (see also bug #1045171)
svn-id: r16391
2004-12-30 21:48:22 +00:00
Max Horn
60deb4200b cleanup
svn-id: r16382
2004-12-30 14:13:14 +00:00
Travis Howell
d6547ea536 Compile fix from cyx
svn-id: r16366
2004-12-29 05:01:27 +00:00
Max Horn
b15d92e470 Fix running ScummVM in plugin-mode
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
2941d595bd Make loading the config file explicit
svn-id: r16317
2004-12-25 19:03:13 +00:00
Eugene Sandulenko
7606a53f09 Now it is possible to count MD5 only for specified amount of bytes from file.
It is useful for MD5'ing hunge files.

svn-id: r16259
2004-12-22 13:34:28 +00:00
Nicolas Bacca
486e711173 WinCE global domains are not needed anymore
svn-id: r16219
2004-12-20 23:58:40 +00:00
Nicolas Bacca
4e497117bd Add common include needed by WinCE
svn-id: r16217
2004-12-20 23:55:31 +00:00
Jonathan Gray
2909c8fff6 - Move MAXPATHLEN includes/defines into common location
- Save files are now stored in $HOME/.scummvm/ by default if no other
  save path is specified on non MacOS X unices.

svn-id: r16060
2004-12-15 12:30:58 +00:00
Max Horn
ede24fabe2 Patch #1083548 (common/list enhancement)
svn-id: r16046
2004-12-14 20:57:23 +00:00
Max Horn
1ded9cff77 Optimized List assignment operator, thanks to h00ligan
svn-id: r16042
2004-12-12 21:54:33 +00:00
Max Horn
9e4a529ef9 Hide iterator implementation details from client code
svn-id: r16041
2004-12-12 21:38:11 +00:00
Max Horn
41a7e6674c Remove the 24 bit read/write methods -- we don't use them anymore and they are weird anyway ;-)
svn-id: r16037
2004-12-11 23:50:39 +00:00
Max Horn
369e31a41c Modified version of patch #1082777 (common/stream optimization)
svn-id: r16034
2004-12-11 23:16:36 +00:00
Nicolas Bacca
cdf2eb2eb7 Update CE default savepath
svn-id: r16027
2004-12-11 00:39:27 +00:00
Chris Apers
1a5fa3e86f Moved to prefix file
svn-id: r16015
2004-12-10 15:19:53 +00:00
Max Horn
30039560a3 cleanup
svn-id: r15991
2004-12-05 23:24:43 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Max Horn
b78ac6a18b Make use of our String class instead of juggling with char pointers; added File::exists method
svn-id: r15913
2004-11-27 15:09:53 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Max Horn
8ac347fd95 Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, though :-)
svn-id: r15864
2004-11-22 23:25:08 +00:00
Eugene Sandulenko
0b3949389e Extend fopenNoCase with probe of capitalized files, such as Cave.mid.
svn-id: r15812
2004-11-14 21:10:50 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Max Horn
f6d9b66e21 For now, perform writing always in the current directory (the old code would just create a new file in the first place it was looking at when using the write mode, which definitely is not what we want in most cases)
svn-id: r15730
2004-11-07 17:20:32 +00:00
Torbjörn Andersson
1fa79b09de Got rid of ungetc() to save Chrilith from the trouble of implementing it
himself on PalmOS.

svn-id: r15616
2004-10-19 18:28:41 +00:00
Eugene Sandulenko
acf6e4a12f Accepted patch #1048693 -- Making File::gets() more well-defined.
svn-id: r15608
2004-10-18 21:22:10 +00:00
Eugene Sandulenko
2337d924ce Fix bug #1048129 which prevented eof() method from working.
svn-id: r15573
2004-10-16 18:40:06 +00:00
Eugene Sandulenko
54dc902ae4 Add gets() method to File class.
svn-id: r15572
2004-10-16 13:09:52 +00:00
Max Horn
ccb8d04f35 Clarify OSystem::setPalette documentation (thanks for pointing this out, LordHoto)
svn-id: r15562
2004-10-15 19:54:14 +00:00
Chris Apers
a34c7e4b81 Use compile.h as prefix file
svn-id: r15472
2004-10-08 13:38:14 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
3ef93e9e54 forgot to commit this, silly me :-)
svn-id: r15323
2004-09-28 12:11:00 +00:00
Max Horn
ab82837dcc Preserve the order of config file sections -> to suite people who manually edit the config file
svn-id: r15322
2004-09-28 12:10:49 +00:00
Max Horn
2c627a2018 Remove unused symbol
svn-id: r15321
2004-09-28 11:30:17 +00:00
Jonathan Gray
ae73d1a4ee use MAXPATHLEN for path buffer size
svn-id: r15319
2004-09-28 04:14:57 +00:00
Paweł Kołodziejski
a6486ad228 changed zlib support for msvc
svn-id: r15163
2004-09-18 11:48:17 +00:00
Paweł Kołodziejski
27946f1e86 fixed msvc compilation for __restrict__
svn-id: r15160
2004-09-18 10:25:49 +00:00
Max Horn
858153c4f7 Some type corrections
svn-id: r14896
2004-09-04 19:28:30 +00:00
Paweł Kołodziejski
0901b17828 fixed warning, updated msvc projects
svn-id: r14894
2004-09-04 14:53:14 +00:00
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Marcus Comstedt
3b2bf3c683 Make building scalers optional.
svn-id: r14784
2004-08-26 21:01:21 +00:00
Jonathan Gray
a3d531a9fd remove cast that produces a warning
svn-id: r14696
2004-08-23 05:53:41 +00:00
Eugene Sandulenko
796fdcdd2b Fix warning.
svn-id: r14692
2004-08-23 00:00:02 +00:00
Max Horn
759cd67de5 cleanup of TimerProc mess
svn-id: r14683
2004-08-22 13:27:34 +00:00