[Scummvm-cvs-logs] SF.net SVN: scummvm:[38542] scummvm/trunk

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Thu Feb 19 12:08:11 CET 2009


Revision: 38542
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38542&view=rev
Author:   dreammaster
Date:     2009-02-19 11:08:11 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
Merged the contents of fontCharacterTable into staticres

Modified Paths:
--------------
    scummvm/trunk/dists/msvc8/cruise.vcproj
    scummvm/trunk/dists/msvc9/cruise.vcproj
    scummvm/trunk/engines/cruise/cruise_main.h
    scummvm/trunk/engines/cruise/font.cpp
    scummvm/trunk/engines/cruise/module.mk
    scummvm/trunk/engines/cruise/staticres.cpp
    scummvm/trunk/engines/cruise/staticres.h

Removed Paths:
-------------
    scummvm/trunk/engines/cruise/fontCharacterTable.cpp
    scummvm/trunk/engines/cruise/fontCharacterTable.h

Modified: scummvm/trunk/dists/msvc8/cruise.vcproj
===================================================================
--- scummvm/trunk/dists/msvc8/cruise.vcproj	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/dists/msvc8/cruise.vcproj	2009-02-19 11:08:11 UTC (rev 38542)
@@ -255,14 +255,6 @@
 			>
 		</File>
 		<File
-			RelativePath="..\..\engines\cruise\fontCharacterTable.cpp"
-			>
-		</File>
-		<File
-			RelativePath="..\..\engines\cruise\fontCharacterTable.h"
-			>
-		</File>
-		<File
 			RelativePath="..\..\engines\cruise\function.cpp"
 			>
 		</File>

Modified: scummvm/trunk/dists/msvc9/cruise.vcproj
===================================================================
--- scummvm/trunk/dists/msvc9/cruise.vcproj	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/dists/msvc9/cruise.vcproj	2009-02-19 11:08:11 UTC (rev 38542)
@@ -256,14 +256,6 @@
 			>
 		</File>
 		<File
-			RelativePath="..\..\engines\cruise\fontCharacterTable.cpp"
-			>
-		</File>
-		<File
-			RelativePath="..\..\engines\cruise\fontCharacterTable.h"
-			>
-		</File>
-		<File
 			RelativePath="..\..\engines\cruise\function.cpp"
 			>
 		</File>

Modified: scummvm/trunk/engines/cruise/cruise_main.h
===================================================================
--- scummvm/trunk/engines/cruise/cruise_main.h	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/cruise_main.h	2009-02-19 11:08:11 UTC (rev 38542)
@@ -41,7 +41,6 @@
 #include "cruise/vars.h"
 #include "cruise/font.h"
 #include "cruise/volume.h"
-#include "cruise/fontCharacterTable.h"
 #include "cruise/stack.h"
 #include "cruise/script.h"
 #include "cruise/various.h"

Modified: scummvm/trunk/engines/cruise/font.cpp
===================================================================
--- scummvm/trunk/engines/cruise/font.cpp	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/font.cpp	2009-02-19 11:08:11 UTC (rev 38542)
@@ -23,11 +23,12 @@
  *
  */
 
+#include "common/endian.h"
 #include "common/file.h"
 #include "common/util.h"
 
 #include "cruise/cruise_main.h"
