hedgewars/uChat.pas
changeset 3676 fa29572fa56a
parent 3539 c3d1fccbe0ed
child 3969 5f4ef3db0a65
equal deleted inserted replaced
3674:10f3099b497c 3676:fa29572fa56a
    27 
    27 
    28 procedure AddChatString(s: shortstring);
    28 procedure AddChatString(s: shortstring);
    29 procedure DrawChat;
    29 procedure DrawChat;
    30 procedure KeyPressChat(Key: Longword);
    30 procedure KeyPressChat(Key: Longword);
    31 
    31 
    32 var UserNick: shortstring;
    32 var UserNick: shortstring = '';
    33     ChatReady: boolean;
    33     ChatReady: boolean;
    34     showAll: boolean;
    34     showAll: boolean;
    35 
    35 
    36 implementation
    36 implementation
    37 uses uMisc, uStore, uConsts, SDLh, uConsole, uKeys, uTeams;
    37 uses uMisc, uStore, uConsts, SDLh, uConsole, uKeys, uTeams;
   314 
   314 
   315 procedure initModule;
   315 procedure initModule;
   316 begin
   316 begin
   317     lastStr:= 0;
   317     lastStr:= 0;
   318     visibleCount:= 0;
   318     visibleCount:= 0;
   319     UserNick:= '';
       
   320     showAll:= false;
   319     showAll:= false;
   321     ChatReady:= false;
   320     ChatReady:= false;
   322     missedCount:= 0;
   321     missedCount:= 0;
   323 end;
   322 end;
   324 
   323 
   325 procedure freeModule;
   324 procedure freeModule;
   326 begin
   325 begin
   327 
   326     UserNick:= '';
   328 end;
   327 end;
   329 
   328 
   330 end.
   329 end.