doc/web: Use repo.or.cz terminology for the summary page.
[Ale.git] / ale.cc
blob11d0d11f15fdc88f5f1aea08cc0dfe7cab6c7c52
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 3 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 * Configuration
29 #include <config.h>
32 * Types
35 #include "ale_fixed.h"
36 #include "ale_pos.h"
37 #include "ale_real.h"
40 * Version Information
43 const char *package_name = PACKAGE_NAME;
45 const char *short_version = VERSION;
47 const char *version = PACKAGE_NAME " Version: " VERSION "\n"
48 #ifdef USE_MAGICK
49 "File handler: ImageMagick\n"
50 #else
51 "File handler: PPM\n"
52 #endif
53 "Color data: " ALE_REAL_PRECISION_STRING "\n"
54 "Coordinate data: " ALE_POS_PRECISION_STRING "\n"
55 #ifdef USE_FFTW
56 "DFT: FFTW3\n"
57 #else
58 "DFT: Built-in\n"
59 #endif
60 #if defined USE_PTHREAD
61 "Threads: POSIX\n"
62 #else
63 "Threads: Disabled\n"
64 #endif
65 #if defined NDEBUG && !defined DEBUG
66 "Assertions: Disabled\n"
67 #elif defined DEBUG && !defined NDEBUG
68 "Assertions: Enabled\n"
69 #elif defined NDEBUG
70 "Assertions: Probably disabled\n"
71 #else
72 "Assertions: Probably enabled\n"
73 #endif
74 #if OPTIMIZATIONS == 1
75 "Optimizations: Enabled\n"
76 #else
77 "Optimizations: Disabled\n"
78 #endif
82 * User interface includes
85 #include "ui/ui.h"
88 * main() calls the input handler.
91 int main(int argc, const char *argv[]){
93 /*
94 * Call UI routine to handle options and other interface input.
95 * Returning from this function indicates program success.
98 ui::handle_input(argc, argv, package_name, short_version, version);
100 return 0;