Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2010, 3:51:43 PM (15 years ago)
Author:
scurcio
Message:

final changes in struct for the objectMap

Location:
code/branches/hudelements
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudelements/data/gui/scripts/InGamePickupHUD.lua

    r6631 r6917  
    1313
    1414function P:init()
    15   -- wie kann man hier dynamisch neue ListBoxItems erstellen?
    16   -- wie können sich diese ListBoxItems selbst aktualisieren? <<Tickable?>>
    1715end
    1816
     
    2119
    2220
     21function P.button_Pickup_clicked(e)
     22    orxonox.Game:getInstance():popState()
     23    orxonox.Game:getInstance():popState()
     24    orxonox.Game:getInstance():requestState("mainmenu")
     25    hideGUI("InGameMenu")
     26end
    2327
    2428function P.close_button_clicked()
  • code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc

    r6914 r6917  
    217217//            aimMarker_->hide();
    218218
    219                 if (!tempRadarViewable->second.wasOutOfView__)
     219                if (!tempRadarViewable->second.wasOutOfView_)
    220220                {
    221221                    tempRadarViewable->second.panel_->setMaterialName("Orxonox/NavArrows");
    222                     tempRadarViewable->second.wasOutOfView__ = true;
     222                    tempRadarViewable->second.wasOutOfView_ = true;
    223223                }
    224224
     
    281281                {
    282282                    tempRadarViewable->second.panel_->setMaterialName("Orxonox/NavTDC");
    283                     tempRadarViewable->second.wasOutOfView__ = false;
     283                    tempRadarViewable->second.wasOutOfView_ = false;
    284284                }
    285285
     
    397397        activeObjectList_.erase(viewable);
    398398    }
     399   
    399400}
    400401
  • code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.h

    r6914 r6917  
    113113     
    114114      Ogre::PanelOverlayElement* panel_;
    115       Ogre::TextAreaOverlayElement text_;
     115      Ogre::TextAreaOverlayElement* text_;
    116116      bool outOfView_;
    117117      bool wasOutOfView_;
Note: See TracChangeset for help on using the changeset viewer.