Expunge old CVS cruft.
[xor] / xor.c
CommitLineData
fc27aa70 1/* -*-c-*-
2 *
73e1eaf2 3 * $Id$
fc27aa70 4 *
5 * Main program
6 *
7 * (c) 2003 Straylight/Edgeware
8 */
9
10/*----- Licensing notice --------------------------------------------------*
11 *
12 * This file is part of XOR.
13 *
14 * XOR is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * XOR is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with XOR; if not, write to the Free Software Foundation,
26 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 */
28
fc27aa70 29/*----- Header files ------------------------------------------------------*/
30
31#include "xor.h"
32
33/*----- Main code ---------------------------------------------------------*/
34
35int main(void)
36{
37 level *l;
38 FILE *fp;
39
40 cellinfo_init();
41 fp = fopen("map", "r");
42 l = lev_read(fp);
43 ui_init();
44 game_go(l);
45 ui_exit();
46 lev_free(l);
47 return (0);
48}
49
50/*----- That's all, folks -------------------------------------------------*/