bygfoot/src/enums.h

153 lines
4.0 KiB
C
Raw Normal View History

2005-10-20 17:45:00 +02:00
/*
2005-11-26 17:52:51 +01:00
enums.h
2005-10-20 17:45:00 +02:00
Bygfoot Football Manager -- a small and simple GTK2-based
football management game.
http://bygfoot.sourceforge.net
Copyright (C) 2005 Gyözö Both (gyboth@bygfoot.com)
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.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
2005-01-09 21:21:22 +01:00
#ifndef ENUMS_H
#define ENUMS_H
2005-04-07 18:44:33 +02:00
/** Some counters. */
enum Counters
{
COUNT_AUTOSAVE = 0,
COUNT_AUTOSAVE_FILE,
2005-04-13 15:01:59 +02:00
COUNT_TEAM_ID,
COUNT_PLAYER_ID,
2005-04-14 21:07:25 +02:00
COUNT_CUP_ID,
COUNT_LEAGUE_ID,
2005-05-31 16:42:20 +02:00
COUNT_FIX_ID,
2005-07-05 20:37:26 +02:00
COUNT_LG_COMM_ID,
2008-11-27 14:24:18 +01:00
COUNT_NEWS_TITLE_ID,
COUNT_NEWS_SUBTITLE_ID,
2008-12-16 12:27:44 +01:00
COUNT_NEWS_ARTICLE_ID,
2005-05-13 20:20:47 +02:00
COUNT_SHOW_DEBUG,
2006-02-15 13:03:48 +01:00
COUNT_HINT_NUMBER,
2008-12-16 14:55:51 +01:00
COUNT_NEWS_SHOWN,
COUNT_NEW_NEWS,
2005-04-07 18:44:33 +02:00
COUNT_END
};
/** 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
};
2005-03-18 23:03:23 +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
};
/** 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,
2005-09-28 18:41:32 +02:00
STATUS_LIVE_GAME_CHANGE,
2005-03-25 21:18:35 +01:00
STATUS_SHOW_TEAM_LIST,
2005-04-07 18:44:33 +02:00
STATUS_SHOW_PLAYER_INFO,
STATUS_BROWSE_TEAMS,
STATUS_TEAM_SELECTION,
2005-03-11 18:18:51 +01:00
STATUS_SHOW_LAST_MATCH,
2005-05-08 08:15:35 +02:00
STATUS_SHOW_LAST_MATCH_PAUSE,
STATUS_SHOW_LAST_MATCH_ABORT,
2005-03-11 18:18:51 +01:00
STATUS_SHOW_LAST_MATCH_STATS,
2005-03-14 18:47:27 +01:00
STATUS_SHOW_FIXTURES,
STATUS_SHOW_FIXTURES_WEEK,
STATUS_SHOW_TABLES,
2005-03-17 21:26:01 +01:00
STATUS_SHOW_FINANCES,
2005-03-19 21:04:08 +01:00
STATUS_SHOW_TRANSFER_LIST,
2005-04-16 09:46:04 +02:00
STATUS_SHOW_USER_HISTORY,
2005-03-17 21:26:01 +01:00
STATUS_GET_LOAN,
STATUS_PAY_LOAN,
2005-03-18 23:03:23 +01:00
STATUS_SHOW_EVENT,
STATUS_JOB_OFFER_SUCCESS,
STATUS_JOB_OFFER_FIRE_FINANCE,
2005-03-19 21:04:08 +01:00
STATUS_JOB_OFFER_FIRE_FAILURE,
2005-05-27 20:48:36 +02:00
STATUS_TRANSFER_OFFER_USER,
STATUS_TRANSFER_OFFER_CPU,
2005-03-24 19:04:31 +01:00
STATUS_CUSTOM_STRUCTURE,
2005-03-24 21:22:44 +01:00
STATUS_SHOW_LEAGUE_RESULTS,
2005-10-03 20:08:26 +02:00
STATUS_SHOW_SEASON_RESULTS,
2005-04-29 21:48:02 +02:00
STATUS_SHOW_LEAGUE_STATS,
STATUS_SHOW_SEASON_HISTORY,
2005-03-27 19:59:57 +02:00
STATUS_SHOW_PLAYER_LIST,
STATUS_FIRE_PLAYER,
STATUS_USER_MANAGEMENT,
STATUS_SHOW_PREVIEW,
2005-04-04 12:36:04 +02:00
STATUS_SAVE_GAME,
STATUS_LOAD_GAME,
2006-02-15 13:03:48 +01:00
STATUS_LOAD_GAME_SPLASH,
2005-04-07 18:44:33 +02:00
STATUS_QUERY_UNFIT,
STATUS_QUERY_QUIT,
2005-05-30 17:54:20 +02:00
STATUS_QUERY_USER_NO_TURN,
STATUS_GENERATE_TEAMS,
2005-06-20 14:46:57 +02:00
STATUS_SPONSOR_CONTINUE,
2005-07-08 11:26:00 +02:00
STATUS_SHOW_YA,
STATUS_SET_YA_PERCENTAGE,
STATUS_QUERY_KICK_YOUTH,
2005-08-20 21:39:36 +02:00
STATUS_SELECT_MM_FILE_LOAD,
STATUS_SELECT_MM_FILE_ADD,
2005-08-21 21:58:51 +02:00
STATUS_SELECT_MM_FILE_IMPORT,
STATUS_SELECT_MM_FILE_EXPORT,
2005-10-27 23:10:15 +02:00
STATUS_PLACE_BET,
STATUS_SHOW_JOB_EXCHANGE,
STATUS_JOB_EXCHANGE_SHOW_TEAM,
2006-02-15 13:03:48 +01:00
STATUS_SPLASH,
STATUS_END
2005-01-09 21:21:22 +01:00
};
#endif