57 Commits

Author SHA1 Message Date
Christoph Mallon
6a9ab747f9 PS2: Remove the unused method OSystem_PS2::grabRawScreen().
This was removed from OSystem in b51f2f3212ae8a5abbdce4d947ec2d1cad1a0b6f.
2011-11-27 13:11:58 +01:00
Johannes Schickel
23dd778a16 BACKENDS: Fix PS2 backend compilation for real. 2011-07-01 23:36:35 +02:00
Johannes Schickel
12f38459e4 BACKENDS: Fix compilation of PS2 backend. 2011-07-01 23:10:48 +02:00
Max Horn
8ac63a37a8 PS2: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Max Horn
96aed4d057 PS2: Add missing semicolon 2011-06-06 17:01:11 +02:00
Max Horn
4f159dba90 PS2: Simplify OSystem_PS2::logMessage 2011-06-06 16:47:20 +02:00
Max Horn
c81e94b252 BACKENDS: Unify EventManager setup 2011-06-06 16:13:57 +02:00
Max Horn
4878b2b27b PS2: Add logMessage() implementation 2011-06-06 15:35:50 +02:00
Max Horn
c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.

Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn
afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
48bbdd1708 PS2: Fix various forbidden symbol clashes 2011-05-03 13:44:14 +02:00
Johannes Schickel
7ac3ae108a BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:24:37 +02:00
Johannes Schickel
46c5732ba5 PS2: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested.
2011-02-16 00:10:40 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
Max Horn
184c732bf6 PS2: Enable use of forbidden symbols
svn-id: r53969
2010-10-30 23:53:59 +00:00
Tony Puccinelli
6982aed8a4 made MIPSDLObject and PS2 plugin provider that uses it
svn-id: r51818
2010-08-07 00:40:15 +00:00
Tony Puccinelli
ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli
fb54698b37 loadable modules working for ps2
svn-id: r49617
2010-06-13 05:57:24 +00:00
Tony Puccinelli
d6b194aaa8 added tentative GDB flag to Makefile, changed calls to psp-functions to equivalent ps2-functions in ps2loader, minor rearrangement of code in systemps2
svn-id: r49530
2010-06-09 04:04:34 +00:00
Tony Puccinelli
7899532815 added dynamic plugins stuff to configure
svn-id: r49446
2010-06-06 00:47:21 +00:00
Tony Puccinelli
95e56f2052 merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
2010-06-05 01:05:19 +00:00
Max Horn
caf1a6bee4 Remove dead code from PS2 and GP2x backends
svn-id: r49374
2010-06-01 15:38:09 +00:00
Tony Puccinelli
e04b6b7ea0 changed ps2 makefile and other files to use the ps2loader
svn-id: r49368
2010-06-01 01:05:09 +00:00
Jordi Vilalta Prat
400542a1fe Revert the rest of 49362, which wasn't meant for trunk
svn-id: r49366
2010-05-31 23:04:30 +00:00
Tony Puccinelli
c9a38abf60 modifications to get the ps2 to use the ps2loader
svn-id: r49363
2010-05-31 22:41:46 +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
fc84e258b2 PS2: Add new PS2FileStream class for std I/O.
* Add new class PS2FileStream as substitute for class StdioStream on PS2
* Remove PS2 specific hacks from stdiostream.cpp / class StdioStream
* Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream

TODO: Merge class Ps2File into PS2FileStream

svn-id: r46111
2009-11-23 23:17:50 +00:00
Max Horn
9e5b8b4a33 PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()
svn-id: r45973
2009-11-18 13:59:36 +00:00
Max Horn
8549e48707 PS2: Fix warnings
svn-id: r44813
2009-10-09 10:05:45 +00:00
Max Lingua
36c2625f07 Here we have:
- dropped gBitFormat 

 - added extra param "const Graphics::PixelFormat *" to 

    OSystem_PS2::initSize

    OSystem_PS2::setMouseCursor

Note! To compile on SVN you will have (for now ;-) to create
few few empty folders by hand, note very elegant but will
keep you going until when we (ehm...) refine the PS2 Makefile.

Here comes the brute force script I use inside backends/platform/ps2

