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