bygfoot/src/enums.h

65 lines
1.5 KiB
C
Raw Normal View History

2005-01-09 21:21:22 +01:00
#ifndef ENUMS_H
#define ENUMS_H
/** Scout and physio qualities. */
enum Quality
{
QUALITY_BEST = 0,
QUALITY_GOOD,
QUALITY_AVERAGE,
QUALITY_BAD,
QUALITY_END
};
2005-01-09 21:21:22 +01:00
/** Indices for the #finances variable. */
enum FinanceValue
{
FIN_PRIZE = 0, /**< Prize money at the end of the season. */
FIN_DEBTS, /**< User's debts. */
FIN_MONEY, /**< User's money. */
FIN_TICKETS, /**< Ticket income (weekly). */
FIN_JOURNEY, /**< Journey costs (weekly). */
FIN_WAGES, /**< Wages (weekly). */
FIN_SCOUT, /**< Scout wage (weekly). */
FIN_PHYSIO, /**< Physio wage (weekly). */
FIN_TRANSFERS_IN, /**< Transfer fees income (weekly). */
FIN_TRANSFERS_OUT, /**< Transfer fees spent (weekly). */
FIN_STADIUM, /**< Stadium improvement (weekly). */
FIN_STAD_BILLS, /**< Bills for riots or fire or so (weekly). */
FIN_END
};
/** Possible values for a status variable. */
enum Status0Value
2005-01-09 21:21:22 +01:00
{
STATUS_NONE = 0,
STATUS_MAIN,
STATUS_SHOW_LIVE_GAME,
STATUS_LIVE_GAME_PAUSE,
STATUS_BROWSE_TEAMS,
STATUS_TEAM_SELECTION,
2005-03-11 18:18:51 +01:00
STATUS_SHOW_LAST_MATCH,
STATUS_SHOW_LAST_MATCH_STATS,
2005-03-14 18:47:27 +01:00
STATUS_SHOW_FIXTURES,
STATUS_SHOW_TABLES,
2005-03-17 21:26:01 +01:00
STATUS_SHOW_FINANCES,
STATUS_GET_LOAN,
STATUS_PAY_LOAN,
STATUS_END
2005-01-09 21:21:22 +01:00
};
/** Enum used to determine what kind of fixtures or
tables to show (e.g. when an arrow is clicked on). */
enum ShowType
{
SHOW_TEAM = 0,
SHOW_CURRENT,
SHOW_NEXT,
SHOW_PREVIOUS,
SHOW_NEXT_LEAGUE,
SHOW_PREVIOUS_LEAGUE,
SHOW_END
};
2005-01-09 21:21:22 +01:00
#endif