[Scummvm-cvs-logs] SF.net SVN: scummvm: [23616] scummvm/trunk/engines/kyra

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Jul 28 19:42:40 CEST 2006


Revision: 23616
Author:   lordhoto
Date:     2006-07-28 10:42:33 -0700 (Fri, 28 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23616&view=rev

Log Message:
-----------
Little cleanup.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra3.cpp
    scummvm/trunk/engines/kyra/kyra3.h
Modified: scummvm/trunk/engines/kyra/kyra3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.cpp	2006-07-28 17:35:04 UTC (rev 23615)
+++ scummvm/trunk/engines/kyra/kyra3.cpp	2006-07-28 17:42:33 UTC (rev 23616)
@@ -105,7 +105,7 @@
 	uint8 *pal = _screen->getPalette(1);
 	assert(pal);
 	
-	WSAMovieV2 *logo = new WSAMovieV2(this);
+	Movie *logo = createWSAMovie();
 	assert(logo);
 	logo->open("REVENGE.WSA", 1, pal);
 	assert(logo->opened());
@@ -293,7 +293,7 @@
 
 #pragma mark -
 
-int KyraEngine_v3::handleMainMenu(WSAMovieV2 *logo) {
+int KyraEngine_v3::handleMainMenu(Movie *logo) {
 	debugC(9, kDebugLevelMain, "KyraEngine::handleMainMenu(%p)", (const void*)logo);
 	int command = -1;
 	

Modified: scummvm/trunk/engines/kyra/kyra3.h
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.h	2006-07-28 17:35:04 UTC (rev 23615)
+++ scummvm/trunk/engines/kyra/kyra3.h	2006-07-28 17:42:33 UTC (rev 23616)
@@ -74,7 +74,7 @@
 	// gui/menu specific
 private:
 	static const char *_mainMenuStrings[];
-	int handleMainMenu(WSAMovieV2 *logo);
+	int handleMainMenu(Movie *logo);
 	void drawMainMenu(const char * const *strings, int select);
 	void drawMainBox(int x, int y, int w, int h, int fill);
 	


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list