diff options
author | richiesams | 2013-06-27 13:41:24 -0500 |
---|---|---|
committer | richiesams | 2013-08-04 13:31:48 -0500 |
commit | d5fa6612ed8f48ce33dd9f3576c450fe80a7526d (patch) | |
tree | 45bb990fbb605a56234338b0d1c7f868624595be | |
parent | 3283176f6d000cbb66208a0b5d4b3337004461fd (diff) | |
download | scummvm-rg350-d5fa6612ed8f48ce33dd9f3576c450fe80a7526d.tar.gz scummvm-rg350-d5fa6612ed8f48ce33dd9f3576c450fe80a7526d.tar.bz2 scummvm-rg350-d5fa6612ed8f48ce33dd9f3576c450fe80a7526d.zip |
ZVISION: Modify utility and puzzle comments to make them more clear
-rw-r--r-- | engines/zvision/puzzle.h | 4 | ||||
-rw-r--r-- | engines/zvision/utility.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/puzzle.h b/engines/zvision/puzzle.h index 6961fde45a..1133adac47 100644 --- a/engines/zvision/puzzle.h +++ b/engines/zvision/puzzle.h @@ -48,8 +48,8 @@ struct Criteria { uint32 argument; /** How to do the comparison */ CriteriaOperator criteriaOperator; - /** Is 'argument' the id of a global state or a pure value */ - bool argumentIsAnId; + /** Whether 'argument' is the id of a global state (true) or a pure value (false) */ + bool isArgumentAnId; }; /** What happens when Puzzle criteria are met */ diff --git a/engines/zvision/utility.h b/engines/zvision/utility.h index f9f99166fc..9fade107f5 100644 --- a/engines/zvision/utility.h +++ b/engines/zvision/utility.h @@ -54,8 +54,8 @@ void writeFileContentsToFile(Common::String sourceFile, Common::String destFile) /** * Removes any line comments using '#' as a sequence start. - * Then removes any trailing and leading 'whitespace'. - * Uses isspace() to determine what is whitespace and what is not. + * Then removes any trailing and leading 'whitespace' using String::trim() + * Note: String::trim uses isspace() to determine what is whitespace and what is not. * * @param string The string to modify. It is modified in place */ |