Commit Graph

98 Commits

Author SHA1 Message Date
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
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Marcus Comstedt
f583a10ec9 Workaround for shells that treat an empty list in for as a syntax error...
svn-id: r40758
2009-05-21 12:46:39 +00:00
Marcus Comstedt
2bf25c3865 Micro-optimization: Don't re-strip plugins which are not modified.
svn-id: r40757
2009-05-21 11:49:47 +00:00
Marcus Comstedt
234828825a Ack, can't use something set with := in the dependency section. *sigh* New try.
svn-id: r40753
2009-05-21 10:14:05 +00:00
Marcus Comstedt
b973169a3d Added proper dependencies for the "plugin_dist" target.
svn-id: r40751
2009-05-21 09:56:55 +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
760133e8ca Added support for dynamic plugins on Dreamcast to the configure script.
svn-id: r39587
2009-03-21 15:15:29 +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
114d9f211c Initial support for building the Dreamcast port using the configure
script.  Dynamic modules are not supported just yet.

svn-id: r39524
2009-03-18 23:38:25 +00:00
Marcus Comstedt
f7a6e85863 Removed superfluous comma and namespace specifier.
svn-id: r39495
2009-03-17 22:19:11 +00:00
Marcus Comstedt
f5cb75e2e1 Removed superfluous semicolon.
svn-id: r39494
2009-03-17 22:18:33 +00:00
Marcus Comstedt
da142af5d4 Changed grabOverlay() and copyRectToOverlay() to use OverlayColor instead of int16.
svn-id: r39493
2009-03-17 22:09:33 +00:00
Johannes Schickel
49d90127b9 Removed OSystem_Dreamcast::fillScreen implementation after discussing it with Marcus.
svn-id: r38327
2009-02-15 23:01:27 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Marcus Comstedt
f90e4545c2 Merged r36175 from branch-0-13-0:
Fixed alpha blending in the UI dialogs by adding alpha
computation to the blendPixelPtr() function.  To minimize
impact, pre-multiplied alpha is assumed, meaning that the
blending of the R, G and B components is the same both
with and without hardware alpha.

svn-id: r36177
2009-02-01 14:56:19 +00:00
Max Horn
c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Marcus Comstedt
8aa122b157 Need graphics/colormasks.h for Graphics::createPixelFormat.
svn-id: r36108
2009-01-27 18:43:00 +00:00
Marcus Comstedt
4952dd6661 Disable autosave (fixes [2516389]).
svn-id: r36106
2009-01-27 18:35:36 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
94bfe1aa6f Get rid of the wrappers around the zlib stream wrapper wrappers ;)
svn-id: r36007
2009-01-22 23:14:16 +00:00
Max Horn
0034aa3b9c Got rid of several occurrences of gBitFormat
svn-id: r35995
2009-01-22 04:59:09 +00:00
Marcus Comstedt
326df55deb Enabled GROOVIE and TUCKER as well, as they are enabled by default by the standard configure script.
svn-id: r35812
2009-01-11 00:02:28 +00:00
Marcus Comstedt
3707e03d94 Enable IHNM.
svn-id: r35808
2009-01-10 23:09:03 +00:00
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Marcus Comstedt
d5115c0fc6 Use the new nifty defines DISABLE_TEXT_CONSOLE and DISABLE_COMMAND_LINE.
svn-id: r35363
2008-12-14 18:02:42 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Marcus Comstedt
727b220d25 In the CD filesystem, nothing can be opened for writing, so just
short-circuit any call to openForWriting().  Also, directories and
non-existing files can't be opened for reading either, so just
return 0 for those.

svn-id: r34621
2008-09-20 16:47:31 +00:00
Marcus Comstedt
a1072368de game.h is now in engines, not base.
svn-id: r34620
2008-09-20 16:38:50 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Max Horn
7f18aaf8ec Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
svn-id: r34304
2008-09-03 12:56:46 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
cb21c25e41 FSNode code: Merged most versions of lastPathComponent() into one new AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character
svn-id: r34197
2008-08-27 20:31:22 +00:00
Max Horn
3ec5658d00 code formatting cleanup
svn-id: r34096
2008-08-22 11:17:12 +00:00