-#include "common/endian.h"
+#include "cruise/staticres.h"
 
 namespace Cruise {
 

Deleted: scummvm/trunk/engines/cruise/fontCharacterTable.cpp
===================================================================
--- scummvm/trunk/engines/cruise/fontCharacterTable.cpp	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/fontCharacterTable.cpp	2009-02-19 11:08:11 UTC (rev 38542)
@@ -1,195 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * ScummVM is the legal property of its developers, whose names
- * are too numerous to list here. Please refer to the COPYRIGHT
- * file distributed with this source distribution.
- *
- * 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
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#include "cruise/cruise_main.h"
-
-namespace Cruise {
-
-int16 fontCharacterTable[256] = {
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
-	16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
-	30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
-	44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
-	58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
-	72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
-	86, 87, 88, 89, 90, 91, 92,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1,
-	106, 105,
-	-1,
-	-1,
-	-1,
-	-1,
-	107, 108,
-	-1, -1,
-	109, 110,
-	-1,
-	-1,
-	-1,
-	-1,
-	-1, -1,
-	111, -1,
-	112,
-	-1, -1,
-	113,
-	114,
-	-1,
-	-1,
-	116, 93,
-	-1,
-	118,
-	-1,
-	94,
-	-1,
-	117,
-	115,
-	96,
-	95,
-	97,
-	98,
-	-1,
-	-1,
-	99,
-	100,
-	-1,
-	-1,
-	-1,
-	-1,
-	101,
-	-1,
-	102,
-	-1,
-	-1,
-	103,
-	-1,
-	104,
-	-1,
-	-1,
-	-1,
-	-1,
-};
-
-} // End of namespace Cruise

Deleted: scummvm/trunk/engines/cruise/fontCharacterTable.h
===================================================================
--- scummvm/trunk/engines/cruise/fontCharacterTable.h	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/fontCharacterTable.h	2009-02-19 11:08:11 UTC (rev 38542)
@@ -1,34 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * ScummVM is the legal property of its developers, whose names
- * are too numerous to list here. Please refer to the COPYRIGHT
- * file distributed with this source distribution.
- *
- * 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
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#ifndef CRUISE_FONTCHARACTERTABLE_H
-#define CRUISE_FONTCHARACTERTABLE_H
-
-namespace Cruise {
-
-extern short int fontCharacterTable[256];
-
-}				// End of namespace Cruise
-#endif

Modified: scummvm/trunk/engines/cruise/module.mk
===================================================================
--- scummvm/trunk/engines/cruise/module.mk	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/module.mk	2009-02-19 11:08:11 UTC (rev 38542)
@@ -14,7 +14,6 @@
 	delphine-unpack.o \
 	detection.o \
 	font.o \
-	fontCharacterTable.o \
 	function.o \
 	gfxModule.o \
 	linker.o \

Modified: scummvm/trunk/engines/cruise/staticres.cpp
===================================================================
--- scummvm/trunk/engines/cruise/staticres.cpp	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/staticres.cpp	2009-02-19 11:08:11 UTC (rev 38542)
@@ -57,4 +57,67 @@
 	{ -59, -60, -62, -63, -78, 0, 0, 0, 0, 0, 0, 0, 0}
 };
 
+int16 fontCharacterTable[256] = {
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1,
+	0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
+	16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
+	30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
+	44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
+	58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
+	72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
+	86, 87, 88, 89, 90, 91, 92,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1,
+	106, 105,
+	-1, -1, -1, -1,
+	107, 108,
+	-1, -1,
+	109, 110,
+	-1, -1, -1, -1, -1, -1,
+	111, -1,
+	112,
+	-1, -1,
+	113,
+	114,
+	-1,
+	-1,
+	116, 93,
+	-1,
+	118,
+	-1,
+	94,
+	-1,
+	117,
+	115,
+	96,
+	95,
+	97,
+	98,
+	-1,
+	-1,
+	99,
+	100,
+	-1,
+	-1,
+	-1,
+	-1,
+	101,
+	-1,
+	102,
+	-1,
+	-1,
+	103,
+	-1,
+	104,
+	-1,
+	-1,
+	-1,
+	-1,
+};
+
 } // End of namespace Cruise

Modified: scummvm/trunk/engines/cruise/staticres.h
===================================================================
--- scummvm/trunk/engines/cruise/staticres.h	2009-02-19 09:58:33 UTC (rev 38541)
+++ scummvm/trunk/engines/cruise/staticres.h	2009-02-19 11:08:11 UTC (rev 38542)
@@ -36,6 +36,8 @@
 
 extern int actor_invstat[][13];
 
+extern short int fontCharacterTable[256];
+
 } // End of namespace Cruise
 
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list