Logo Search packages:      
Sourcecode: castle-combat version File versions

place.h

#ifndef PLACE_H
#define PLACE_H

typedef struct {
    int SecuredFields;
    int SecuredCastles;
    int CannonsLeft;
    int SelectedCannon;
} PlacePlayer;

extern PlacePlayer PPlayer[PLAYERNUM];

extern void Place();
extern void PlaceMove( void Undraw(), void Draw(), int sig);
extern void AdjustPositon( int i );
extern int FieldFree( int x, int y);
extern void DrawCursor();
extern void UndrawCursor();
extern void ReallyPutCannon( int WhichPlayer );
extern void AdjustPosition( int i );

#endif /* PLACE_H */


Generated by  Doxygen 1.6.0   Back to index