Commit graph

55 commits

Author SHA1 Message Date
Marcus Comstedt
52cf32cccc DC: Break out some common code into a shared file
Also, add some C++11 constructs for good measure.  :-)
2021-11-03 19:10:25 +01:00
Martin Gerhardy
a0c237f7b9 EVENTRECORDER: added new event for OSystem::getTimeAndDate 2021-07-09 19:23:21 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley
cbff0c4d35 DC: Attempt to fix compilation 2020-11-23 12:24:54 +00:00
Cameron Cawley
01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
Marcus Comstedt
a37a33c008 DC: Fix a compilation warning 2020-06-01 19:47:31 +02:00
Cameron Cawley
a404921a7e DC: Fix broken physical audio CD playback 2020-04-26 02:19:47 +01:00
Cameron Cawley
2048c9cc78 AUDIO: Remove unused parameter from the MixerImpl constructor 2019-11-30 17:47:34 +02:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
Bastien Bouclet
780db83e13 DC: Update for the engineId changes 2019-11-03 11:43:00 +01:00
Johannes Schickel
1cbab62211 DC: Fix compilation errors due to AudioCD changes. 2016-04-06 23:40:26 +02:00
Matthew Hoops
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 Hoops
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 Mallon
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