[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.15,1.16

James Brown ender at users.sourceforge.net
Tue Oct 22 03:40:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv6219/scumm

Modified Files:
	akos.cpp 
Log Message:
Try and fix stupid newline problem :)


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- akos.cpp	22 Oct 2002 10:37:08 -0000	1.15
+++ akos.cpp	22 Oct 2002 10:39:20 -0000	1.16
@@ -1,1713 +1,1713 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2001  Ludvig Strigeus
- * Copyright (C) 2001/2002 The ScummVM project
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
[...3395 lines suppressed...]
+}
+
+
+bool Scumm::akos_compare(int a, int b, byte cmd)
+{
+	switch (cmd) {
+	case 0:
+		return a == b;
+	case 1:
+		return a != b;
+	case 2:
+		return a < b;
+	case 3:
+		return a <= b;
+	case 4:
+		return a > b;
+	default:
+		return a >= b;
+	}
+}





More information about the Scummvm-git-logs mailing list