Am Freitag 27 April 2007 schrieb Mist:
> Proposed implementation
> 1) Change the parser to accept filename as an argument (if it's not done
> already).
> 2) Change next_scenario key to make it keep scenario filename instead of
> scenario id

This is error prone as Windows doesn't care for case on filenames while 
Mac/Linux do. It's also not required. Just make it a rule that scenarios / 
units must be below a directory of this name. Then the game can do a pass 
over all those and create a cache containing id, filename and a namespace 
which is either global or the name of the campaign. When fetching new stuff, 
that'll have to be added to the cache. Now you can search for any given id by 
searching first the current campaign (which also might be a MP scenario) then 
global and finally other stuff for external references (until we get 
something cleaner for those anyway).

Bye David

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to