[Scummvm-cvs-logs] SF.net SVN: scummvm:[41476] scummvm/branches/gsoc2009-draci/engines/draci/ gpldisasm.h
dkasak13 at users.sourceforge.net
dkasak13 at users.sourceforge.net
Fri Jun 12 12:39:33 CEST 2009
Revision: 41476
http://scummvm.svn.sourceforge.net/scummvm/?rev=41476&view=rev
Author: dkasak13
Date: 2009-06-12 10:39:33 +0000 (Fri, 12 Jun 2009)
Log Message:
-----------
Replaced a magic number with a proper constant.
Modified Paths:
--------------
scummvm/branches/gsoc2009-draci/engines/draci/gpldisasm.h
Modified: scummvm/branches/gsoc2009-draci/engines/draci/gpldisasm.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/gpldisasm.h 2009-06-12 10:37:46 UTC (rev 41475)
+++ scummvm/branches/gsoc2009-draci/engines/draci/gpldisasm.h 2009-06-12 10:39:33 UTC (rev 41476)
@@ -30,6 +30,9 @@
namespace Draci {
+/** The maximum number of parameters for a GPL command */
+const int kMaxParams = 3;
+
// FIXME: Add function handlers
/**
@@ -43,11 +46,9 @@
byte _subNumber;
Common::String _name;
uint16 _numParams;
- int _paramTypes[3];
+ int _paramTypes[kMaxParams];
};
-const int kMaxParams = 3; //!< The maximum number of parameters for a GPL command
-
int gpldisasm(byte *gplcode, uint16 len);
}
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