29868 Commits

Author SHA1 Message Date
Max Horn
f8d9e4fdcc SCI: Restructured PolledPlayerAudioStream::readBuffer a bit
svn-id: r39149
2009-03-06 07:25:15 +00:00
Max Horn
5e2ee01b39 SCI: Renamed lots of classes related to song iterators; allocate song iterators via new/delete instead of malloc/free
svn-id: r39148
2009-03-06 07:25:06 +00:00
Joost Peters
0c681f85a4 cleanup
svn-id: r39147
2009-03-06 00:41:46 +00:00
Max Lingua
188d8f4414 Removed the defined(__PLAYSTATION2__) case to re-enable extra paths for PS2.
svn-id: r39144
2009-03-06 00:28:39 +00:00
Max Lingua
344a4f5199 Added more ps2_* pseudo-posix entries for PS2 backend in
fs/stdiostream.cpp to properly support eof / clearerr.

svn-id: r39143
2009-03-06 00:26:48 +00:00
Max Lingua
5df197f579 Oops!
Forgot to commit backends/fs/ps2/ps2-fs.cpp in #36014
 (here it comes!)

svn-id: r39142
2009-03-06 00:24:18 +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
Greg Frieger
865b213439 - Change Resource::LRU to use Common::List
- Real patch filename stored and used instead of calling patch_sprintf_funct()
- some fprintf()s replaced with debug() and warning() 

svn-id: r39140
2009-03-05 23:27:02 +00:00
Greg Frieger
b7ad1cf1f2 Removed Resource.location_dir_name
svn-id: r39139
2009-03-05 22:28:00 +00:00
Greg Frieger
5e133bbf93 readResourcePatchesSCI0 and readResourcePatchesSCI1 merged. Some clean-ups
svn-id: r39138
2009-03-05 22:19:29 +00:00
Andre Heider
7ef3a59a2c don't crash if sound has been disabled or the backend driver failed to initialize.
svn-id: r39137
2009-03-05 21:50:01 +00:00
Travis Howell
e75178f383 Add minor verb code differences in Elvira 1/2.
svn-id: r39136
2009-03-05 21:38:17 +00:00
Max Horn
05b4370c21 Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions
svn-id: r39135
2009-03-05 20:37:53 +00:00
Sven Hesse
2017d1c9ea Added a missing NULLing
svn-id: r39134
2009-03-05 19:43:12 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Fabio Battaglia
cdc9f46bd9 sword1: removed custom checks for thumbnails, using graphics/thumbnail.h functions instead
svn-id: r39130
2009-03-04 12:44:55 +00:00
Johannes Schickel
7270c87919 Fix bug #2621207 "GUI: Debug console glitch".
svn-id: r39128
2009-03-04 12:28:23 +00:00
Filippos Karapetis
b594af5389 Enabled LoL for MSVC
svn-id: r39127
2009-03-04 12:00:03 +00:00
Johannes Schickel
efd7c2eac9 Ease conditional LoL compiling with build systems not based on the default one.
svn-id: r39125
2009-03-04 11:53:25 +00:00
Filippos Karapetis
565c075e3b Updated the MSVC project files for the SCI engine and the ScummVM common code with the latest changes
svn-id: r39124
2009-03-04 11:14:14 +00:00
Filippos Karapetis
f006f94914 Fixed compilation when ENABLE_LOL is not set
svn-id: r39123
2009-03-04 10:53:36 +00:00
Fabio Battaglia
f6028bc822 sword1: disable saving/loading through GMM when in game menu
svn-id: r39122
2009-03-04 10:39:12 +00:00
Fabio Battaglia
928a276c04 sword1: enable thumbnails when saving through GMM
svn-id: r39121
2009-03-04 10:33:29 +00:00
Max Horn
2a7eef19c0 SCI: Removed unused FEED_MODE_DEAD, extended FIXME comment for FEED_MODE_RESTART
svn-id: r39119
2009-03-04 08:04:28 +00:00
Max Horn
dbb59ce3a1 SCI: Merged polled player & PCMFeedAudioStream -> PolledPlayerAudioStream
svn-id: r39118
2009-03-04 07:59:33 +00:00
Max Horn
ce5c6f3a95 SCI: Added FIXME about Opl2 driver hardcoding sample rate. well, we probably should ditch that one and use our fmopl...
svn-id: r39117
2009-03-04 07:46:27 +00:00
Max Horn
ac2d012ae5 SCI: Merged sfx/mixer.cpp into sfx/player/polled.cpp
svn-id: r39116
2009-03-04 07:38:49 +00:00
Max Horn
e783859d5c SCI: Replaced sfx_iterator_make_feed and associated code by Audio::makeLinearInputStream
svn-id: r39115
2009-03-04 07:31:31 +00:00
Lars Persson
edc6cc642a Added capabilities to allow BT Mouse support
svn-id: r39114
2009-03-04 07:22:29 +00:00
Max Horn
0a206fb031 SCI: Use Audio::Timestamp instead of sfx_timestamp_t
svn-id: r39113
2009-03-04 06:58:51 +00:00
Max Horn
673a21b249 Added Audio::Timestamp class, based on SCI's sfx_timestamp_t; also provide a unit test for it, based on the old (and very outdated) timetest.cpp. To be used by Audio::Mixer one day...
svn-id: r39112
2009-03-04 06:58:28 +00:00
Max Horn
92eceb741a SCI: mixer cleanup
svn-id: r39111
2009-03-04 06:23:14 +00:00
Max Horn
59b374505f Fixed weirdness in groovie (as reported on scummvm-devel)
svn-id: r39109
2009-03-04 06:08:30 +00:00
Max Horn
66b78a81dd SCI: Moved script.cpp from scicore/ to engine/ (because its header file is there, and it seems its funcs are only called from stuff in engine/)
svn-id: r39108
2009-03-04 05:25:31 +00:00
Max Horn
900fdc514c SCI: Reduce header interdeps
svn-id: r39107
2009-03-04 05:22:29 +00:00
Max Horn
302a99a2c0 SCI: cleanup
svn-id: r39106
2009-03-04 05:19:19 +00:00
Max Horn
57e0d16112 SCI: Added TODO (rect_t should be replaced by Common::Rect), minor tweaks
svn-id: r39105
2009-03-04 05:09:35 +00:00
Max Lingua
51d25d0086 Removed stale READ_PS2.TXT
svn-id: r39104
2009-03-04 05:00:15 +00:00
Max Horn
2943234d6f SCI: Fix warnings
svn-id: r39103
2009-03-04 04:35: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
Johannes Schickel
3a35b5b5f2 - Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default.

