controls.h

Go to the documentation of this file.
00001 
00007 /*
00008     This file is part of Advanced Strategic Command; http://www.asc-hq.de
00009     Copyright (C) 1994-2010  Martin Bickel  and  Marc Schellenberger
00010 
00011     This program is free software; you can redistribute it and/or modify
00012     it under the terms of the GNU General Public License as published by
00013     the Free Software Foundation; either version 2 of the License, or
00014     (at your option) any later version.
00015 
00016     This program is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU General Public License for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with this program; see the file COPYING. If not, write to the 
00023     Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
00024     Boston, MA  02111-1307  USA
00025 */
00026 
00027 #if defined(karteneditor) 
00028  #error the mapeditor should not need to use controls.h !
00029 #endif
00030 
00031 
00032 #ifndef controlsH
00033 #define controlsH
00034 #include "typen.h"
00035 #include "astar2.h"
00036 
00037 
00041 extern pair<int,int> calcMoveMalus( const MapCoordinate3D& start,
00042                                     const MapCoordinate3D& dest,
00043                                     const Vehicle*     vehicle,
00044                                     WindMovement* wm = NULL,
00045                                     bool*  inhibitAttack = NULL,
00046                                     bool container2container  = false );
00047 
00049 extern int windbeeline ( const MapCoordinate& start, const MapCoordinate& dest, WindMovement* wm );
00050 
00051 extern bool checkUnitsForCrash( Player& player, ASCString& text );
00052 
00053 
00054 #endif

Generated on Mon May 21 01:26:30 2012 for Advanced Strategic Command by  doxygen 1.5.1