diff options
author | Strangerke | 2012-06-13 11:28:25 +0200 |
---|---|---|
committer | Strangerke | 2012-06-13 11:28:25 +0200 |
commit | 2e7b16a8bdb6ad1cf51046d57eb0f5406ee2cc13 (patch) | |
tree | 2ac5e685d51b6ab4780fb4cbfaa66576071d9569 /engines/hugo/parser.h | |
parent | 04b6af91765ddf9d1c5c5ec6f9722795bf2e4f27 (diff) | |
download | scummvm-rg350-2e7b16a8bdb6ad1cf51046d57eb0f5406ee2cc13.tar.gz scummvm-rg350-2e7b16a8bdb6ad1cf51046d57eb0f5406ee2cc13.tar.bz2 scummvm-rg350-2e7b16a8bdb6ad1cf51046d57eb0f5406ee2cc13.zip |
HUGO: Apply coding convention (in progress)
Diffstat (limited to 'engines/hugo/parser.h')
-rw-r--r-- | engines/hugo/parser.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/hugo/parser.h b/engines/hugo/parser.h index f8b9d9f13b..18f4916b1e 100644 --- a/engines/hugo/parser.h +++ b/engines/hugo/parser.h @@ -48,14 +48,14 @@ enum seqTextParser { * The following determines how a verb is acted on, for an object */ struct cmd { - uint16 verbIndex; // the verb - uint16 reqIndex; // ptr to list of required objects - uint16 textDataNoCarryIndex; // ptr to string if any of above not carried - byte reqState; // required state for verb to be done - byte newState; // new states if verb done - uint16 textDataWrongIndex; // ptr to string if wrong state - uint16 textDataDoneIndex; // ptr to string if verb done - uint16 actIndex; // Ptr to action list if verb done + uint16 _verbIndex; // the verb + uint16 _reqIndex; // ptr to list of required objects + uint16 _textDataNoCarryIndex; // ptr to string if any of above not carried + byte _reqState; // required state for verb to be done + byte _newState; // new states if verb done + uint16 _textDataWrongIndex; // ptr to string if wrong state + uint16 _textDataDoneIndex; // ptr to string if verb done + uint16 _actIndex; // Ptr to action list if verb done }; /** @@ -65,12 +65,12 @@ struct cmd { * "don't understand" we produce an interesting msg to keep user sane. */ struct background_t { - uint16 verbIndex; - uint16 nounIndex; - int commentIndex; // Index of comment produced on match - bool matchFl; // TRUE if noun must match when present - byte roomState; // "State" of room. Comments might differ. - byte bonusIndex; // Index of bonus score (0 = no bonus) + uint16 _verbIndex; + uint16 _nounIndex; + int _commentIndex; // Index of comment produced on match + bool _matchFl; // TRUE if noun must match when present + byte _roomState; // "State" of room. Comments might differ. + byte _bonusIndex; // Index of bonus score (0 = no bonus) }; typedef background_t *objectList_t; |