Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 7 years ago

Last modified 4 years ago

#407 assigned task

Migrate to CEGUI 0.8

Reported by: landauf Owned by: bknecht
Priority: minor Milestone: Version 0.1 Codename: Arcturus
Component: GUI Version: 0.0.4
Keywords: Cc:
Referenced By: References:

Description (last modified by landauf)

CEGUI 0.8 was released this spring and it brings a lot of breaking changes. Orxonox compiles with CEGUI 0.8 since r9671, but it doesn't run because the lua scripts and the datafiles were written for 0.7.

Sooner or later we will have to migrate, so the only question is when and how: should we wait until CEGUI 0.8 is default on all platforms, then just migrate all scripts and data and drop support for CEGUI 0.7. Or should we migrate early and try to support both 0.7 and 0.8 at the same time.

http://www.cegui.org.uk/wiki/index.php/Changes_and_Porting_Tips_for_0.8.0

Change History (2)

comment:1 Changed 7 years ago by landauf

  • Description modified (diff)

comment:2 Changed 4 years ago by bknecht

  • Owner changed from nobody to bknecht
  • Status changed from new to assigned

Started to look into this.

My findings changes so far:

  • FindCEGUI.cmake script can find CEGUI of version 0.8 or 0.7 whichever one you've got installed.
  • Orxonox now compiles with either CEGUI version.
  • Certain functions were renamed so I renamed them in our lua code.
  • Apparently CEGUI's editor has a migrate script for CEGUI data. I'll have to check that out.

Todo:

  • Check out migrate script and migrate our data.
  • create branch to commit my changes into.
Note: See TracTickets for help on using tickets.