[Scummvm-cvs-logs] SF.net SVN: scummvm:[35563] scummvm/trunk/engines/saga/interface.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Fri Dec 26 15:38:45 CET 2008
Revision: 35563
http://scummvm.svn.sourceforge.net/scummvm/?rev=35563&view=rev
Author: lordhoto
Date: 2008-12-26 14:38:45 +0000 (Fri, 26 Dec 2008)
Log Message:
-----------
Added const keyword to static data.
Modified Paths:
--------------
scummvm/trunk/engines/saga/interface.cpp
Modified: scummvm/trunk/engines/saga/interface.cpp
===================================================================
--- scummvm/trunk/engines/saga/interface.cpp 2008-12-26 13:50:12 UTC (rev 35562)
+++ scummvm/trunk/engines/saga/interface.cpp 2008-12-26 14:38:45 UTC (rev 35563)
@@ -52,7 +52,7 @@
namespace Saga {
-static int verbToTextIdITE[] = {
+static const int verbToTextIdITE[] = {
kTextWalkTo, kTextLookAt, kTextPickUp, kTextTalkTo,
kTextOpen, kTextClose, kTextUse, kTextGive
};
@@ -61,7 +61,7 @@
// i.e. id 12 (quit game button) maps to string 14 (Quit game)
// The comments are what the actual IHNM string is
// For the text string IDs, refer to saga.h, enum TextStringIds
-static int IHNMTextStringIdsLUT[56] = {
+static const int IHNMTextStringIdsLUT[56] = {
-1, // (Empty)
-1, // (Empty)
4, // Take
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