Commit graph

136 commits

Author SHA1 Message Date
Ori Avtalion
1a7e84f376 DC: Fix compilation 2011-04-28 20:55:00 +03:00
Marcus Comstedt
8a87429306 DC: Provide some feedback when loading plugins
Display the names of the plugins being loaded, and display amount
of free memory while doing so.  This should make it easier to spot
the case that too many engine plugins have been placed on the boot
medium.
2011-04-20 23:46:45 +02:00
Marcus Comstedt
21421d2e86 DC: Move dynamic plugin handling into the platform 2011-04-20 23:46:44 +02:00
Johannes Schickel
e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
Marcus Comstedt
106380d481 DC: Don't use $(VER_REV) with git
It seems unlikely that git will ever be able to produce a $(VER_REV)
of 6 characters or less (the requirement for the version field in
IP.BIN), so don't even try to use it.
2011-02-18 20:12:16 +01:00
Johannes Schickel
462f06d806 DC: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested, but should hopefully work fine.
2011-02-16 00:04:25 +01:00
dhewg
d794bfc4fa GIT: use git for describing the version. 2011-02-12 19:03:36 +01:00
Jordi Vilalta Prat
a422763833 BUILD: Remove explicit references to SVN in revision variable names.
svn-id: r55898
2011-02-12 16:43:57 +00:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Marcus Comstedt
910e2f0760 DC: Sync legacy makefile with recent changes
svn-id: r55173
2011-01-08 20:51:25 +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
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
Marcus Comstedt
710e41c3e8 DC: Check plugins for required symbols
Make sure that all the required symbols exist in generated plugins.
If not, the strip command may have removed them...

svn-id: r55144
2011-01-07 14:40:25 +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
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Marcus Comstedt
630127bc07 DC: Let scummvm.ini override autodetect of games
If a game CD has a scummvm.ini file with at least one game domain in
it, the normal autodetection is now bypassed and a menu of only the
games in the .ini file is presented instead.  The descriptions of the
games are taken from the .ini file, but icons are still scanned for
in the old fashion.

Note that previously ScummVM would read global options from the
scummvm.ini file on the boot disc (if present), but now global options
are instead taken from the scummvm.ini on the game disc (in case of
a disc swap).

svn-id: r51480
2010-07-29 20:37:56 +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
d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Max Horn
264d17ccc7 BUILD: Compile & link certain files only for specific BACKEND values
svn-id: r51465
2010-07-29 13:02:14 +00:00
Max Horn
703f0ca29c SYSTEM: Unify OSystem::getSupportedFormats() signature
svn-id: r49838
2010-06-15 12:21:08 +00:00
Andre Heider
a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Marcus Comstedt
e6619b5792 Ack, typo!
svn-id: r48352
2010-03-21 10:35:15 +00:00
Marcus Comstedt
487eebf9cf Autodetect long V numbers and shorten them.
svn-id: r48351
2010-03-21 10:34:10 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +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
Max Horn
c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +00:00
Max Horn
9fb27a26f8 Remove unnecessary #includes
svn-id: r48185
2010-03-08 10:28:14 +00:00
Torbjörn Andersson
9a85b1284b Silenced some more cppcheck style warnings.
svn-id: r47628
2010-01-28 05:20:52 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
81762edf33 Remove Igor engine
svn-id: r45898
2009-11-14 13:11:06 +00:00
Marcus Comstedt
87247d1e4d Made find_unused_pixel() take the transparency mask into account, not
counting palette colours of masked pixels as used.  Fixes transparency
on the new default icon.

svn-id: r45183
2009-10-17 11:35:49 +00:00
Jordi Vilalta Prat
a7cdad157e Update the Dreamcast icon
svn-id: r45180
2009-10-17 10:51:14 +00:00
Marcus Comstedt
8fd29ecf9f Fixed some warnings.
svn-id: r44877
2009-10-10 14:55:56 +00:00
Marcus Comstedt
fb4538dd2d Added flag for updating dependencies.
svn-id: r44876
2009-10-10 14:31:16 +00:00
Marcus Comstedt
6f9a4749d1 Enable RGB colour for Dreamcast.
svn-id: r44875
2009-10-10 14:30:19 +00:00
Marcus Comstedt
f517f32902 RGB support.
svn-id: r44874
2009-10-10 14:26:53 +00:00
Marcus Comstedt
1604212030 Makefile.common now requires us to set $(LD) as well...
svn-id: r44867
2009-10-10 11:42:41 +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
Max Horn
f54e82e488 Fix more cppcheck warnings/errors; some code formatting; and fixes to our tools
svn-id: r44539
2009-10-02 14:42:24 +00:00
Eugene Sandulenko
95c5d24044 Second attempt to fix DC and iPhone backends compilation
svn-id: r43651
2009-08-22 14:52:26 +00:00
Eugene Sandulenko
ad507d3387 Attempt to fix DC and iPhone backends compilation
svn-id: r43650
2009-08-22 13:34:38 +00:00
Marcus Comstedt
dc6fa53bad Create IP.BIN.
svn-id: r42825
2009-07-26 20:41:33 +00:00
Marcus Comstedt
415d0c5b03 Refresh the screen if pollEvent() is called without updateScreen() being called for a long time.
svn-id: r42139
2009-07-05 14:57:03 +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