mkdir -p backends/platform/ps2
mkdir -p base
mkdir -p engines/scumm
mkdir -p engines/scumm/he
mkdir -p engines/scumm/imuse
mkdir -p engines/scumm/imuse_digi
mkdir -p engines/scumm/insane
mkdir -p engines/scumm/smush
mkdir -p engines/agi
mkdir -p engines/agos
mkdir -p engines/cine
mkdir -p engines/cruise
mkdir -p engines/drascula
mkdir -p engines/gob
mkdir -p engines/gob/demos
mkdir -p engines/gob/save
mkdir -p engines/gob/sound
mkdir -p engines/igor
mkdir -p engines/igor/parts
mkdir -p engines/kyra
mkdir -p engines/lure
mkdir -p engines/made
mkdir -p engines/parallaction
mkdir -p engines/queen
mkdir -p engines/saga
mkdir -p engines/sky
mkdir -p engines/sky/music
mkdir -p engines/sword1
mkdir -p engines/sword2
mkdir -p engines/touche
mkdir -p gui
mkdir -p graphics
mkdir -p graphics/fonts
mkdir -p graphics/scaler
mkdir -p graphics/video
mkdir -p graphics/video/coktelvideo
mkdir -p sound
mkdir -p sound/mods
mkdir -p sound/softsynth
mkdir -p sound/softsynth/opl
mkdir -p backends/events/default
mkdir -p backends/fs
mkdir -p backends/fs/amigaos4
mkdir -p backends/fs/ds
mkdir -p backends/fs/palmos
mkdir -p backends/fs/posix
mkdir -p backends/fs/ps2
mkdir -p backends/fs/psp
mkdir -p backends/fs/symbian
mkdir -p backends/fs/windows
mkdir -p backends/fs/wii
mkdir -p backends/keymapper
mkdir -p backends/midi
mkdir -p backends/plugins/dc
mkdir -p backends/plugins/posix
mkdir -p backends/plugins/sdl
mkdir -p backends/plugins/win32
mkdir -p backends/saves
mkdir -p backends/saves/default
mkdir -p backends/saves/posix
mkdir -p backends/saves/psp
mkdir -p backends/timer/default
mkdir -p backends/vkeybd
mkdir -p common

I know, you don't need all those "-p" but it looks more consistent ;-)

svn-id: r44683
2009-10-05 23:46:39 +00:00
Max Lingua
55cda3aa25 ScummVM/PS2 bugs fixed by this commit:
- general file write corruption (eg. ScummVM.ini, etc.)

 - COMI specific save crash / corruption
   (added option in engines/scumm/saveload.cpp to disable
    thumbnails on PS2, as emergency fallback in case the
    fix should prove to be insufficient)

 - implemented _screenChange logic
   (fixes grabOverlay & COMI popup menu)

 - fixed higher pitch (chipmunk fx)

 - made NET IRXs optional to allow it to work on fat PS2 without net+hd

 - fixed cursor restore on RTL

 - added "." as R2 to skip single lines of dialog

 - added write cache

svn-id: r42404
2009-07-12 05:38:08 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Lingua
6d87064950 Implemented _overlayFormat in Gs2dScreen
Modified PS2FSNode openForReading -> createReadStream
                   openForWriting -> createWriteStream

Started Common::EventManager *OSystem::getEventManager()
on backend side...

svn-id: r39141
2009-03-06 00:21:06 +00:00
Max Lingua
804910c422 - 0.13.x friendly ;-)
- new GUI/themes

- no more funky colors!

- load/delete saved games


- cleaned-up Makefile.PS2 :
- dropped multiple extra paths
- dropped deprecated deps (UCL, MPEG2)


- all possible devices are supported to store, play and save games:

- CD
- HD
- USB
- MC
- REMOTE ! (this could actually be anywhere on the internet
as long as you run "ps2client listen" on the machine on
the other side that hosts the games)


- tested from :
- ps2link
- uLE
- toxicOS


- tested with:
- bass
- bs1
- mi1
- comi
- indy4
- ft
- ite
- ihnm
- elvira1
- dig
- kyra
- lure
- simon2
- goblins1

Played all those games in 1 session using RTL. Very smooth,
sub-second RTL experience. No crash!


- new PAL/NTSC detection : we are now reading the flavor from PS2 ROM,
it should work on all PS2 slim too


- new PAL TV centering : no more missing chunk of games on top/bottom


- we can now read the savefiles from Linux/SDL and other backends!
if you add that you can read them from remote together with the
games that you already have there, you can imagine the fun ;-)


- we fully implement RTL with every games/engine


- we nicely reboot / shutdown on quit


- fully support for themes/savegames paths. Run from MC, play the
games on remote and store your data on USB or HD. No limits!


- universal write/read for every media (of course no write on CD/DVD!)


- fully async / DMA read-write access to every media (even MC!)


- optimized cache/read-ahead for every media - now COMI is fast and
enjoyable from remote as it is from CD ;-)


- non polluting MC storage, just 1 folder + 1 icon, so that you can
copy all your settings / saved games to another MC in one go!

svn-id: r39102
2009-03-04 03:55:00 +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
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
2009-01-23 03:30:40 +00:00
Max Horn
0034aa3b9c Got rid of several occurrences of gBitFormat
svn-id: r35995
2009-01-22 04:59:09 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +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
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Max Horn
0f74124d78 Committing PS2 changes on behalf of the other Max ;)
svn-id: r33089
2008-07-17 15:56:24 +00:00
Max Horn
3b1a60c3b2 Removed obsolete ::clearSoundCallback() code
svn-id: r32826
2008-06-28 15:13:54 +00:00
Robert Göffringmann
3b27b9fa43 the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.
svn-id: r31034
2008-03-03 00:41:59 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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