save_interest.h

Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2002-2010 UFO: Alien Invasion.
00008 
00009 This program is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 as published by the Free Software Foundation; either version 2
00012 of the License, or (at your option) any later version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00017 
00018 See the GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 */
00024 
00025 #ifndef SAVE_INTEREST_H
00026 #define SAVE_INTEREST_H
00027 
00028 #define SAVE_INTERESTS "interests"
00029 
00030 #define SAVE_INTERESTS_LASTINCREASEDELAY "lastIncreaseDelay"
00031 #define SAVE_INTERESTS_LASTMISSIONSPAWNEDDELAY "lastMissionSpawnedDelay"
00032 #define SAVE_INTERESTS_OVERALL "overall"
00033 
00034 #define SAVE_INTERESTS_INTEREST "interest"
00035 #define SAVE_INTERESTS_ID "id"
00036 #define SAVE_INTERESTS_VAL "value"
00037 
00038 #define SAVE_INTERESTCAT_NAMESPACE "saveInterestCat"
00039 static const constListEntry_t saveInterestConstants[] = {
00040     {SAVE_INTERESTCAT_NAMESPACE"::none", INTERESTCATEGORY_NONE},
00041     {SAVE_INTERESTCAT_NAMESPACE"::recon", INTERESTCATEGORY_RECON},
00042     {SAVE_INTERESTCAT_NAMESPACE"::terror", INTERESTCATEGORY_TERROR_ATTACK},
00043     {SAVE_INTERESTCAT_NAMESPACE"::baseAttack", INTERESTCATEGORY_BASE_ATTACK},
00044     {SAVE_INTERESTCAT_NAMESPACE"::building", INTERESTCATEGORY_BUILDING},
00045     {SAVE_INTERESTCAT_NAMESPACE"::supply", INTERESTCATEGORY_SUPPLY},
00046     {SAVE_INTERESTCAT_NAMESPACE"::XVI", INTERESTCATEGORY_XVI},
00047     {SAVE_INTERESTCAT_NAMESPACE"::rescue", INTERESTCATEGORY_RESCUE},
00048     {SAVE_INTERESTCAT_NAMESPACE"::intercept", INTERESTCATEGORY_INTERCEPT},
00049     {SAVE_INTERESTCAT_NAMESPACE"::harvest", INTERESTCATEGORY_HARVEST},
00050     {SAVE_INTERESTCAT_NAMESPACE"::alienBase", INTERESTCATEGORY_ALIENBASE},
00051     {NULL, -1}
00052 };
00053 
00054 #endif
00055 
00056 /*
00057 DTD:
00058 
00059 <!ELEMENT interests interest*>
00060 <!ATTLIST interests
00061     lastIncreaseDelay       CDATA       '0'
00062     lastMissionSpawnedDelay CDATA       '0'
00063     overall                 CDATA       '0'
00064 >
00065 
00066 <!ELEMENT interest EMPTY>
00067 <!ATTLIST interest
00068     id          (none, recon, terror,
00069                 baseAttack, building,
00070                 supply, XVI, intercept,
00071                 harvest, alienBase)     #REQUIRED
00072     value                   CDATA       '0'
00073 >
00074 
00075 */
00076 

Generated by  doxygen 1.6.2