diff options
author | Eugene Sandulenko | 2007-04-27 22:33:45 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-04-27 22:33:45 +0000 |
commit | ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b (patch) | |
tree | b62bf14bf84b48b602f12c3aacd9c652a49bef46 /engines/cruise/perso.h | |
parent | 101fbdd64f1a9d62c40dcdd20d618a098dc9df7e (diff) | |
download | scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.tar.gz scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.tar.bz2 scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.zip |
Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
Diffstat (limited to 'engines/cruise/perso.h')
-rw-r--r-- | engines/cruise/perso.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/engines/cruise/perso.h b/engines/cruise/perso.h index e90fbd075e..b26b85f634 100644 --- a/engines/cruise/perso.h +++ b/engines/cruise/perso.h @@ -22,34 +22,33 @@ * */ -#ifndef _PERSO_H_ -#define _PERSO_H_ +#ifndef CRUISE_PERSO_H +#define CRUISE_PERSO_H namespace Cruise { #define NUM_NODES 20 -struct persoStruct -{ - int16 inc_droite; // 2 - int16 inc_droite0; // 2 - int16 inc_chemin; // 2 - int16 coordinates[400][2]; // 1600 - int16 solution[NUM_NODES+3][2]; //((20+3)*2*2) - int16 inc_jo1; // 2 - int16 inc_jo2; // 2 - int16 dir_perso; // 2 - int16 inc_jo0; // 2 +struct persoStruct { + int16 inc_droite; // 2 + int16 inc_droite0; // 2 + int16 inc_chemin; // 2 + int16 coordinates[400][2]; // 1600 + int16 solution[NUM_NODES + 3][2]; //((20+3)*2*2) + int16 inc_jo1; // 2 + int16 inc_jo2; // 2 + int16 dir_perso; // 2 + int16 inc_jo0; // 2 }; typedef struct persoStruct persoStruct; -extern persoStruct* persoTable[10]; +extern persoStruct *persoTable[10]; extern int16 computedVar14; void freePerso(int persoIdx); void freeAllPerso(void); -void affiche_chemin(int16 persoIdx, int16* returnVar); +void affiche_chemin(int16 persoIdx, int16 * returnVar); } // End of namespace Cruise |