X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=docs%2Fdeveloper%2FXMLmap.txt;h=07fe15a328282c148e14c6fc6a1ddace4f035baf;hp=a88dd7f9c3db054e7652283c13c4e34dbd4c968e;hb=2b5ef55c7c51742f63d271e7b77c0b7e6e2ed2e5;hpb=b1bfb19ecd5ec8355065b2028a6de0c850197b2d diff --git a/docs/developer/XMLmap.txt b/docs/developer/XMLmap.txt index a88dd7f9..07fe15a3 100644 --- a/docs/developer/XMLmap.txt +++ b/docs/developer/XMLmap.txt @@ -1,27 +1,27 @@ -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.. - +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.. +