src/include/enum.h File Reference

Go to the source code of this file.

Enumerations

enum  Weapon_type {
  WEAPON_BAZOOKA, WEAPON_AUTOMATIC_BAZOOKA, WEAPON_RIOT_BOMB, WEAPON_GRENADE,
  WEAPON_HOLLY_GRENADE, WEAPON_CLUSTER_BOMB, WEAPON_GUN, WEAPON_SHOTGUN,
  WEAPON_SUBMACHINE_GUN, WEAPON_BASEBALL, WEAPON_DYNAMITE, WEAPON_MINE,
  WEAPON_SUPERTUX, WEAPON_AIR_ATTACK, WEAPON_ANVIL, WEAPON_GNU,
  WEAPON_POLECAT, WEAPON_BOUNCE_BALL, WEAPON_TELEPORTATION, WEAPON_NINJA_ROPE,
  WEAPON_LOWGRAV, WEAPON_SUICIDE, WEAPON_SKIP_TURN, WEAPON_JETPACK,
  WEAPON_PARACHUTE, WEAPON_AIR_HAMMER, WEAPON_CONSTRUCT, WEAPON_SNIPE_RIFLE,
  WEAPON_BLOWTORCH, WEAPON_SYRINGE
}
enum  Action_t {
  ACTION_MOVE_LEFT, ACTION_MOVE_RIGHT, ACTION_UP, ACTION_DOWN,
  ACTION_JUMP, ACTION_HIGH_JUMP, ACTION_BACK_JUMP, ACTION_SHOOT,
  ACTION_CHANGE_WEAPON, ACTION_WIND, ACTION_NEXT_CHARACTER, ACTION_CHANGE_CHARACTER,
  ACTION_CHANGE_TEAM, ACTION_SET_SKIN, ACTION_SYNC_BEGIN, ACTION_SYNC_END,
  ACTION_EXPLOSION, ACTION_SUPERTUX_STATE, ACTION_WEAPON_1, ACTION_WEAPON_2,
  ACTION_WEAPON_3, ACTION_WEAPON_4, ACTION_WEAPON_5, ACTION_WEAPON_6,
  ACTION_WEAPON_7, ACTION_WEAPON_8, ACTION_WEAPON_9, ACTION_WEAPON_MORE,
  ACTION_WEAPON_LESS, ACTION_SET_TARGET, ACTION_SET_TIMEOUT, ACTION_CONSTRUCTION_UP,
  ACTION_CONSTRUCTION_DOWN, ACTION_SET_CHARACTER_ENERGY, ACTION_WEAPON_STOP_USE, ACTION_SCROLL_LEFT,
  ACTION_SCROLL_RIGHT, ACTION_SCROLL_UP, ACTION_SCROLL_DOWN, ACTION_SET_GAME_MODE,
  ACTION_SET_MAP, ACTION_CLEAR_TEAMS, ACTION_NEW_TEAM, ACTION_DEL_TEAM,
  ACTION_SET_CHARACTER_PHYSICS, ACTION_SET_CHARACTER_DIRECTION, ACTION_CHANGE_STATE, ACTION_ASK_VERSION,
  ACTION_ASK_TEAM, ACTION_SEND_VERSION, ACTION_SEND_TEAM, ACTION_SEND_RANDOM,
  ACTION_CHAT_MESSAGE, ACTION_NICKNAME, ACTION_QUIT, ACTION_WEAPONS1,
  ACTION_WEAPONS2, ACTION_WEAPONS3, ACTION_WEAPONS4, ACTION_WEAPONS5,
  ACTION_WEAPONS6, ACTION_WEAPONS7, ACTION_WEAPONS8, ACTION_PAUSE,
  ACTION_FULLSCREEN, ACTION_TOGGLE_INTERFACE, ACTION_CENTER, ACTION_TOGGLE_WEAPONS_MENUS,
  ACTION_MAX, ACTION_CHAT
}
enum  Key_Event_t { KEY_PRESSED, KEY_RELEASED, KEY_REFRESH }
enum  Direction_t { DIRECTION_LEFT = -1, DIRECTION_RIGHT = 1 }


