UnstableChanges

Summary

  1. [HUD_HS16] updated HUDPickupSystem also in HUDTemplatesFPS.oxo
  2. fixed two bugs in PickupInventory.lua: - the update function had a messed up logic regarding the use-button in the detail window (condition was partially inverted) - updating the event subscription of the use-button in the detail-window doesn't seem to work - probably CEGUI doesn't like updating/changing/overriding an event while begin IN a mouse-click-event already. moving the logic to the Use/Unuse-function instead seems to work.
  3. [HUD_HS16] removed unused function
  4. [HUD_HS16] fixed issue that the hud shows pickups of ALL players/bots instead of just the own spaceship. fixed this by comparing objectIDs note: network calls currently support only 5 arguments, so I removed representationObjectId which doesn't seem to be used (neither in C++ nor in Lua)
  5. fixed nullptr access when two pawns trigger a pickup-spawner at the same time (for the second pawn in the list, the pickup is already nullptr -> crash)
  6. [HUD_HS16] pickups are now always shown in hud, but much smaller. removed HUDPickupTemplate.oxo
  7. [HUD_HS16] removed HUDPickupItem as it is not really necessary (it's just an ogre overlay). also fixed several memory-leaks and some issues with positioning and visibility of the pickup items
Revision 11711 by Fabian Landau:
[HUD_HS16] updated HUDPickupSystem also in HUDTemplatesFPS.oxo
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/data/overlays/HUDTemplatesFPS.oxodata/overlays/HUDTemplatesFPS.oxo
Revision 11710 by Fabian Landau:
fixed two bugs in PickupInventory.lua:
- the update function had a messed up logic regarding the use-button in the detail window (condition was partially inverted)
- updating the event subscription of the use-button in the detail-window doesn't seem to work - probably CEGUI doesn't like updating/changing/overriding an event while begin IN a mouse-click-event already. moving the logic to the Use/Unuse-function instead seems to work.
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/data/gui/scripts/PickupInventory.luadata/gui/scripts/PickupInventory.lua
Revision 11709 by Fabian Landau:
[HUD_HS16] removed unused function
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.ccsrc/modules/overlays/hud/HUDPickupSystem.cc
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.hsrc/modules/overlays/hud/HUDPickupSystem.h
Revision 11708 by Fabian Landau:
[HUD_HS16] fixed issue that the hud shows pickups of ALL players/bots instead of just the own spaceship. fixed this by comparing objectIDs
note: network calls currently support only 5 arguments, so I removed representationObjectId which doesn't seem to be used (neither in C++ nor in Lua)
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.ccsrc/modules/overlays/hud/HUDPickupSystem.cc
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.hsrc/modules/overlays/hud/HUDPickupSystem.h
The file was modified/code/trunk/src/modules/pickup/PickupManager.ccsrc/modules/pickup/PickupManager.cc
The file was modified/code/trunk/src/modules/pickup/PickupManager.hsrc/modules/pickup/PickupManager.h
The file was modified/code/trunk/src/modules/pickup/PickupPrereqs.hsrc/modules/pickup/PickupPrereqs.h
The file was modified/code/trunk/src/orxonox/controllers/ActionpointController.hsrc/orxonox/controllers/ActionpointController.h
Revision 11707 by Fabian Landau:
fixed nullptr access when two pawns trigger a pickup-spawner at the same time (for the second pawn in the list, the pickup is already nullptr -> crash)
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/src/modules/pickup/PickupSpawner.ccsrc/modules/pickup/PickupSpawner.cc
Revision 11706 by Fabian Landau:
[HUD_HS16] pickups are now always shown in hud, but much smaller. removed HUDPickupTemplate.oxo
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/data/levels/pickups.oxwdata/levels/pickups.oxw
The file was removed/code/trunk/data/overlays/HUDPickupTemplate.oxodata/overlays/HUDPickupTemplate.oxo
The file was modified/code/trunk/data/overlays/HUDTemplates3.oxodata/overlays/HUDTemplates3.oxo
Revision 11705 by Fabian Landau:
[HUD_HS16] removed HUDPickupItem as it is not really necessary (it's just an ogre overlay). also fixed several memory-leaks and some issues with positioning and visibility of the pickup items
Change TypePath in RepositoryPath in Workspace
The file was modified/code/trunk/data/overlays/HUDPickupTemplate.oxodata/overlays/HUDPickupTemplate.oxo
The file was modified/code/trunk/data/overlays/HUDTemplates3.oxodata/overlays/HUDTemplates3.oxo
The file was modified/code/trunk/src/modules/overlays/OverlaysPrereqs.hsrc/modules/overlays/OverlaysPrereqs.h
The file was modified/code/trunk/src/modules/overlays/hud/CMakeLists.txtsrc/modules/overlays/hud/CMakeLists.txt
The file was removed/code/trunk/src/modules/overlays/hud/HUDPickupItem.ccsrc/modules/overlays/hud/HUDPickupItem.cc
The file was removed/code/trunk/src/modules/overlays/hud/HUDPickupItem.hsrc/modules/overlays/hud/HUDPickupItem.h
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.ccsrc/modules/overlays/hud/HUDPickupSystem.cc
The file was modified/code/trunk/src/modules/overlays/hud/HUDPickupSystem.hsrc/modules/overlays/hud/HUDPickupSystem.h