[Scummvm-cvs-logs] CVS: scummvm/saga script.h,1.60,1.61 sthread.cpp,1.67,1.68

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Jan 22 06:17:03 CET 2005


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

Modified Files:
	script.h sthread.cpp 
Log Message:
Whitespace and indentation.


Index: script.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/script.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- script.h	21 Jan 2005 23:25:53 -0000	1.60
+++ script.h	22 Jan 2005 14:16:00 -0000	1.61
@@ -233,19 +233,19 @@
 
 public:
 	byte *baseAddress(byte addrMode) {
-		switch(addrMode) {
-			case kAddressCommon:
-				return _commonBase;
-			case kAddressStatic:
-				return _staticBase;
-			case kAddressModule:
-				return _moduleBase;
-			case kAddressStack:
-				return (byte*)&_stackBuf[_frameIndex];
-			case kAddressThread:
-				return (byte*)_threadVars;
-			default:
-				return _commonBase;
+		switch (addrMode) {
+		case kAddressCommon:
+			return _commonBase;
+		case kAddressStatic:
+			return _staticBase;
+		case kAddressModule:
+			return _moduleBase;
+		case kAddressStack:
+			return (byte*)&_stackBuf[_frameIndex];
+		case kAddressThread:
+			return (byte*)_threadVars;
+		default:
+			return _commonBase;
 		}
 	}
 

Index: sthread.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/sthread.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- sthread.cpp	21 Jan 2005 23:44:34 -0000	1.67
+++ sthread.cpp	22 Jan 2005 14:16:00 -0000	1.68
@@ -517,7 +517,7 @@
 			iparam2 = (long)param2;
 			iparam1 = (long)param1;
 			iresult = iparam1 + iparam2;
-			thread->push( iresult);
+			thread->push(iresult);
 			break;
 			// (SUB): Subtraction
 		case 0x2D:
@@ -526,7 +526,7 @@
 			iparam2 = (long)param2;
 			iparam1 = (long)param1;
 			iresult = iparam1 - iparam2;
-			thread->push( iresult);
+			thread->push(iresult);
 			break;
 			// (MULT): Integer multiplication
 		case 0x2E:
@@ -535,7 +535,7 @@
 			iparam2 = (long)param2;
 			iparam1 = (long)param1;
 			iresult = iparam1 * iparam2;
-			thread->push( iresult);
+			thread->push(iresult);
 			break;
 			// (DIV): Integer division
 		case 0x2F:
@@ -544,7 +544,7 @@
 			iparam2 = (long)param2;
 			iparam1 = (long)param1;
 			iresult = iparam1 / iparam2;
-			thread->push( iresult);
+			thread->push(iresult);
 			break;
 			// (MOD) Modulus
 		case 0x30:
@@ -553,7 +553,7 @@
 			iparam2 = (long)param2;
 			iparam1 = (long)param1;
 			iresult = iparam1 % iparam2;
-			thread->push( iresult);
+			thread->push(iresult);
 			break;
 			// (EQU) Test equality
 		case 0x33:





More information about the Scummvm-git-logs mailing list