aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/draci/gpldisasm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/draci/gpldisasm.h b/engines/draci/gpldisasm.h
index 17bd75767d..9f33bafc94 100644
--- a/engines/draci/gpldisasm.h
+++ b/engines/draci/gpldisasm.h
@@ -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 @@ struct GPL2Command {
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);
}