/*! \file edevents.h \brief Interface for the event editing of the mapeditor */ // $Id: edevents.h,v 1.10 2004/07/12 18:15:05 mbickel Exp $ // // $Log: edevents.h,v $ // Revision 1.10 2004/07/12 18:15:05 mbickel // Lots of tweaks and fixed for more portability and compilation with mingw // // Revision 1.9 2004/01/16 15:33:46 mbickel // Completely rewritten game event system // TPWM-decoding-Patch // Fixed: swallog message: wrong coordinates // Autotraining for units with max ammo only // Movement required for clearing mines // Unit names can be edited // weather dependen object properties // Unit swallowed by ground -> unified message // units cannot enter enemy transports // Building entry has constant movemalus // Message for resource transfer for providing player // increased ammo production cost // Fixed: unit could attack after movement (with RF on) although "no attack after move" property was set // Buildings: new properties: "ExternalResourceTransfer", "ExternalAmmoTransfer" // Container: Movemalus override for unloading // Startup map specified in ASC.INI // // Revision 1.8 2003/04/23 18:31:09 mbickel // Fixed: AI problems // Improved cheating detection in replay // // Revision 1.7 2001/08/09 10:28:22 mbickel // Fixed AI problems // Mapeditor can edit a units AI parameter // // Revision 1.6 2001/01/28 14:04:13 mbickel // Some restructuring, documentation and cleanup // The resource network functions are now it their own files, the dashboard // as well // Updated the TODO list // // Revision 1.5 2000/08/06 11:39:03 mbickel // New map paramter: fuel globally available // Mapeditor can now filter buildings too // Fixed unfreed memory in fullscreen image loading // Fixed: wasted cpu cycles in building // map parameters can be specified when starting a map // map parameters are reported to all players in multiplayer games // // Revision 1.4 2000/05/23 20:40:43 mbickel // Removed boolean type // // Revision 1.3 2000/03/29 09:58:45 mbickel // Improved memory handling for DOS version // Many small changes I can't remember ;-) // // Revision 1.2 1999/11/16 03:41:29 tmwilson // Added CVS keywords to most of the files. // Started porting the code to Linux (ifdef'ing the DOS specific stuff) // Wrote replacement routines for kbhit/getch for Linux // Cleaned up parts of the code that gcc barfed on (char vs unsigned char) // Added autoconf/automake capabilities // Added files used by 'automake --gnu' // // /* This file is part of Advanced Strategic Command; http://www.asc-hq.de Copyright (C) 1994-1999 Martin Bickel and Marc Schellenberger This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef edeventH #define edeventH #define clear_and_or 124 extern void event(void); extern void setmapparameters( void ); extern void getxy( int *x, int *y); #endif