Andrew Kurushin
9f2e7d5ff5
SAGA: fix gcc size_t warns
...
svn-id: r53722
2010-10-22 23:33:56 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
...
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X
svn-id: r53719
2010-10-22 23:13:17 +00:00
Andrew Kurushin
521eb95aea
SAGA: fix gcc warn
...
svn-id: r53679
2010-10-21 22:35:57 +00:00
Andrew Kurushin
8b72f49460
SAGA: replace Script and Thread "::*alloc" & "::free" with Common::Array
...
svn-id: r53678
2010-10-21 22:32:50 +00:00
Andrew Kurushin
c1505d6e51
SAGA: unroll IsoMap::drawTile buffer copy loop; refactor Sprite::drawClip
...
svn-id: r53677
2010-10-21 20:13:25 +00:00
Max Horn
d8c1251f88
SAGA: Fix warning: comparison of unsigned expression < 0 is always false
...
svn-id: r53660
2010-10-20 23:58:34 +00:00
Andrew Kurushin
d97d21e029
SAGA: replace Sprite "::*alloc" & "::free" with Common::Array
...
svn-id: r53658
2010-10-20 22:02:33 +00:00
Andrew Kurushin
1bd1a253f0
SAGA: replace Font "::*alloc" & "::free" with Common::Array
...
svn-id: r53656
2010-10-20 21:23:02 +00:00
Andrew Kurushin
6be5d2554d
SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of memory for every string table
...
svn-id: r53651
2010-10-20 20:53:32 +00:00
Torbjörn Andersson
28a98c7416
SAGA: Silence warning
...
svn-id: r53632
2010-10-20 03:54:33 +00:00
Andrew Kurushin
e4029f6f0e
SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
...
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4
SAGA: replace Actors "::realloc" with Common::Array
...
svn-id: r53627
2010-10-19 21:40:24 +00:00
Andrew Kurushin
0e7abce271
SAGA: fix submit 53486 "Added sanity checks for realloc() calls - bug report #3087852 ". zero count realloc may return NULL as valid value
...
svn-id: r53614
2010-10-19 15:31:07 +00:00
Filippos Karapetis
c1e47e0e60
SAGA: Added sanity checks for realloc() calls - bug report #3087852
...
svn-id: r53486
2010-10-15 12:56:17 +00:00
Max Horn
4ccce19876
ENGINES: Enhance namespace comments a bit
...
svn-id: r53484
2010-10-15 12:48:19 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Eugene Sandulenko
8dca57e4e9
SAGA: Fix bug #3065113 with patched sound glitch
...
Bug #3065113 : "ITE demo: patched sound at intro is not played correctly"
svn-id: r52975
2010-10-02 09:08:05 +00:00
Torbjörn Andersson
30db851ef0
SAGA: Fix wrong logo animation in some versions of ITE
...
Not all releases put the Wyrmkeep credits patch in a "graphics"
sub-directory, so assume it could be anywhere.
svn-id: r52930
2010-09-28 18:55:54 +00:00
Torbjörn Andersson
2d82cc385d
SAGA: Fix an ITE intro regression
...
(Possibly related to bug #3076822 - ITE: Dialog repeats in intro.)
The p2_a.voc patch file wasn't played. This was because the engine
first loaded p2_a.voc as a replacement for voice resource 4. Then it
tried to load p2_a.iaf and, when it failed, removed the patch data
for the very same resource. Now it only tries to read a patch if it
hasn't already found a patch for the resource. (There may have been a
similar bug in the end credits as well.)
svn-id: r52928
2010-09-28 18:15:25 +00:00
Torbjörn Andersson
5d1e26d804
SAGA: Initialise _driverType
...
svn-id: r52922
2010-09-28 04:53:38 +00:00
Filippos Karapetis
64f1fc2323
SAGA: Fixed bug #3068840 - "ITE: ScummVM crashes when talking on the ferry"
...
svn-id: r52799
2010-09-19 08:18:25 +00:00
Torbjörn Andersson
c91a07229a
JANITORIAL: Removed most punctuation at end of warning() and error()
...
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
2010-09-18 10:55:16 +00:00
Johannes Schickel
6588398ce6
MIDI: Send a reset MIDI device signal on startup.
...
This is currently done in the engine code. I adapted AGI, AGOS, DRACI,
GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset
device on startup. The sound output still works fine (started up a game
from every engine), so this should hopefully not introduce any regressions.
As far as I can tell it seems that SCUMM does send a proper device reset, so
I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am
not sure about SCI though.
This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI".
svn-id: r52736
2010-09-15 22:00:20 +00:00
Willem Jan Palenstijn
c81f009e8f
SAGA: Fix audio flags for VOC sounds
...
This is a regression from r43470 and fixes the speech in the intro.
Bug #3065113 .
svn-id: r52727
2010-09-14 22:16:31 +00:00
Eugene Sandulenko
a9d9471357
SAGA: fix warning
...
svn-id: r52150
2010-08-17 11:02:02 +00:00
Max Horn
1d4c82885d
DEBUGGER: Simplify how our console debugger works / is used
...
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
document it.
* Add more doxygen comments
* Cleanup
svn-id: r50963
2010-07-17 18:38:42 +00:00
Torbjörn Andersson
aa631a64dc
Removed unused variable. I believe thread->_instructionOffset serves the same
...
purpose that 'addr' was inteded to.
svn-id: r50951
2010-07-16 23:23:30 +00:00
Torbjörn Andersson
ae1afee564
The standalone MIDI files for one of the re-releases of Inherit the Earth are
...
General MIDI, not MT-32. (I hope this doesn't break anything else.)
svn-id: r50927
2010-07-16 03:32:59 +00:00
Torbjörn Andersson
3cb59d237e
Don't close the MIDI driver twice. It's unnecessary, and some of our drivers
...
may crash. (The ALSA one did, until a few minutes ago.)
svn-id: r50871
2010-07-14 04:34:57 +00:00
Max Horn
00dfb4db29
SAGA: Fix warning on systems where enum's are unsigned
...
svn-id: r50685
2010-07-05 16:08:43 +00:00
Florian Kagerer
c35e350531
AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
...
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Filippos Karapetis
cccfed3ba3
Cleanup
...
svn-id: r50004
2010-06-18 02:30:19 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Eugene Sandulenko
44a39ffbc6
AdvancedDetector: Add new parameter directoryGlobs.
...
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
9d4d191baa
SAGA: fix timers.
...
Second parameter to intallTimerCallback is in _micro_seconds.
Correct calls which assumed milliseconds.
svn-id: r49771
2010-06-15 10:50:49 +00:00
Eugene Sandulenko
fa2b0a0dd2
SAGA: Fix bug #2827504 .
...
Bug #2827504 : "ITE: Music restarts on every background change in
credits". We errorneously were stopping music on each scene,
though it appeared only with Adlib music.
svn-id: r49728
2010-06-15 10:26:29 +00:00
Eugene Sandulenko
51c22b39c8
SAGA: Fix bug #2928923 .
...
Bug #2928923 : 'ITE: Graphic Glitches during racoon death "Cut Scene"'.
Disable actor drawing for these scenes. A long standing bug in
original.
svn-id: r49727
2010-06-15 10:26:10 +00:00
Eugene Sandulenko
fead2bb719
SAGA: Fix bug #2886130 .
...
Bug #2886130 : "ITE: Graphic Glitches during Cat Tribe Celebration".
We redraw statusbar for this scene. Bug in original.
svn-id: r49726
2010-06-15 10:25:50 +00:00
Eugene Sandulenko
d1c34efad9
SAGA: Fix bug #2886141 .
...
Bug #2886141 : "ITE: Cumulative Snoring sounds in Prince's Bedroom".
Implemented safeguard against running same looped sound more
than once.
svn-id: r49725
2010-06-15 10:25:34 +00:00
Eugene Sandulenko
0b8f8d7a24
SAGA: Fix bug #2886151 .
...
Bug #2886151 : "ITE: Mouse stops responding at Boar Castle" fixed
by implementing a workaround. It is a script bug in original.
svn-id: r49724
2010-06-15 10:25:13 +00:00
Eugene Sandulenko
6d2c916c34
SAGA: Add debug output for sfLockUser()
...
svn-id: r49723
2010-06-15 10:24:55 +00:00
Eugene Sandulenko
7746321ed6
SAGA: Fix bug #1970191 .
...
Bug #1970191 : "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.
svn-id: r49698
2010-06-15 10:16:53 +00:00
Eugene Sandulenko
5d72a614ec
SAGA: Add more thread-related output.
...
svn-id: r49697
2010-06-15 10:16:32 +00:00
Eugene Sandulenko
723cb6c0f0
SAGA: Moved more code under ENABLE_IHNM
...
svn-id: r49696
2010-06-15 10:16:13 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
2010-06-14 14:50:23 +00:00
Filippos Karapetis
0492bd6aa6
SAGA: Music code cleanup. The music driver is now placed inside the MusicPlayer class, instead of the SagaEngine class. Split the functionality that the music parser should handle from the functionality that the music driver should handle. Also, fixed a bug in MusicDriver::send() (the notes off signal was sent to unallocated channels, not allocated ones)
...
svn-id: r49607
2010-06-12 18:20:22 +00:00
Max Horn
767edc91fa
OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects
...
svn-id: r49388
2010-06-02 00:52:57 +00:00
Filippos Karapetis
512435893b
Started simplifying and removing a lot of unused code from the SAGA Mac resource loader, to be ultimately replaced by the common Mac resource loader
...
svn-id: r49082
2010-05-18 15:16:53 +00:00
Filippos Karapetis
6499ddff8e
Added back video skipping in SAGA2 with the escape key or left mouse button
...
svn-id: r49080
2010-05-18 14:57:02 +00:00