Commit Graph
45 Commits
Author SHA1 Message Date
Johannes Schickel 1cbab62211 DC: Fix compilation errors due to AudioCD changes. 2016-04-06 23:40:26 +02:00
Matthew HoopsandJohannes Schickel aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew HoopsandJohannes Schickel fb6fe1332a BACKENDS: Move to an openCD() without parameters as the public API 2016-03-13 13:52:24 +01:00
Johannes Schickel b4e5531352 DC: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Marcus Comstedt 66ad9e76ee DC: Silenced some stupid warnings 2014-01-10 15:56:52 +01:00
Matthew Hoops b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Christoph MallonandJohannes Schickel 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn c30018ef37 DC: Use OSystem's 'slots' for timer/savefile manager & fsFactory 2011-06-07 14:57:56 +02:00
Max Horn 72080d8972 DC: Allow use of all symbols 2011-06-06 23:04:32 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Max Horn ce32745d9c BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls 2011-06-04 11:55:56 +02:00
Max Horn 91b889e2d3 COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette 2011-06-04 11:55:56 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn d67e450f7a DC: Fix various forbidden symbol clashes 2011-05-03 11:56:10 +02:00
Max Horn 3d4e9fe674 BACKENDS: Allow various files to use stuff from time.h 2011-05-03 11:27:44 +02:00
Marcus Comstedt 21421d2e86 DC: Move dynamic plugin handling into the platform 2011-04-20 23:46:44 +02:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Marcus Comstedt 59945ac2d0 DC: Fix a compilation warning
svn-id: r55172
2011-01-08 20:34:54 +00:00
Marcus Comstedt 98e057603c DC: Implement logMessage()
svn-id: r55171
2011-01-08 20:33:07 +00:00
Johannes Schickel 7f533ba253 DC: Remove extra semicolon. (Should fix compiliation hopefully).
svn-id: r54753
2010-12-03 19:01:52 +00:00
Marcus Comstedt 878674809e DC: Implement getSystemLanguage()
svn-id: r54752
2010-12-03 18:57:20 +00:00
Marcus Comstedt 1ed5b5b353 DC: Adapted CDDA interface to the new standard.
svn-id: r54714
2010-12-01 19:57:23 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
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