~ubuntu-branches/ubuntu/trusty/heroes/trusty

« back to all changes in this revision

Viewing changes to src/levellst.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Burrows
  • Date: 2002-03-31 20:42:30 UTC
  • Revision ID: james.westby@ubuntu.com-20020331204230-v7i07q3km2dzu0et
Tags: upstream-0.21
ImportĀ upstreamĀ versionĀ 0.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*------------------------------------------------------------------.
 
2
| Copyright 2001  Alexandre Duret-Lutz <duret_g@epita.fr>           |
 
3
|                                                                   |
 
4
| This file is part of Heroes.                                      |
 
5
|                                                                   |
 
6
| Heroes is free software; you can redistribute it and/or modify it |
 
7
| under the terms of the GNU General Public License version 2 as    |
 
8
| published by the Free Software Foundation.                        |
 
9
|                                                                   |
 
10
| Heroes is distributed in the hope that it will be useful, but     |
 
11
| WITHOUT ANY WARRANTY; without even the implied warranty of        |
 
12
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU |
 
13
| General Public License for more details.                          |
 
14
|                                                                   |
 
15
| You should have received a copy of the GNU General Public License |
 
16
| along with this program; if not, write to the Free Software       |
 
17
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA          |
 
18
| 02111-1307 USA                                                    |
 
19
`------------------------------------------------------------------*/
 
20
 
 
21
#ifndef HEROES__LEVELLST__H
 
22
#define HEROES__LEVELLST__H
 
23
 
 
24
typedef struct a_level_info a_level_info;
 
25
struct a_level_info {
 
26
  char *name;
 
27
  bool wrapped;
 
28
};
 
29
 
 
30
extern a_level_info *level_list;
 
31
extern size_t level_list_size;
 
32
 
 
33
int select_file_lvl (const struct dirent *d);
 
34
int read_level_list (void);
 
35
void free_level_list (void);
 
36
void print_level_list (void);
 
37
 
 
38
#endif /* HEROES__LEVELLST__H */