Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

source/disaster.h

Go to the documentation of this file.
00001 
00004 #if !defined(_DISASTER_H_)
00005 #define _DISASTER_H_
00006 
00007 #if defined(__cplusplus)
00008 extern "C" {
00009 #endif
00010 
00011 #include <appconfig.h>
00012 #include <sections.h>
00013 #include <compilerpragmas.h>
00014 
00023 EXPORT void DoNastyStuffTo(welem_t type, UInt16 probability, UInt8 purge)
00024     DISASTER_SECTION;
00025 
00027 EXPORT void DoCommitmentNasties(void) DISASTER_SECTION;
00028 
00030 EXPORT void DoRandomDisaster(void) DISASTER_SECTION;
00031 
00036 EXPORT void DoSpecificDisaster(disaster_t disaster) DISASTER_SECTION;
00037 
00044 EXPORT Int16 UpdateDisasters(void) DISASTER_SECTION;
00045 
00055 EXPORT Int16 BurnField(UInt16 x, UInt16 y, Int16 forceit) DISASTER_SECTION;
00056 
00063 EXPORT Int16 CreateMonster(UInt16 x, UInt16 y) DISASTER_SECTION;
00064 
00071 EXPORT Int16 CreateDragon(UInt16 x, UInt16 y) DISASTER_SECTION;
00072 
00074 EXPORT void MoveAllObjects(void) DISASTER_SECTION;
00075 
00082 EXPORT Int16 MeteorDisaster(UInt16 x, UInt16 y) DISASTER_SECTION;
00083 
00084 #if defined(__cplusplus)
00085 }
00086 #endif
00087 
00088 #endif /* _DISASTER_H_ */

Generated on Mon Aug 30 19:44:16 2004 for pocketcity by doxygen1.2.18