(- Minor enum name fixes for Lands of Lore code.)

svn-id: r39099
2009-03-04 00:45:34 +00:00
Greg Frieger
bc3702dcdb - ResourceManager uses HashMap to store and access resource info.
- Changes and clean-ups in resource loading code.

svn-id: r39098
2009-03-03 23:07:06 +00:00
Florian Kagerer
3f2af1e8a1 LOL: implemented some walking code for the monsters
svn-id: r39097
2009-03-03 22:32:39 +00:00
Fabio Battaglia
1956c1c68f Added missing checkCd() execution when loading through GMM
svn-id: r39096
2009-03-03 21:33:45 +00:00
Fabio Battaglia
7fc8bb81a7 Enabled and hopefully fixed GMM saving/loading for sword1
svn-id: r39095
2009-03-03 20:05:00 +00:00
Torbjörn Andersson
ea4f25fd30 Renamed parameter to silence warning.
svn-id: r39094
2009-03-03 19:49:50 +00:00
Filippos Karapetis
0c37876830 Merged unpackDCL_hdyn() and unpackDCL() and removed some unused code
svn-id: r39093
2009-03-03 17:50:30 +00:00
Filippos Karapetis
a4e4de9ecd Fixed crash in SQ4
svn-id: r39091
2009-03-03 17:20:02 +00:00
Fabio Battaglia
5f13e5ebcd Cleaned up some comments
svn-id: r39090
2009-03-03 16:27:56 +00:00
Greg Frieger
cbb6f91967 SCI1: Improved color mapping when drawing line/box/text. Text with transparent background now displays correctly.
svn-id: r39089
2009-03-03 14:27:49 +00:00