Convert file indexing code in ui::input.
[Ale.git] / ale.cc
blob9e3b4ba2f140e18d342d214986f941ba9f699afc
1 // Copyright 2002, 2003, 2004, 2005, 2006 David Hilvert <dhilvert@auricle.dyndns.org>,
2 // <dhilvert@ugcs.caltech.edu>
4 /* This file is part of the Anti-Lamenessing Engine.
6 The Anti-Lamenessing Engine is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 The Anti-Lamenessing Engine is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with the Anti-Lamenessing Engine; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * ale.cc: The main module of ale. This calls the input handler.
26 * Types
29 #include "ale_pos.h"
30 #include "ale_real.h"
33 * Version Information
36 char *short_version = "0.8.4";
38 char *version = "ALE Version: 0.8.4\n"
39 #ifdef USE_MAGICK
40 "File handler: ImageMagick\n"
41 #else
42 "File handler: PPM\n"
43 #endif
44 "Color data: " ALE_REAL_PRECISION_STRING "\n"
45 "Coordinate data: " ALE_POS_PRECISION_STRING "\n"
46 #ifdef USE_FFTW
47 "DFT: FFTW3\n"
48 #else
49 "DFT: Built-in\n"
50 #endif
51 #if defined NDEBUG && !defined DEBUG
52 "Assertions: Disabled\n"
53 #elif defined DEBUG && !defined NDEBUG
54 "Assertions: Enabled\n"
55 #elif defined NDEBUG
56 "Assertions: Probably disabled\n"
57 #else
58 "Assertions: Probably enabled\n"
59 #endif
60 #if OPTIMIZATIONS == 1
61 "Optimizations: Enabled\n"
62 #else
63 "Optimizations: Disabled\n"
64 #endif
68 * User interface includes
71 #include "ui/ui.h"
74 * main() calls the input handler.
77 int main(int argc, const char *argv[]){
79 /*
80 * Call UI routine to handle options and other interface input.
81 * Returning from this function indicates program success.
84 ui::handle_input(argc, argv, "ALE", short_version, version);
86 return 0;