[Scummvm-cvs-logs] scummvm master -> 1c9752cb0274c8b95fd529c3bb3beb8b78bad030

dreammaster dreammaster at scummvm.org
Thu Oct 9 03:04:56 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1c9752cb02 MADS: Fix refreshing backgound at start of intro animation


Commit: 1c9752cb0274c8b95fd529c3bb3beb8b78bad030
    https://github.com/scummvm/scummvm/commit/1c9752cb0274c8b95fd529c3bb3beb8b78bad030
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-08T21:04:06-04:00

Commit Message:
MADS: Fix refreshing backgound at start of intro animation

Changed paths:
    engines/mads/nebular/menu_nebular.cpp



diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index 93bc4ba..52f6988 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -882,12 +882,16 @@ void AnimationView::loadNextResource() {
 	if (resEntry._bgFlag)
 		_vm->_palette->resetGamePalette(1, 8);
 
+	// Load the new animation
 	delete _currentAnimation;
 	_currentAnimation = Animation::init(_vm, &scene);
 	_currentAnimation->load(scene._backgroundSurface, scene._depthSurface, 
 		resEntry._resourceName, resEntry._bgFlag ? ANIMFLAG_LOAD_BACKGROUND : 0,
 		nullptr, _sceneInfo);
 
+	// Signal for a screen refresh
+	scene._spriteSlots.fullRefresh();
+
 	// If a sound driver has been specified, then load the correct one
 	if (!_currentAnimation->_header._soundName.empty()) {
 		const char *chP = strchr(_currentAnimation->_header._soundName.c_str(), '.');






More information about the Scummvm-git-logs mailing list