00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __UPGRADE_H__
00029 #define __UPGRADE_H__
00030
00032
00033
00034
00035
00036
00037 class CFile;
00038 class CPlayer;
00039
00040
00041
00042
00043
00045 extern void SaveUpgrades(CFile *file);
00046
00048 extern void UpgradesCclRegister(void);
00049
00050
00051
00052
00053 extern int UnitTypeIdByIdent(const std::string &sid);
00054
00055
00056
00057
00058
00059
00060
00061
00062 extern int UnitIdAllowed(const CPlayer *player, int id);
00063
00065
00066 #endif // !__UPGRADE_H__