Re: [warzone2100-dev] Campaign resource loading

2011-05-08 Thread Per Inge Mathisen
On Sun, May 8, 2011 at 8:34 PM, Christian Ohm wrote: > Is the ini loader able (to be hacked) to ignore _() around string values? Then > we could just have lines like "name = _("Basic Tutorial")" which automatically > get added to the po files. I guess for the integrated iniparser in 2.3 that'd > b

Re: [warzone2100-dev] Campaign resource loading

2011-05-08 Thread Christian Ohm
On Sunday, 8 May 2011 at 18:20, Kreuvf wrote: > 08.05.2011 15:41, Per Inge Mathisen wrote: > > [General] > > name = "Basic Tutorial" > > Difficulty = "Easy" > > Map = "data/base/wrf/tutorial/newtut.gam" > > Script = "script/tutorial/tutorial.js" > > Data = "data/base/wrf/tutorial/newtut.wrf" > Is

Re: [warzone2100-dev] Campaign resource loading

2011-05-08 Thread Kreuvf
08.05.2011 15:41, Per Inge Mathisen wrote: > [General] > name = "Basic Tutorial" > Difficulty = "Easy" > Map = "data/base/wrf/tutorial/newtut.gam" > Script = "script/tutorial/tutorial.js" > Data = "data/base/wrf/tutorial/newtut.wrf" Is the name translatable? > [...] This all sounds sane to me (whi

[warzone2100-dev] Campaign resource loading

2011-05-08 Thread Per Inge Mathisen
WIP proposal on how to redesign the campaign loading: "New Campaign" menu -> list of menu items, loaded from directory "campaigns", one ini file describing each. In addition, the old campaign, since it is unlikely that we will finish porting it in time for a stable release. "Tutorial" menu -> list