Marcus Comstedt
2001719241
MT32: Fixed compilation warnings
...
The conversion specification "%f" converts a double, not a float,
so floats need to be converted to doubles before passing them to
vprintf().
svn-id: r55175
2011-01-08 21:11:31 +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
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
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
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
Marcus Comstedt
40f9506163
The default keycolor for mouse pointers used to be 255.
...
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
2010-01-07 15:07:36 +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
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
b94c17488b
Added a rule for assembler with cpp preprocessing.
...
svn-id: r44871
2009-10-10 12:35:20 +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
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
Marcus Comstedt
64e75b91b7
Fixed a warning: printf("%f") should take a double, not a float.
...
svn-id: r40785
2009-05-22 17:15:39 +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
d2b163a66d
Fixed problem with building the Dreamcast port in the srcdir:
...
When srcdir is ".", GNU make strips ./ from the paths before putting
them into $+. This makes filtering out using the original paths not
work, so make sure the paths are absolute and not starting with ./
svn-id: r40630
2009-05-16 15:32:20 +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
ed24cf667b
Use -isystem instead of -I to include ronin stuff on Dreamcast (gets rid of some corny warnings).
...
svn-id: r39588
2009-03-21 15:21:24 +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
a591d65cc7
Include "scumm/scumm_v6.h" in some places where it is needed.
...
(Including "scumm/scumm_v8.h" is a no-operation if ENABLE_SCUMM_7_8
is not defined.)
svn-id: r39576
2009-03-20 22:33:45 +00:00
Marcus Comstedt
f66789984a
Removed garbage character from argument to sleep.
...
svn-id: r39575
2009-03-20 22:16:57 +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
e47e0242c9
Create a variable _host_alias defaulting to $_host_cpu-$_host_os, which is used to pick the cross compiler. This allows "special" hosts to override it.
...
svn-id: r39520
2009-03-18 21:07:28 +00:00
Marcus Comstedt
125a34c772
Moved the _build_{hq_,}scalers tests to after the host checks, because they may try to disable scalers on a per-host basis.
...
svn-id: r39519
2009-03-18 20:58:11 +00:00
Marcus Comstedt
cdc05e2ea5
tail on e.g. Solaris does not support the use of "-n 1". Use the good old "-1" syntax instead.
...
svn-id: r39497
2009-03-17 22:49:00 +00:00
Marcus Comstedt
6cc6603e9b
engines need to be listed before gui in MODULES, because stuff in libengines.a use stuff in libgui.a.
...
svn-id: r39496
2009-03-17 22:41:54 +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
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
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
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
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
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
Marcus Comstedt
e54ac15109
Solaris tr does not like character classes in some locales. Use "C" locale.
...
svn-id: r33143
2008-07-20 17:56:43 +00:00
Marcus Comstedt
32f653f2b1
Enable all engines.
...
svn-id: r32923
2008-07-05 22:53:17 +00:00
Marcus Comstedt
4b09d08292
Updated to use new EngineMan.detectGames() API.
...
svn-id: r32838
2008-06-29 12:10:38 +00:00
Marcus Comstedt
3f22509321
New Mixer API.
...
svn-id: r32836
2008-06-29 11:51:47 +00:00
Marcus Comstedt
7a9e911896
Set $(DEPDIR).
...
svn-id: r32832
2008-06-28 22:16:51 +00:00
Marcus Comstedt
affff7d395
Code cleanup.
...
svn-id: r31414
2008-04-05 23:30:12 +00:00
Marcus Comstedt
d5e09de48c
Added getTimeAndDate() implementation.
...
svn-id: r31027
2008-03-01 22:12:52 +00:00
Marcus Comstedt
4d45121ccf
Integrated fs factory into osystem object.
...
svn-id: r31024
2008-03-01 17:48:42 +00:00
Marcus Comstedt
964caae2dd
Moved Dreamcast filesystem factory to platform directory.
...
svn-id: r31021
2008-03-01 15:45:54 +00:00
Marcus Comstedt
4c117772bd
Implement exists(), isReadable() and isWritable().
...
svn-id: r30773
2008-02-03 17:02:51 +00:00
Marcus Comstedt
9302491e82
Use vmsfs_delete_file now that libronin supports it...
...
svn-id: r30772
2008-02-03 17:01:46 +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
Marcus Comstedt
ca6056ae21
Disable compilation of default savefile manager, to avoid having it pulled
...
in by --whole-archive when building with plugins.
svn-id: r30185
2008-01-03 07:51:55 +00:00
Marcus Comstedt
d157e47ec2
Remove -I$(srcdir)/common from include path (not needed anymore).
...
svn-id: r30184
2008-01-03 07:49:19 +00:00
Marcus Comstedt
1b8ed0b483
Updated build requirements.
...
svn-id: r30183
2008-01-03 07:33:01 +00:00
Marcus Comstedt
9f43e2cf8a
Use "new" framework for compressed saves...
...
svn-id: r29765
2007-12-08 15:11:20 +00:00
Marcus Comstedt
7f019cfdee
Fixed bug in glob matching function.
...
svn-id: r29764
2007-12-08 14:58:06 +00:00
Marcus Comstedt
9e8167b10c
* Added removeSavefile()
...
* New style listSavefiles() using a glob
svn-id: r29153
2007-10-03 22:04:36 +00:00
Marcus Comstedt
151e0cfa05
Provide dummy remove() function for DC...
...
svn-id: r29152
2007-10-03 21:50:20 +00:00
Marcus Comstedt
6bf0df51a1
Don't use clock(). Don't busy-wait.
...
svn-id: r28985
2007-09-20 12:47:04 +00:00
Marcus Comstedt
01ae76adea
KEYCODE_ENTER should be KEYCODE_RETURN, actually...
...
svn-id: r28972
2007-09-19 19:43:03 +00:00
Marcus Comstedt
2ef85c9bf6
displayName() -> getDisplayName()
...
path() -> getPath()
listDir() -> getChildren()
svn-id: r28971
2007-09-19 19:42:10 +00:00
Marcus Comstedt
14efdd1873
Fixed fallout from keycode being made an enum.
...
svn-id: r28970
2007-09-19 19:28:05 +00:00
Marcus Comstedt
7668ac231f
Include <graphics/surface.h> for Graphics::Surface.
...
svn-id: r28969
2007-09-19 19:26:12 +00:00
Marcus Comstedt
f64e20007f
Fixed bug 1711393.
...
svn-id: r26750
2007-05-05 12:32:52 +00:00
Marcus Comstedt
138b7bea41
Accept zlib format files as well when reading.
...
svn-id: r25690
2007-02-18 16:55:40 +00:00
Marcus Comstedt
2bb012701a
flush()->finalize()
...
svn-id: r25683
2007-02-18 11:48:10 +00:00
Marcus Comstedt
23a1efe628
Reintroduced non-static gameid() and description(), by popular(?) demand.
...
svn-id: r25239
2007-01-28 00:56:08 +00:00
Marcus Comstedt
42593cb977
DetectedGameList -> GameList.
...
svn-id: r25235
2007-01-27 22:59:31 +00:00
Marcus Comstedt
a9cd5f59b0
Made gameid() and description() const.
...
svn-id: r25234
2007-01-27 22:59:01 +00:00
Marcus Comstedt
17afeaa80e
delayMillis() should now cope with delays over 20 minutes without overflowing.
...
svn-id: r24456
2006-10-22 18:54:55 +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
Marcus Comstedt
43fac9ab3d
Check for degenerated rect in copyRectTo*.
...
svn-id: r24452
2006-10-22 17:32:04 +00:00
Marcus Comstedt
4342d61448
Added name() method.
...
svn-id: r23860
2006-09-10 09:10:30 +00:00
Marcus Comstedt
d71d5774ad
Include DCLauncherDialog.h from the new backend dir.
...
svn-id: r23360
2006-06-30 21:58:40 +00:00
Marcus Comstedt
25f68b08ab
Moved backends/dc into new platform directory.
...
svn-id: r23357
2006-06-30 20:21:42 +00:00
Marcus Comstedt
9b08aefbb3
Added a default icon for savegames.
...
svn-id: r22892
2006-06-03 16:00:53 +00:00
Marcus Comstedt
d4984908ec
Ignore bogus values of sizeimg in the header sanity check, it will get recomputed anyway.
...
svn-id: r22891
2006-06-03 15:42:15 +00:00
Marcus Comstedt
2f935da61f
Don't try to save settings on the Dreamcast, CD-ROM:s are read only...
...
svn-id: r22890
2006-06-03 15:34:48 +00:00
Marcus Comstedt
c42e5813af
FilesystemNode() does not create a valid node anymore, specify a path...
...
svn-id: r22889
2006-06-03 15:18:21 +00:00
Marcus Comstedt
e44e5d9be0
Add the new Dreamcast filesystem backend to the build.
...
svn-id: r22884
2006-06-03 14:13:37 +00:00
Marcus Comstedt
51e1438020
Separated the Dreamcast filesystem backend from the POSIX one.
...
svn-id: r22883
2006-06-03 14:09:04 +00:00
Marcus Comstedt
2795f743db
Cleaned up plugin_dist target, and added target "spotless".
...
svn-id: r22881
2006-06-03 14:05:51 +00:00
Marcus Comstedt
c319e97246
Put "path" config in game specific domain. Fixes bug #1475049 .
...
svn-id: r22343
2006-05-04 21:44:36 +00:00
Marcus Comstedt
5468059d44
Removed compilation error.
...
svn-id: r22282
2006-05-02 22:27:24 +00:00
Marcus Comstedt
aa7513d0d5
Implemented new InSaveFile methods.
...
svn-id: r22281
2006-05-02 22:26:26 +00:00
Marcus Comstedt
7242dc169c
Remove SCUMMVM_USE_LONG_INT from DC port.
...
svn-id: r21594
2006-04-04 19:05:50 +00:00