Enumeration Type Documentation

enum Action_t

Enumerator:
ACTION_MOVE_LEFT 
ACTION_MOVE_RIGHT 
ACTION_UP 
ACTION_DOWN 
ACTION_JUMP 
ACTION_HIGH_JUMP 
ACTION_BACK_JUMP 
ACTION_SHOOT 
ACTION_CHANGE_WEAPON 
ACTION_WIND 
ACTION_NEXT_CHARACTER 
ACTION_CHANGE_CHARACTER 
ACTION_CHANGE_TEAM 
ACTION_SET_SKIN 
ACTION_SYNC_BEGIN 
ACTION_SYNC_END 
ACTION_EXPLOSION 
ACTION_SUPERTUX_STATE 
ACTION_WEAPON_1 
ACTION_WEAPON_2 
ACTION_WEAPON_3 
ACTION_WEAPON_4 
ACTION_WEAPON_5 
ACTION_WEAPON_6 
ACTION_WEAPON_7 
ACTION_WEAPON_8 
ACTION_WEAPON_9 
ACTION_WEAPON_MORE 
ACTION_WEAPON_LESS 
ACTION_SET_TARGET 
ACTION_SET_TIMEOUT 
ACTION_CONSTRUCTION_UP 
ACTION_CONSTRUCTION_DOWN 
ACTION_SET_CHARACTER_ENERGY 
ACTION_WEAPON_STOP_USE 
ACTION_SCROLL_LEFT 
ACTION_SCROLL_RIGHT 
ACTION_SCROLL_UP 
ACTION_SCROLL_DOWN 
ACTION_SET_GAME_MODE 
ACTION_SET_MAP 
ACTION_CLEAR_TEAMS 
ACTION_NEW_TEAM 
ACTION_DEL_TEAM 
ACTION_SET_CHARACTER_PHYSICS 
ACTION_SET_CHARACTER_DIRECTION 
ACTION_CHANGE_STATE 
ACTION_ASK_VERSION 
ACTION_ASK_TEAM 
ACTION_SEND_VERSION 
ACTION_SEND_TEAM 
ACTION_SEND_RANDOM 
ACTION_CHAT_MESSAGE 
ACTION_NICKNAME 
ACTION_QUIT 
ACTION_WEAPONS1 
ACTION_WEAPONS2 
ACTION_WEAPONS3 
ACTION_WEAPONS4 
ACTION_WEAPONS5 
ACTION_WEAPONS6 
ACTION_WEAPONS7 
ACTION_WEAPONS8 
ACTION_PAUSE 
ACTION_FULLSCREEN 
ACTION_TOGGLE_INTERFACE 
ACTION_CENTER 
ACTION_TOGGLE_WEAPONS_MENUS 
ACTION_MAX 
ACTION_CHAT 

Definition at line 66 of file enum.h.

