Commit Graph
20 Commits
Author SHA1 Message Date
Marcus Comstedt 3e8a972602 DC: Specialize createConfig{Read,Write}Stream
Implement platform-specific variants of createConfigReadStream() 
and createConfigWriteStream(), instead of inheriting the BaseBackend 
definitions.  Nonstandard behavious is as follows: 
 
* createConfigWriteStream() always returns 0 (read-only filesystem) 
 
* createConfigReadStream() returns an empty MemoryReadStream instead 
  of NULL if scummvm.ini does not exist.  This is to make sure that 
  loadDefaultConfigFile() always clears out any old config data, as 
  I'll want to restart config parsing from scratch after a disc 
  swap.

svn-id: r51478
2010-07-29 19:11:49 +00:00
Max Horn 9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Marcus Comstedt f517f32902 RGB support.
svn-id: r44874
2009-10-10 14:26:53 +00:00
Max Horn 42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Marcus Comstedt 95f02dd86f Detected games with different language or platform are now
no longer treated as duplicates, even if they have the same
target and directory.  Also, pass these parameters to the
ConfMan, so that the correct version of the game is started.

svn-id: r41504
2009-06-13 23:42:39 +00:00
Marcus Comstedt bce96bd55d argv should not be modified; make it plenty const.
svn-id: r39591
2009-03-21 16:07:46 +00:00
Marcus Comstedt e3ca4afb59 Fixed some warnings.
svn-id: r39590
2009-03-21 15:47:45 +00:00
Marcus Comstedt 9890b34390 Moved hardware initialization to a constructor, to make it run really early.
svn-id: r39577
2009-03-20 22:55:42 +00:00
Marcus Comstedt 4952dd6661 Disable autosave (fixes [2516389]).
svn-id: r36106
2009-01-27 18:35:36 +00:00
Marcus Comstedt 3f22509321 New Mixer API.
svn-id: r32836
2008-06-29 11:51:47 +00:00
Marcus Comstedt d5e09de48c Added getTimeAndDate() implementation.
svn-id: r31027
2008-03-01 22:12:52 +00:00
Marcus Comstedt d531d42347 Use system call to return to DC boot menu rather than relying on exit()
to do the job.

svn-id: r30197
2008-01-03 13:28:04 +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
Max Horn 3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +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
Marcus Comstedt dde7244f2d Removed timerproc and soundproc.
svn-id: r24455
2006-10-22 18:35:49 +00:00
Marcus Comstedt fbb5a2d773 Modularization.
svn-id: r24453
2006-10-22 17:58:38 +00:00
Eugene Sandulenko e93787490b #include <base/engine.h> -> #include <engines/engine.h (Though I don't like
those angle brackets)

svn-id: r24178
2006-10-07 21:05:31 +00:00
Max Horn df5be19409 Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
svn-id: r24153
2006-10-07 01:05:12 +00:00
Marcus Comstedt 25f68b08ab Moved backends/dc into new platform directory.
svn-id: r23357
2006-06-30 20:21:42 +00:00