Am 31.10.2006 um 21:52 schrieb Barry Swan:
> I really do need to get round to not storing the whole
damn map in
> text format though - build times would come down so
drastically if
> I just applied changes to the darned pre-built W3D
instead.
Hi Barry,
I may be completely wrong, since the last time I recommended
not to
store the data in text format you didn't even answer.
Why don't you store the data in binary format as list?
The vList xtra approach may be discouraging due to the need
of an
additional xtra, but have you considered storing the data in
the w3d
member directly ?
You know, that you can just use the members userdata
property, which
will persist after saving the member ?
member("scene").userdata = [#lightmap,
[point(0,0), point(1,1)]]
or isn't it a good idea, because the data would persist in
memory?
(dunno how many maps you have and how much memory they
consume in
binary format)
But I think the biggest downside of storing the data in
string format
is the performance of string parsing and the type conversion
of
strings to integer/float/point/vector etc.
---------------------------
|||
ażex
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|