00067 {
00068   // Game action.
00069   ACTION_MOVE_LEFT,
00070   ACTION_MOVE_RIGHT,
00071   ACTION_UP,
00072   ACTION_DOWN,
00073   ACTION_JUMP,
00074   ACTION_HIGH_JUMP,
00075   ACTION_BACK_JUMP,
00076   ACTION_SHOOT,
00077   ACTION_CHANGE_WEAPON,
00078   ACTION_WIND,
00079   ACTION_NEXT_CHARACTER,
00080   ACTION_CHANGE_CHARACTER,
00081   ACTION_CHANGE_TEAM,
00082   ACTION_SET_SKIN,
00083   ACTION_SYNC_BEGIN,
00084   ACTION_SYNC_END,
00085   ACTION_EXPLOSION,
00086   ACTION_SUPERTUX_STATE,
00087   ACTION_WEAPON_1,
00088   ACTION_WEAPON_2,
00089   ACTION_WEAPON_3,
00090   ACTION_WEAPON_4,
00091   ACTION_WEAPON_5,
00092   ACTION_WEAPON_6,
00093   ACTION_WEAPON_7,
00094   ACTION_WEAPON_8,
00095   ACTION_WEAPON_9,
00096   ACTION_WEAPON_MORE,
00097   ACTION_WEAPON_LESS,
00098   ACTION_SET_TARGET,
00099   ACTION_SET_TIMEOUT,
00100   ACTION_CONSTRUCTION_UP,
00101   ACTION_CONSTRUCTION_DOWN,
00102   ACTION_SET_CHARACTER_ENERGY,
00103   ACTION_WEAPON_STOP_USE,
00104   ACTION_SCROLL_LEFT,
00105   ACTION_SCROLL_RIGHT,
00106   ACTION_SCROLL_UP,
00107   ACTION_SCROLL_DOWN,
00108 
00109   // Game initialisation
00110   ACTION_SET_GAME_MODE,
00111   ACTION_SET_MAP,
00112   ACTION_CLEAR_TEAMS,
00113   ACTION_NEW_TEAM,
00114   ACTION_DEL_TEAM,
00115   ACTION_SET_CHARACTER_PHYSICS,
00116   ACTION_SET_CHARACTER_DIRECTION,
00117   ACTION_CHANGE_STATE,
00118   ACTION_ASK_VERSION,
00119   ACTION_ASK_TEAM,
00120   ACTION_SEND_VERSION,
00121   ACTION_SEND_TEAM,
00122   ACTION_SEND_RANDOM,
00123   ACTION_CHAT_MESSAGE,
00124   ACTION_NICKNAME,
00125 
00126   // Out of game actions (local only).
00127   ACTION_QUIT,
00128   ACTION_WEAPONS1,
00129   ACTION_WEAPONS2,
00130   ACTION_WEAPONS3,
00131   ACTION_WEAPONS4,
00132   ACTION_WEAPONS5,
00133   ACTION_WEAPONS6,
00134   ACTION_WEAPONS7,
00135   ACTION_WEAPONS8,
00136   ACTION_PAUSE,
00137   ACTION_FULLSCREEN,
00138   ACTION_TOGGLE_INTERFACE,
00139   ACTION_CENTER,
00140   ACTION_TOGGLE_WEAPONS_MENUS,
00141   ACTION_MAX,
00142   ACTION_CHAT
00143 } Action_t;

enum Direction_t

Enumerator:
DIRECTION_LEFT 
DIRECTION_RIGHT 

Definition at line 156 of file enum.h.

00157 {
00158   DIRECTION_LEFT = -1,
00159   DIRECTION_RIGHT = 1
00160 } Direction_t;

enum Key_Event_t

Enumerator:
KEY_PRESSED 
KEY_RELEASED 
KEY_REFRESH 

Definition at line 147 of file enum.h.

00148 {
00149   KEY_PRESSED,
00150   KEY_RELEASED,
00151   KEY_REFRESH
00152 } Key_Event_t ;

enum Weapon_type

Enumerator:
WEAPON_BAZOOKA 
WEAPON_AUTOMATIC_BAZOOKA 
WEAPON_RIOT_BOMB 
WEAPON_GRENADE 
WEAPON_HOLLY_GRENADE 
WEAPON_CLUSTER_BOMB 
WEAPON_GUN 
WEAPON_SHOTGUN 
WEAPON_SUBMACHINE_GUN 
WEAPON_BASEBALL 
WEAPON_DYNAMITE 
WEAPON_MINE 
WEAPON_SUPERTUX 
WEAPON_AIR_ATTACK 
WEAPON_ANVIL 
WEAPON_GNU 
WEAPON_POLECAT 
WEAPON_BOUNCE_BALL 
WEAPON_TELEPORTATION 
WEAPON_NINJA_ROPE 
WEAPON_LOWGRAV 
WEAPON_SUICIDE 
WEAPON_SKIP_TURN 
WEAPON_JETPACK 
WEAPON_PARACHUTE 
WEAPON_AIR_HAMMER 
WEAPON_CONSTRUCT 
WEAPON_SNIPE_RIFLE 
WEAPON_BLOWTORCH 
WEAPON_SYRINGE 

Definition at line 26 of file enum.h.


Generated on Mon Jan 1 13:19:23 2007 for Wormux by  doxygen 1.4.7