diff options
author | Torbjörn Andersson | 2004-10-31 13:51:01 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-31 13:51:01 +0000 |
commit | b0110fe5b2f2cc70b92c04dd0cad045fdf83b550 (patch) | |
tree | 4b8956da14a92d1e2b45816d669c3935d470c4eb /saga | |
parent | 4126001b861aa6abd1633ae42b7b259ad646df9c (diff) | |
download | scummvm-rg350-b0110fe5b2f2cc70b92c04dd0cad045fdf83b550.tar.gz scummvm-rg350-b0110fe5b2f2cc70b92c04dd0cad045fdf83b550.tar.bz2 scummvm-rg350-b0110fe5b2f2cc70b92c04dd0cad045fdf83b550.zip |
Whitespace fixes
svn-id: r15704
Diffstat (limited to 'saga')
-rw-r--r-- | saga/actor.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/saga/actor.h b/saga/actor.h index a8311a128c..6a24646603 100644 --- a/saga/actor.h +++ b/saga/actor.h @@ -84,7 +84,7 @@ struct ACTORACTIONITEM { }; struct ACTORACTION { - ACTORACTIONITEM dir[4]; + ACTORACTIONITEM dir[4]; }; struct WALKINTENT { @@ -129,22 +129,22 @@ struct ACTORINTENT { }; struct ACTOR { - int id; // Actor id - int name_i; // Actor's index in actor name string list + int id; // Actor id + int name_i; // Actor's index in actor name string list uint16 flags; - Point a_pt; // Actor's logical coordinates - Point s_pt; // Actor's screen coordinates + Point a_pt; // Actor's logical coordinates + Point s_pt; // Actor's screen coordinates - int sl_rn; // Actor's sprite list res # - int si_rn; // Actor's sprite index res # - SPRITELIST *sl_p;// Actor's sprite list data + int sl_rn; // Actor's sprite list res # + int si_rn; // Actor's sprite index res # + SPRITELIST *sl_p; // Actor's sprite list data int idle_time; int orient; int speaking; - int a_dcolor; // Actor dialogue color + int a_dcolor; // Actor dialogue color // The actor intent list describes what the actor intends to do; // multiple intents can be queued. The actor must complete an @@ -153,7 +153,7 @@ struct ACTOR { YS_DL_LIST *a_intentlist; -// WALKPATH path; + // WALKPATH path; int def_action; uint16 def_action_flags; @@ -163,9 +163,9 @@ struct ACTOR { int action_frame; int action_time; - ACTORACTION *act_tbl; // Action lookup table - int action_ct; // Number of actions in the action LUT - YS_DL_NODE *node; // Actor's node in the actor list + ACTORACTION *act_tbl; // Action lookup table + int action_ct; // Number of actions in the action LUT + YS_DL_NODE *node; // Actor's node in the actor list ACTOR() { memset(this, 0, sizeof(*this)); } }; @@ -185,7 +185,7 @@ struct ACTIONTIMES { }; class Actor { - public: +public: int reg(); Actor(SagaEngine *vm); ~Actor(); @@ -217,9 +217,9 @@ class Actor { int addActor(ACTOR * actor); int deleteActor(int index); - ACTOR *lookupActor(int index); + ACTOR *lookupActor(int index); - private: +private: int handleWalkIntent(ACTOR *actor, WALKINTENT *a_walk_int, int *complete_p, int msec); int handleSpeakIntent(ACTOR *actor, SPEAKINTENT *a_speakint, int *complete_p, int msec); int setPathNode(WALKINTENT *walk_int, Point *src_pt, Point *dst_pt, SEMAPHORE *sem); |