38182 Commits

Author SHA1 Message Date
Neeraj Kumar
207a5e0779 updated my outdate copy of trunk, added couple of more tests in gfxtests
svn-id: r49510
2010-06-08 17:24:29 +00:00
Yotam Barnoy
356728dab7 PSP: found bug in fast getMillis() implementation. Fixed it by adding a fixed amount to the time counter.
svn-id: r49485
2010-06-07 13:47:27 +00:00
Johannes Schickel
8ef5d55edb Fix gcc warning about an comparison which is always false due to data type range.
svn-id: r49484
2010-06-07 13:47:14 +00:00
Matthew Hoops
d5b5a8dbae Allow for the other audio36 patch naming schemes (Mac and some Torin ones).
svn-id: r49482
2010-06-07 11:44:52 +00:00
Paul Gilbert
62402e743e Added extra positioning and dummy depths surface so that the introduction cutscene now starts up
svn-id: r49480
2010-06-07 10:17:44 +00:00
Paul Gilbert
b2678ddf52 Changed a create call to setSize to fix compiler error
svn-id: r49479
2010-06-07 09:35:59 +00:00
Paul Gilbert
34f7c05e4d Initial conversion of the AnimviewView class to use the expanded MadsAnimation class, rather than the older AAFile skeleton class
svn-id: r49478
2010-06-07 09:19:42 +00:00
Filippos Karapetis
43ec405ffe Some initial code for audio36 and sync36 patch support
svn-id: r49477
2010-06-07 09:10:22 +00:00
Paul Gilbert
1572524b64 Moved destruction of globals and resource manager to common M4 engine base class - this fixes a bug where resources were still being tossed after the resource manager was destroyed
svn-id: r49476
2010-06-07 09:06:06 +00:00
Walter van Niftrik
d30d57b923 SCI: Relax signature of kCreateTextBitmap.
svn-id: r49470
2010-06-07 02:11:19 +00:00
Walter van Niftrik
b04535d487 SCI: Adjust kGetSaveFiles for SCI32.
svn-id: r49469
2010-06-07 02:11:01 +00:00
Matthew Hoops
1e56ea9ac9 Change some kString subops to use the raw string directly instead of through a Common::String. Fixes usage with strings from kGetSaveFiles().
svn-id: r49468
2010-06-07 01:43:35 +00:00
Filippos Karapetis
3c82b6578f Now that EngineState is not deleted when loading games, we can move some more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this).
svn-id: r49465
2010-06-06 23:00:33 +00:00
Matthew Hoops
51a8978455 Throw a warning in kString(At) if the index is out-of-bounds instead of having it assert out.
svn-id: r49464
2010-06-06 22:44:14 +00:00
Neeraj Kumar
e00e94ae18 some minor modifications in function args,use of inline specifier
svn-id: r49461
2010-06-06 16:55:29 +00:00
Gregory Montoir
548015ac10 add missing decodeNextAnimationFrame in default case for sequence 9
svn-id: r49458
2010-06-06 14:18:16 +00:00
Yotam Barnoy
857f3ab550 PSP: faster way of getting file size
svn-id: r49457
2010-06-06 14:17:37 +00:00
Neeraj Kumar
1819c8b23b polished the interface to interact with testsuites, added code to report test results
svn-id: r49456
2010-06-06 14:06:51 +00:00
Gregory Montoir
536e6a9bc3 fix sequence frame numbering (decrement if getCurFrame now returns the last decoded frame number)
svn-id: r49455
2010-06-06 13:40:15 +00:00
Max Horn
48cfc94421 Add Gus to credits, update README & NEWS
svn-id: r49454
2010-06-06 13:36:55 +00:00
Max Horn
4667907b5c whitespace corrections
svn-id: r49453
2010-06-06 13:35:08 +00:00
Gregory Montoir
8e6cc1201a use palette image during sequence 3 scrolling
svn-id: r49452
2010-06-06 13:31:19 +00:00
Filippos Karapetis
43c353d930 Now opening all files via getVolumeFile()
svn-id: r49451
2010-06-06 13:04:24 +00:00
Yotam Barnoy
b90ca013a8 PSP: added news item about switch to media engine for MP3 playback
svn-id: r49450
2010-06-06 12:37:43 +00:00
Max Horn
46155b2c36 Add Android backend from patch #2603856
svn-id: r49449
2010-06-06 09:34:36 +00:00
Paul Gilbert
3efec5720d Bugfixes for correct positioning of opening animation
svn-id: r49448
2010-06-06 06:46:29 +00:00
Paul Gilbert
c253a57e47 Bugfix for #2974817 - Mad Drongo Animation Malfunction
svn-id: r49447
2010-06-06 01:12:41 +00:00
David Turner
193d7df594 Correction for SCI valgrind uninit memory error in MIDI sound which occurs during LSL6 intro.
This may be "hiding" a bug in the use of sound/midiparser.cpp in SCI i.e. incorrect use of parseNextEvent(), so this should be reviewed, but this patch initialises _next_event at object construction, which corrects this, should not break anything else and is good practice.

