Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8929 for code/branches


Ignore:
Timestamp:
Nov 9, 2011, 4:12:35 PM (13 years ago)
Author:
mspaling
Message:

added xmlport for rvnames and misc menu options

Location:
code/branches/hud
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/data/gui/scripts/MiscConfigMenu.lua

    r8729 r8929  
    3636    table.insert(P.commandList, "ChatOverlay displayTime_")
    3737    table.insert(P.commandList, "Core bDevMode_")
     38    table.insert(P.commandList, "HUDNavigation MarkerLimit_")
     39    table.insert(P.commandList, "HUDNavigation showDistance")
    3840
    3941    P.nameList = {}
     
    5658    table.insert(P.nameList, "Chat: display time")
    5759    table.insert(P.nameList, "Developer's Mode")
     60    table.insert(P.nameList, "Marker Limit")
     61    table.insert(P.nameList, "Show Distance next to cursor")
    5862
    5963    P.linesList = {}
  • code/branches/hud/data/levels/underAttack.oxw

    r8706 r8929  
    5151      maxhealth         = 10000
    5252      initialhealth     = 10000
     53      RVName            = "Transporter"
    5354    >
    5455
  • code/branches/hud/src/modules/overlays/hud/HUDNavigation.cc

    r8920 r8929  
    6464{
    6565  SetConfigValue(markerLimit_, 3);
     66  SetConfigValue(showDistance, false);
    6667}
    6768
     
    7879    setTextSize ( 0.05f );
    7980    setNavMarkerSize ( 0.05f );
    80     this->showDistance = false;
    8181}
    8282
  • code/branches/hud/src/orxonox/worldentities/pawns/Pawn.cc

    r8855 r8929  
    129129        XMLPortParam(Pawn, "reloadrate", setReloadRate, getReloadRate, xmlelement, mode).defaultValues(0);
    130130        XMLPortParam(Pawn, "reloadwaittime", setReloadWaitTime, getReloadWaitTime, xmlelement, mode).defaultValues(1.0f);
     131   
     132        XMLPortParam ( RadarViewable, "RVName", setRVName, getRVName, xmlelement, mode );
    131133    }
    132134
Note: See TracChangeset for help on using the changeset viewer.