]> git.pond.sub.org Git - empserver/commit - src/lib/common/file.c
(UNMAPPED_INIT, UNMAPPED_CACHE, ARRAY_INIT, ARRAY_TABLE, PTR_INIT)
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 3 Nov 2005 18:25:26 +0000 (18:25 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 3 Nov 2005 18:25:26 +0000 (18:25 +0000)
commit41bf5be715d25be051661515142a5ac344945afb
tree25564850b54bf4aafc071a89b2d7bf89237034ae
parentd71ab5a3e57293f8a98b6489c35a328b37d79d66
(UNMAPPED_INIT, UNMAPPED_CACHE, ARRAY_INIT, ARRAY_TABLE, PTR_INIT)
(PTR_CACHE): Rename.

(ARRAY_CACHE): New.
(empfile): Use it to set csize of elements EF_SHIP_CHR, EF_PLANE_CHR,
EF_LAND_CHR, EF_NUKE_CHR.
(ef_init_chr): Now that empfile[]'s initializer sets csize, remove the
temporary csize initialization here.  The value wasn't correct, but
better than nothing.
src/lib/common/file.c
src/lib/global/file.c