BWAPI
trunk/bwapi/BWAPI/Source/BW/Race.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include <string>
00004 #include <Util/Types.h>
00005 
00006 namespace BW
00007 {
00008   /*  Notes: I think this is ID & 0x07
00009   */
00011   namespace Race
00012   {
00013     enum Enum
00014     {
00015       Zerg    = 0,
00016       Terran  = 1,
00017       Protoss = 2,
00018       Other   = 3,
00019       Select  = 5,
00020       Random  = 6,
00021       None    = 7,
00022     };
00023     u8 stringToRace(const std::string& name);
00024     std::string raceName(u8 race);
00025   }
00026 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines