[Xpilot-hacks] block to polygon conversion
Uoti A Urpala
urpala at cc.helsinki.fi
Sun Mar 16 18:54:34 AST 2003
> I wrote some code today to convert a block based map to a polygon
> map on the fly. Currently it handles walls and fuel boxes. The idea is
> that the block based server can internally use polygon collision code
> while still using the old protocol to communicate with the clients.
Do you think it's really a valuable addition to be able to convert a
map automatically in the server, instead of using an external script?
I originally had some simple code for that (for testing the first
polygon server versions, before there was a polygon map format), but I
removed it later as I didn't want to code the complete conversion
routines in C. Even if you want to keep around an old-style block
array that can be sent to old clients for compatibility, it would be
easier to include that in the .xp2 map file when needed.
More information about the Xpilot-hacks
mailing list