[Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.63,1.64

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Thu Dec 30 06:55:05 CET 2004


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

Modified Files:
	actor.cpp 
Log Message:
Fixed warning.


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/actor.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- actor.cpp	29 Dec 2004 22:31:21 -0000	1.63
+++ actor.cpp	30 Dec 2004 14:54:08 -0000	1.64
@@ -77,33 +77,33 @@
 };
 
 int pathDirectionLUT2[8][2] =  {
-	0,	-1,
-	1,	0,
-	0,	1,
-	-1,	0,
-	1,	-1,
-	1,	1,
-	-1,	1,
-	-1,	-1
+	{ 0, -1},
+	{ 1,  0},
+	{ 0,  1},
+	{-1,  0},
+	{ 1, -1},
+	{ 1,  1},
+	{-1,  1},
+	{-1, -1}
 };
 
 int angleLUT[16][2] = {
-	0,		-256,
-	98,		-237,
-	181,	-181,
-	237,	-98,
-	256,	0,
-	237,	98,
-	181,	181,
-	98,		237,
-	0,		256,
-	-98,	237,
-	-181,	181,
-	-237,	98,
-	-256,	0,
-	-237,	-98,
-	-181,	-181,
-	-98,	-237
+	{   0, -256},
+	{  98, -237},
+	{ 181, -181},
+	{ 237,  -98},
+	{ 256,    0},
+	{ 237,	 98},
+	{ 181,  181},
+	{  98,  237},
+	{   0,  256},
+	{ -98,  237},
+	{-181,  181},
+	{-237,   98},
+	{-256,    0},
+	{-237,  -98},
+	{-181, -181},
+	{ -98, -237}
 };
 
 





More information about the Scummvm-git-logs mailing list