gtkradiant/docs/developer/XMLmap.txt
TTimo 8037810110 transfer from internal tree r5311 branches/1.4-gpl
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-09-12 18:54:28 +00:00

27 lines
839 B
Text

XMLmap branch:
need to move the map loading / saving code out in a module
what are the main dependencies?
main functions to move out:
Map_LoadFile
Map_SaveFile
(and all their direct dependencies/call graph)
ex Entity_Parse Brush_Parse Entity_Write Brush_Write
but? even changing to XML format we would need those functions too?
is it worth having the .map and .xmlmap through a same interface?
what dependencies?
-> active_brushes
-> GetToken etc.
-> LoadFile (load into a buffer) .. that's VFS right?
first step: move some code out in map module and try to compile it..
Map_LoadFile for example
or the whole map.cpp?
first problem: entity_t is declared in entity.h, currently not available to
the plugin API. Clean way would be to create a wrapper, but speed says we
should move entity_t to qertypes.h..