Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2018, 3:16:00 AM (6 years ago)
Author:
landauf
Message:

[HUD_HS16] fixed wrong dependency between overlays and pickup module: pickup should NOT depend on overlays; instead overlays should use pickup.

also reverted all changes from HUD_HS16 in PickupManager for several reasons:

  • calling HUDPickupSystem is not necessary anymore due to the fixed dependencies
  • adding a console command is not necessary because there is already a full GUI for this purpose (press F4)
  • limiting the number of pickups to 10 is a bad idea because PickupManager manages pickups for ALL players in the game
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/KeyBindMenu.lua

    r11353 r11704  
    3636    table.insert(commandList, "pause")
    3737    table.insert(commandList, "printScreen")
    38     table.insert(commandList, "useUnusePickup")
    3938    if orxonox.GUIManager:inDevMode() then
    4039        table.insert(commandList, "printScreenHD")
     
    7271    table.insert(nameList, "Pause")
    7372    table.insert(nameList, "Screenshot")
    74     table.insert(nameList, "Pickup 0")
    7573    if orxonox.GUIManager:inDevMode() then
    7674        table.insert(nameList, "HD screenshot")
Note: See TracChangeset for help on using the changeset viewer.