Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9023 in orxonox.OLD for branches/multi_player_map/src/util


Ignore:
Timestamp:
Jul 2, 2006, 11:16:47 PM (18 years ago)
Author:
rennerc
Message:

MultiPlayerTeamDeathMatch: use hud notifier instead of own

Location:
branches/multi_player_map/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/multi_player_map/src/util/multiplayer_team_deathmatch.cc

    r9008 r9023  
    8686  subscribeEvent( ES_MENU, KeyMapper::PEV_FIRE1 );
    8787
    88   this->notifier = new OrxGui::GLGuiNotifier();
    89   this->notifier->show();
    90   this->notifier->setAbsCoor2D(5, 30);
    91   this->notifier->setFadeAge( 6.0 );
    92   this->notifier->setHideAge( 8.0 );
    9388  this->input = new OrxGui::GLGuiInputLine();
    9489  this->input->setAbsCoor2D(180, 5);
     
    106101  unsubscribeEvent( ES_MENU, SDLK_F1 );
    107102  unsubscribeEvent( ES_MENU, KeyMapper::PEV_FIRE1 );
    108 
    109   if ( this->notifier )
    110   {
    111     delete this->notifier;
    112     this->notifier = NULL;
    113   }
    114103
    115104  if ( this->input )
     
    597586
    598587  PRINTF(0)("CHATMESSAGE %s (%d): %s\n", name.c_str(), userId, message.c_str() );
    599   notifier->pushNotifyMessage(name + ": " + message);
     588  State::getPlayer()->getHud().notifyUser(name + ": " + message);
    600589}
    601590
  • branches/multi_player_map/src/util/multiplayer_team_deathmatch.h

    r9008 r9023  
    8383    OrxGui::GLGuiBox* box;
    8484   
    85     OrxGui::GLGuiNotifier* notifier;
    8685    OrxGui::GLGuiInputLine* input;
    8786   
Note: See TracChangeset for help on using the changeset viewer.