Source: ksirk/global.h


Annotated List
Files
Globals
Hierarchy
Index
/***************************************************************************
                          global.h  -  description
                             -------------------
    begin                : dim sep 15 2002
    copyright            : (C) 2002 by Gael de Chalendar
    email                : ksirk@tuxfamily.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef GLOBAL_H
#define GLOBAL_H

/**
 * The State enum enumerates all the possible states of the game. The
 * behavior of various method will vary in function of it
 */
enum GameState {INIT, INTERLUDE, NEWARMIES, WAIT, WAIT_RECYCLING, ATTACK,
			ATTACK2, ENDATTACK, INVADE, SHIFT1, SHIFT2, FIGHT_BRING,
			FIGHT_ANIMATE, FIGHT_BRINGBACK, WAITDEFENSE, EXPLOSION_ANIMATE};

/**
 * When used for fight display, the sprites can be attacker or
 * defendant. In the other cases, they are nothing particular (NONE)
 * This state is (1.0) only used for explosion animation
 */
enum State {NONE, ATTACKER, DEFENDANT};


#endif // GLOBAL_H


Generated by: gael on noirdes.limsi.u-psud.fr on Fri Jan 3 17:03:38 2003, using kdoc 2.0a53.