[Scummvm-cvs-logs] CVS: scummvm/saga script.h,1.102,1.103

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Aug 7 11:58:31 CEST 2005


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31499

Modified Files:
	script.h 
Log Message:
Consistent formatting of hexadecimal numbers.


Index: script.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/script.h,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- script.h	7 Aug 2005 00:00:41 -0000	1.102
+++ script.h	7 Aug 2005 18:57:30 -0000	1.103
@@ -119,19 +119,19 @@
 };
 
 enum OpCodes {
-	opNextBlock = 1,
-	opDup = 2,
-	opDrop = 3,
-	opZero = 4,
-	opOne = 5,
-	opConstint = 6,
+	opNextBlock = 0x01,
+	opDup = 0x02,
+	opDrop = 0x03,
+	opZero = 0x04,
+	opOne = 0x05,
+	opConstint = 0x06,
 //...
-	opStrlit = 8,
+	opStrlit = 0x08,
 //...
-	opGetFlag = 0xB,
-	opGetInt = 0xC,
+	opGetFlag = 0x0B,
+	opGetInt = 0x0C,
 //...
-	opPutFlag = 0xf,
+	opPutFlag = 0x0F,
 	opPutInt = 0x10,
 	//...
 	opPutFlagV = 0x13,





More information about the Scummvm-git-logs mailing list