Core.Object | +--Engine.Console | +--UWindow.WindowConsole | +--UMenu.UnrealConsole | +--Botpack.TournamentConsole
bool
bShowSpeech
void
AddMessage(string NewMessage)
CreateMessage()
/* * Tutorial Message Interface */
CreateSpeech()
/* * Speech Interface */
EvaluateMatch(int PendingChange, bool Evaluate)
HideMessage()
HideSpeech()
LoadGame()
PrintActionMessage(Canvas C, string BigMessage)
ShowMessage()
ShowSpeech()
StartNewGame()
00001 class TournamentConsole extends UnrealConsole 00002 abstract; 00003 00004 // Speech 00005 var bool bShowSpeech; 00006 00007 function EvaluateMatch(int PendingChange, bool Evaluate) 00008 { 00009 } 00010 00011 function StartNewGame() 00012 { 00013 } 00014 00015 function LoadGame() 00016 { 00017 } 00018 00019 /* 00020 * Tutorial Message Interface 00021 */ 00022 00023 function CreateMessage() 00024 { 00025 // Implemented in child. 00026 } 00027 00028 function ShowMessage() 00029 { 00030 // Implemented in child. 00031 } 00032 00033 function HideMessage() 00034 { 00035 // Implemented in child. 00036 } 00037 00038 function AddMessage(string NewMessage) 00039 { 00040 // Implemented in child. 00041 } 00042 00043 /* 00044 * Speech Interface 00045 */ 00046 00047 function CreateSpeech() 00048 { 00049 // Implemented in child. 00050 } 00051 00052 function ShowSpeech() 00053 { 00054 // Implemented in child. 00055 } 00056 00057 function HideSpeech() 00058 { 00059 // Implemented in child. 00060 } 00061 00062 function PrintActionMessage( Canvas C, string BigMessage ) 00063 { 00064 local float XL, YL; 00065 local class<FontInfo> FC; 00066 00067 FC = Class<FontInfo>(DynamicLoadObject(class'ChallengeHUD'.default.FontInfoClass, class'Class')); 00068 00069 if ( Len(BigMessage) > 10 ) 00070 C.Font = FC.Static.GetStaticBigFont(C.ClipX); 00071 else 00072 C.Font = FC.Static.GetStaticHugeFont(C.ClipX); 00073 C.bCenter = false; 00074 C.StrLen( BigMessage, XL, YL ); 00075 C.SetPos(FrameX/2 - XL/2 + 1, (FrameY/3)*2 - YL/2 + 1); 00076 C.DrawColor.R = 0; 00077 C.DrawColor.G = 0; 00078 C.DrawColor.B = 0; 00079 C.DrawText( BigMessage, false ); 00080 C.SetPos(FrameX/2 - XL/2, (FrameY/3)*2 - YL/2); 00081 C.DrawColor.R = 0; 00082 C.DrawColor.G = 0; 00083 C.DrawColor.B = 255; 00084 C.DrawText( BigMessage, false ); 00085 } 00086 00087 defaultproperties 00088 { 00089 }