aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.h
diff options
context:
space:
mode:
authorMax Horn2009-09-30 16:04:21 +0000
committerMax Horn2009-09-30 16:04:21 +0000
commitcc54ad650d3f7ffd2546e9d15905a0bda8327415 (patch)
tree48d04bab5473d54816016dd07dc41345adb7b999 /engines/draci/script.h
parent27026f65652a2afc02947303c1bde68e21724d15 (diff)
downloadscummvm-rg350-cc54ad650d3f7ffd2546e9d15905a0bda8327415.tar.gz
scummvm-rg350-cc54ad650d3f7ffd2546e9d15905a0bda8327415.tar.bz2
scummvm-rg350-cc54ad650d3f7ffd2546e9d15905a0bda8327415.zip
Remove trailing whitespaces
svn-id: r44493
Diffstat (limited to 'engines/draci/script.h')
-rw-r--r--engines/draci/script.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/draci/script.h b/engines/draci/script.h
index fc0dc0cd74..aa4b297d28 100644
--- a/engines/draci/script.h
+++ b/engines/draci/script.h
@@ -33,7 +33,7 @@
namespace Draci {
/** The maximum number of parameters for a GPL command */
-const int kMaxParams = 3;
+const int kMaxParams = 3;
class DraciEngine;
class Script;
@@ -49,14 +49,14 @@ typedef int (Script::*GPLFunctionHandler)(int) const;
/**
* Represents a single command in the GPL scripting language bytecode.
- * Each command is represented in the bytecode by a command number and a
+ * Each command is represented in the bytecode by a command number and a
* subnumber.
*/
-struct GPL2Command {
- byte _number;
- byte _subNumber;
- const char *_name;
+struct GPL2Command {
+ byte _number;
+ byte _subNumber;
+ const char *_name;
uint16 _numParams;
int _paramTypes[kMaxParams];
GPLHandler _handler;
@@ -72,7 +72,7 @@ struct GPL2Function {
GPLFunctionHandler _handler;
};
-/**
+/**
* A convenience data type that holds both the actual bytecode and the
* length of the bytecode. Passed to Script::run().
*/
@@ -100,7 +100,7 @@ private:
const GPL2Command *_commandList;
const GPL2Operator *_operatorList;
const GPL2Function *_functionList;
-
+
void c_If(Common::Queue<int> &params);
void c_Goto(Common::Queue<int> &params);
void c_Let(Common::Queue<int> &params);