[Gtkradiant] Converting between map formats/Map module API ?

Hydra gtkradiant@zerowing.idsoftware.com
Sun, 13 Jan 2002 23:27:31 +0100


How are going to handle conversion from one map format to the new xml format
?

At the moment the routines to load and save maps use the required map module
to load and save maps and there's no option to save using a different
plugin.

It would make sense that when you're doing a save you should be able to
specify a file type from the filters list.  The filter list should be built
by checking the list of plugins that were loaded for "map module" plugins.
Currently you can't get a list of extensions from the plugin's
"version_name" (which are currently "quake3" and "xml" for map modules) so
the map module API needs a way of giving radiant a list of file extensions
it supports so that radiant can build a table of extensions-to-plugins.

Might be a good idea to get this API addition in now, so that we can then
build all the rest of the stuff in the synapse branch around it.  (Just so
that map plugin writers can starting writing new plugins based on the new
API that came in with the map-module branch's changes).

Should I/we enter this on bugzilla ?

Dom / Hydra