Changeset 9023 in orxonox.OLD for branches/multi_player_map/src/util
- Timestamp:
- Jul 2, 2006, 11:16:47 PM (18 years ago)
- 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 86 86 subscribeEvent( ES_MENU, KeyMapper::PEV_FIRE1 ); 87 87 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 );93 88 this->input = new OrxGui::GLGuiInputLine(); 94 89 this->input->setAbsCoor2D(180, 5); … … 106 101 unsubscribeEvent( ES_MENU, SDLK_F1 ); 107 102 unsubscribeEvent( ES_MENU, KeyMapper::PEV_FIRE1 ); 108 109 if ( this->notifier )110 {111 delete this->notifier;112 this->notifier = NULL;113 }114 103 115 104 if ( this->input ) … … 597 586 598 587 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); 600 589 } 601 590 -
branches/multi_player_map/src/util/multiplayer_team_deathmatch.h
r9008 r9023 83 83 OrxGui::GLGuiBox* box; 84 84 85 OrxGui::GLGuiNotifier* notifier;86 85 OrxGui::GLGuiInputLine* input; 87 86
Note: See TracChangeset
for help on using the changeset viewer.