Max Horn
12d5151ff4
COMMON: Remove default value for endianess in ReadStreamEndian subclasses
...
svn-id: r54441
2010-11-23 22:27:20 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a008d14055
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
...
svn-id: r54323
2010-11-18 16:38:03 +00:00
Max Horn
82e473bc3b
BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
...
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
2010-11-08 22:53:36 +00:00
Andrew Kurushin
0970cdf5e5
SAGA: reduce memory usage
...
svn-id: r53782
2010-10-24 22:52:57 +00:00
Andrew Kurushin
599094d3a0
SAGA: fix SAGA_DEBUG; fix IHNM cutaway typo
...
svn-id: r53781
2010-10-24 22:40:37 +00:00
Andrew Kurushin
0f1ae79ac4
SAGA: fix const cast warns
...
svn-id: r53780
2010-10-24 22:25:16 +00:00
Andrew Kurushin
67cc1b8a84
SAGA: replace Resource:loadResource malloc with ByteArray class
...
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
e3ea3b5b7e
SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
...
svn-id: r53773
2010-10-24 20:22:21 +00:00
Andrew Kurushin
fa7e8a8eb3
SAGA: replace Actor::_actors and _objs malloc base arrays with Common::Array
...
svn-id: r53766
2010-10-24 17:42:45 +00:00
Max Horn
c975ed11a1
ALL: Fix various typos (patch #3093266 )
...
svn-id: r53762
2010-10-24 13:04:33 +00:00
Andrew Kurushin
b10cd22d51
SAGA: replace Events malloc base linked list with Common::List
...
svn-id: r53751
2010-10-23 23:07:10 +00:00
Andrew Kurushin
5b7c5e4298
SAGA: fix typo
...
svn-id: r53750
2010-10-23 22:04:51 +00:00
Andrew Kurushin
405c523bbb
SAGA: replace decodeBGImage malloc with ByteArray
...
svn-id: r53748
2010-10-23 21:56:16 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
Max Horn
efcfb40da9
SAGA: Add some const qualifiers to SagaEngine methods
...
svn-id: r53737
2010-10-23 15:45:22 +00:00
Max Horn
da31121507
SAGA: Improve comment for ByteArray::getBuffer()
...
svn-id: r53736
2010-10-23 15:44:55 +00:00
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
Johannes Schickel
75e8452b6e
OPENGL: Merged from trunk, from rev 52105 to 53396.
...
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
2010-10-13 03:57:44 +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
Alejandro Marzini
fb4086cadb
Merged from trunk, from Rev 50841 to HEAD
...
svn-id: r51495
2010-07-30 05:28:09 +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
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +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