navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 15 years ago

Last modified 14 years ago

#173 new defect

LoadParam Dependencies

Reported by: bensch Owned by: bensch
Priority: minor Milestone: Old Orxonox tickets orx-v0
Component: GameLoader Version:
Keywords: Dependency LoadParam Cc:
Referenced By: References:


LoadParam Dependencies

Loading a level often requires an entity's dependency to another one. Currently if you want to have such a dependency, the dependent one must be written in the XML in front of the one that requires this entity.

For this to work, an easy method can be applied:

  1. Generate Entities.
  2. BaseObject::LoadParam of these entities (Reads in their names)
  3. virtual LoadParam function call.

Like this the ordering is not important anymore, and it is also possible to have circle dependencies.

Change History (2)

comment:1 Changed 15 years ago by bensch

  • Priority changed from blocker to minor

comment:2 Changed 14 years ago by bknecht

  • Milestone changed from 0.5.0_basic_single_player to Old Orxonox tickets

Milestone 0.5.0_basic_single_player deleted

Note: See TracTickets for help on using tickets.