[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.cpp,1.39,1.40

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Nov 2 23:48:06 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv6809/driver

Modified Files:
	d_draw.cpp 
Log Message:
The resource and memory managers are now created dynamically.

Renamed the resource manager's open/close methods openResource() and
closeResource() to avoid confusion. (It was I who originally shortened
their names to open() and close(), but I've changed my mind now.)

Moved more stuff into Sword2Engine.


Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_draw.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- d_draw.cpp	28 Oct 2003 19:51:30 -0000	1.39
+++ d_draw.cpp	3 Nov 2003 07:47:42 -0000	1.40
@@ -158,7 +158,7 @@
 		g_display->createSurface(&msgSprite, &msgSurface);
 		g_display->drawSurface(&msgSprite, msgSurface);
 		g_display->deleteSurface(msgSurface);
-		memory.freeMemory(data);
+		memory->freeMemory(data);
 
 		// In case the cutscene has a long lead-in, start just before
 		// the first line of text.





More information about the Scummvm-git-logs mailing list