~luke-jr/tr2norigins/tr2norigins-0.4

« back to all changes in this revision

Viewing changes to src/engine/ePlayer.cpp

  • Committer: Luke Dashjr
  • Date: 2010-04-20 23:31:14 UTC
  • mfrom: (690.1.6 compile)
  • Revision ID: luke+bzr@dashjr.org-20100420233114-w7ahi17o9er1tygd
MERGE: New look and textures,

Show diffs side-by-side

added added

removed removed

Lines of Context:
1051
1051
     "For additional information and help visit the website:0x3b49c9 http://tr2norigins.net",
1052
1052
     "Good 0xd657e6Match",
1053
1053
     "Well done!",
1054
 
     "Lightcycles have enabled people to make more mistakes faster than almost any invention in history, with the possible exception of tequila",
 
1054
     "Lightcycles have enabled people to make mistakes faster than any invention in history, with the possible exception of tequila",
1055
1055
     "To err is human, but to really foul things up you need a (om|>ut3r.",
1056
1056
     "0xd657e6<.))))><0x8044ff_.~`'~.__.~`'~.__.~`'~.__.~`'~._",
1057
1057
     "0x2948c6Ahhhhhhhh the 0x4c4bcdkeys are 0x6e4ed3haunted and 0x9151d9goin on 0xb354e0their 0xc555e3own0xd657e6!!!!!",
1359
1359
    // write flag and name
1360
1360
    *m << p->loginWanted;
1361
1361
 
1362
 
        //if globalID not specified
1363
 
        if ( lp->globalID.StrPos("@") <= -1 ) 
1364
 
        { 
1365
 
                lp->globalID << lp->globalID + "@stats"; 
1366
 
        }
1367
1362
    // write authentication name
1368
1363
    *m << lp->globalID;
1369
1364
 
1404
1399
        {
1405
1400
        tmp_login_text << tOutput( "$login_request_for_stats" );
1406
1401
        }
 
1402
        else if ( authority == "local" )
 
1403
        {
 
1404
        tmp_login_text << tOutput( "$login_request_local", authority );
 
1405
        }
1407
1406
        else if ( authority.Len() > 1 )
1408
1407
        {
1409
1408
        tmp_login_text << tOutput( "$login_request", authority );
1410
1409
        }
1411
1410
        else
1412
1411
        {
1413
 
        tmp_login_text << tOutput( "$login_request_local" );
 
1412
        tmp_login_text << tOutput( "$login_request_for_stats" );
 
1413
        authority = "stats";
1414
1414
        }
1415
1415
        
1416
1416
        p->loginWanted =
3751
3751
 
3752
3752
 
3753
3753
static std::deque<tString> se_chatHistory; // global since the class doesn't live beyond the execution of the command
3754
 
static int se_chatHistoryMaxSize=10; // maximal size of chat history
 
3754
static int se_chatHistoryMaxSize=15; // maximal size of chat history
3755
3755
static tSettingItem< int > se_chatHistoryMaxSizeConf("HISTORY_SIZE_CHAT",se_chatHistoryMaxSize);
3756
3756
 
3757
3757
class eMenuItemChat : uMenuItemStringWithHistory{
3839
3839
 
3840
3840
        uMenu chat_menu("",false);
3841
3841
        eMenuItemChat s(&chat_menu,se_say,se_chatter);
3842
 
        chat_menu.SetCenter(-.75);
 
3842
        chat_menu.SetCenter(-.65);
3843
3843
        chat_menu.SetBot(-2);
3844
3844
        chat_menu.SetTop(-.7);
3845
3845
        chat_menu.Enter();