5 * Copyright (C) 2003, 2007, 2008, 2009 Thomas Perl <thp@thpinfo.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30 static Location locations
[] = {
32 /* Australian Open, http://en.wikipedia.org/wiki/Australian_Open */
33 "Margaret Court Arena",
39 GR_LOC_MARGARET_COURT_ARENA
,
49 /* French Open, http://en.wikipedia.org/wiki/French_Open */
50 "Stade Roland-Garros",
51 "16th arrondissement",
56 GR_LOC_STADE_ROLAND_GARROS
,
66 /* http://en.wikipedia.org/wiki/The_Championships,_Wimbledon */
83 /* US Open, http://en.wikipedia.org/wiki/US_Open_(tennis) */
84 "Arthur Ashe Stadium",
90 GR_LOC_ARTHUR_ASHE_STADIUM
,
100 #ifdef NONFREE_LOCATIONS
102 /* Bunabhainneadar Tennis Club */
103 "Tennis Club Bunabhainneadar",
109 GR_LOC_TRAINING_CAMP
,
119 /* We don't have permission for the following locations just yet... */
121 /* Austrian Open in Kitzbuhel, http://www.austrianopen.eu/ */
123 "Sportpark Golfclub",
128 GR_LOC_AUSTRIAN_OPEN
,
138 /* http://en.wikipedia.org/wiki/Olympic_Green_Tennis_Centre */
140 "Olympic Green Tennis Center",
144 "deco turf", /* http://tinyurl.com/agwpje */
145 GR_LOC_OLYMPIC_GREEN_TENNIS
,
158 { NULL
, NULL
, NULL
, 0, 0, NULL
, 0, 0, 0, 0, false, false, 0, 0 }
161 unsigned int location_count()
163 static unsigned int location_count
= 0;
165 if (location_count
== 0) {
166 while (locations
[location_count
].name
!= NULL
) {
171 return location_count
;