BWAPI
trunk/bwapi/Replay_Tool/Actions.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "FileReader.h"
00004 #include <windows.h>
00005 
00006 extern DWORD g_dwHighestFrame;
00007 void ParseActions(FileReader &fr);
00008 
00009 namespace Actions
00010 {
00011   static const char *pszGroupType[] =
00012   {
00013     "Save",
00014     "Recall",
00015     "Add"
00016   };
00017 
00018   static const char *pszGameSpeed[] =
00019   {
00020     "Slowest",
00021     "Slower",
00022     "Slow",
00023     "Normal",
00024     "Fast",
00025     "Faster",
00026     "Fastest"
00027   };
00028 
00029   static const char *pszLatency[] =
00030   {
00031     "Low",
00032     "High",
00033     "Extra High"
00034   };
00035 
00036   static const char *pszLeaveType[] =
00037   {
00038     "Quit",
00039     "Defeat",
00040     "Victory",
00041     "Finished",
00042     "Draw",
00043     "Dropped"
00044   };
00045 
00046   static const char *pszActionNames[] =
00047   {
00048     "Public Chat",
00049     "Private Chat",
00050     "Null Chat",
00051     "0x03",
00052     "0x04",
00053     "Keep Alive",
00054     "Save Game",
00055     "Load Game",
00056     "Restart Game",
00057     "Select",
00058     "Shift Select",
00059     "Shift Deselect",
00060     "Placebox",
00061     "Set Fog",
00062     "Set Allies",
00063     "Set Speed",
00064     "Pause",
00065     "Unpause",
00066     "Use Cheat",
00067     "Group Units",
00068     "Right Click",
00069     "Target Click",
00070     "0x16",
00071     "0x17",
00072     "Cancel Construction",
00073     "Cancel Morph",
00074     "Stop",
00075     "Carrier Stop",
00076     "Reaver Stop",
00077     "Nothing",
00078     "Return Cargo",
00079     "Train",
00080     "Cancel Train",
00081     "Cloak",
00082     "Decloak",
00083     "Morph Unit",
00084     "0x24",
00085     "Unsiege",
00086     "Siege",
00087     "Build Fighter",
00088     "Unload All",
00089     "Exit Transport",
00090     "Merge Archon",
00091     "Hold Position",
00092     "Burrow",
00093     "Unburrow",
00094     "Cancel Nuke",
00095     "Lift Off",
00096     "Research",
00097     "Cancel Research",
00098     "Upgrade",
00099     "Cancel Upgrade",
00100     "Cancel Addon",
00101     "Morph Building",
00102     "Use Stimpack",
00103     "Game Synchronization",
00104     "Voice On",
00105     "Voice Off",
00106     "Voice Squelch",
00107     "Voice Unsquelch",
00108     "[Lobby]Start Game",
00109     "[Lobby]Set Download Progress",
00110     "[Lobby]Set Slot Data (Host)",
00111     "[Lobby]Ask Version",
00112     "[Lobby]Confirm Version",
00113     "[Lobby]Set Race",
00114     "[Lobby]Set Force (Melee)",
00115     "[Lobby]Set Force (UMS)",
00116     "[Lobby]Set Slot",
00117     "[Lobby]Swap Players",
00118     "[Lobby]0x46",
00119     "[Lobby]0x47",
00120     "[Lobby]Set Game Seed",
00121     "[Lobby]Request Info",
00122     "[Lobby]Set Force Data",
00123     "[Lobby]Set Force Names",
00124     "[Lobby]Chat",
00125     "[Lobby]Chat2",
00126     "[Lobby]Boot Player",
00127     "[Lobby]File Transfer",
00128     "[Result]OK",
00129     "[Result]Network Error",
00130     "[Result]Unknown",
00131     "[Result]Briefing Started",
00132     "Skip Briefing",
00133     "Set Latency",
00134     "Set Replay Speed",
00135     "Leave Game",
00136     "Minimap Ping",
00137     "0x59",
00138     "Dark Archon Meld",
00139     "Make Game Public",
00140     "Chat"
00141   };
00142 
00143   enum Enum
00144   {
00145     Chat_Public,
00146     Chat_Private,
00147     Chat_Null,
00148     z__0x03,
00149     z__0x04,
00150     Keep_Alive,
00151     Save_Game,
00152     Load_Game,
00153     Restart_Game,
00154     Select_Units,
00155     Select_Delta_Add,
00156     Select_Delta_Del,
00157     Placebox,
00158     Set_Fog,
00159     Set_Allies,
00160     Set_Speed,
00161     Pause_On,
00162     Pause_Off,
00163     Cheat,
00164     Group_Units,
00165     Right_Click,
00166     Target_Click,
00167     z__0x16,
00168     z__0x17,
00169     Cancel_Construction,
00170     Cancel_Morph,
00171     Stop,
00172     Stop_Carrier,
00173     Stop_Reaver,
00174     Order_Nothing,
00175     Return,
00176     Train,
00177     Cancel_Train,
00178     Cloak_On,
00179     Cloak_Off,
00180     Unit_Morph,
00181     z__0x24,
00182     Tank_Unsiege,
00183     Tank_Siege,
00184     Build_Fighter,
00185     Unload_All,
00186     Exit_Transport,
00187     Summon_Archon,
00188     Hold_Position,
00189     Burrow_Down,
00190     Burrow_Up,
00191     Cancel_Nuke,
00192     Lift_Off,
00193     Research,
00194     Cancel_Research,
00195     Upgrade,
00196     Cancel_Upgrade,
00197     Cancel_Addon,
00198     Building_Morph,
00199     Stim_Pack,
00200     Synchro_Check,
00201     Voice_Off,
00202     Voice_On,
00203     Voice_Squelch,
00204     Voice_Enable,
00205     Start_Game,
00206     Set_Download_Progress,
00207     Set_Slot_Data,
00208     Version_Ask,
00209     Version_Confirm,
00210     Set_Race,
00211     Set_Force_Melee,
00212     Set_Force,
00213     Set_Slot,
00214     Swap_Player,
00215     z__0x46,
00216     z__0x47,
00217     Set_Seed,
00218     Request_Info,
00219     Set_Force_Data,
00220     Set_Force_Names,
00221     Chat_Lobby,
00222     Chat_Lobby_2,
00223     Kick_Player,
00224     Transfer_File,
00225     Response_Nothing,
00226     Response_Error,
00227     Response_Unknown,
00228     Response_Entered_Briefing,
00229     Briefing_Start,
00230     Set_Latency,
00231     Set_Replay_Speed,
00232     Leave_Game,
00233     Ping_Minimap,
00234     z__0x59,
00235     Summon_Dark_Archon,
00236     Set_Public_Game,
00237     Chat_Replay,
00238     Max
00239   };
00240   
00241 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines