[Scummvm-cvs-logs] CVS: scummvm/v3 resource.cpp,1.2,1.3

Vincent Hamm yazoo at users.sourceforge.net
Sun Mar 24 18:10:02 CET 2002


Update of /cvsroot/scummvm/scummvm/v3
In directory usw-pr-cvs1:/tmp/cvs-serv10170/v3

Modified Files:
	resource.cpp 
Log Message:
Rechanged the way the scumm class is choose (sorry, can't make up my mind). Implemented the different versions of loadCharset

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/v3/resource.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** resource.cpp	25 Mar 2002 01:31:16 -0000	1.2
--- resource.cpp	25 Mar 2002 02:09:05 -0000	1.3
***************
*** 125,126 ****
--- 125,140 ----
         openRoom(-1);
  }
+ 
+ void Scumm_v3::loadCharset(int no){
+ 	uint32 size;
+ 
+         checkRange(4 ,0 ,no , "Loading illegal charset %d");
+         openRoom(-1);
+         
+       	openRoom(98+no);
+ 
+        	size = fileReadWordLE();
+         
+ 	fileRead(_fileHandle, createResource(6, no, size), size);
+         openRoom(-1);
+ }





More information about the Scummvm-git-logs mailing list