svn-id: r49445
2010-06-06 00:27:56 +00:00
Filippos Karapetis
abcd8e093a Replaced a leftover Common::File::exists() call in the fallback detector
svn-id: r49443
2010-06-05 19:55:03 +00:00
John Willis
7b56f39985 GP2X Wiz: Add missing "#include "graphics/scaler/aspect.h"".
svn-id: r49442
2010-06-05 18:26:53 +00:00
John Willis
6a796c2bb0 GP2X Wiz: Update handy shell scripts.
svn-id: r49441
2010-06-05 18:24:28 +00:00
Filippos Karapetis
c00d645506 Fixed the cursor limiting code in GK1
svn-id: r49440
2010-06-05 18:15:41 +00:00
Filippos Karapetis
e9f35fbf4c Rewrote the remaining parts of the ResourceManager class to work with file streams, thus removing the SCI_detection hack in the fallback detector
svn-id: r49438
2010-06-05 14:09:52 +00:00
Paul Gilbert
b9065aa2d2 Various bugfixes to the animation code - first Rex animation now plays, albeit in the wrong place
svn-id: r49437
2010-06-05 04:18:23 +00:00
Paul Gilbert
5686c251f0 Added missing animation initialisation code
svn-id: r49436
2010-06-05 01:55:17 +00:00
Paul Gilbert
3a5fe4ca00 Bugfix for wrong parameter order in scene resources load method call. Also added fragment to destroy an active animation when it's finished animating
svn-id: r49434
2010-06-04 22:53:26 +00:00
David Turner
8b102ab7af SCI: Fix for Valgrind Warning in Palette.
svn-id: r49433
2010-06-04 20:06:59 +00:00
Filippos Karapetis
722c4f1b8d Some more work on channel remapping: Moved the remapping code to the music loading code (still disabled)
svn-id: r49430
2010-06-04 15:01:26 +00:00
Filippos Karapetis
fdc9bbcbf5 Simplified the channel monitoring code inside the SoundResource class
svn-id: r49429
2010-06-04 14:53:12 +00:00
Nicola Mettifogo
9906030312 Ensure that zones/animations always get the same index number.
When a zone/animation is skipped by the parser because already
loaded, the index is now increased. This does not affect NS, since
indexes are only used for scene sorting there, but is relevant for
BRA, where indexes need to be coherent across location changes.

Patch #3004008 by fuzzie.

svn-id: r49428
2010-06-04 13:48:09 +00:00
Paul Gilbert
3d98f679e7 Bugfix for the loading of the animation frame list
svn-id: r49427
2010-06-04 12:51:06 +00:00
Paul Gilbert
86462c66a0 Added code and support routines for destroying animations correctly, which also necessitated changing the sprite list code
svn-id: r49426
2010-06-04 11:28:30 +00:00
Walter van Niftrik
997fdac427 SCI: Replace strncpy with Common::strlcpy
svn-id: r49425
2010-06-04 10:51:27 +00:00
Walter van Niftrik
a8acf7468c SCI: Add savegame version check in CheckSaveGame
svn-id: r49424
2010-06-04 10:36:49 +00:00
Walter van Niftrik
f1a55a9c67 SCI: Cleanup
svn-id: r49423
2010-06-04 10:15:13 +00:00
Neeraj Kumar
333989fc6d some code on getting strings printed on the screen
svn-id: r49421
2010-06-04 03:54:17 +00:00
Johannes Schickel
664c86f25d Replace two uses of ::qsort by Common::sort.
svn-id: r49418
2010-06-03 23:37:05 +00:00
Johannes Schickel
02ed1a684a - Made some methods const
- Prefer const_iterator over iterator in SciMusic::findUsedChannels

svn-id: r49417
2010-06-03 23:07:53 +00:00
Filippos Karapetis
8dd7537a55 A first attempt at channel remapping (currently disabled)
svn-id: r49416
2010-06-03 22:13:23 +00:00
Filippos Karapetis
ddf7449b00 Added code to get which channels are used by a sound. Also, fixed a crash when using Sierra's GM patches, a regression from commit #49391.
svn-id: r49415
2010-06-03 22:00:50 +00:00