]> git.mxchange.org Git - flightgear.git/commit
Rewrote the tile scheme to use a "map" structure rather than "vector"
authorcurt <curt>
Sun, 3 Dec 2000 20:15:46 +0000 (20:15 +0000)
committercurt <curt>
Sun, 3 Dec 2000 20:15:46 +0000 (20:15 +0000)
commit39632b90b8976a55d1514ec602d7125140f87c76
treecb2ff8d710e03a78786353f9091eb2732c0f808f
parent11987d96c33534e23efac10a453488d2a8b1e241
Rewrote the tile scheme to use a "map" structure rather than "vector"
structure.  The new approach is simpler, more flexible, and more dynamics.
We can now dynamically size the tile cache up and down.  Also, the range
of tiles to load is now dependent on visibility and is calculated to always
bring in enough tiles.
src/Scenery/Makefile.am
src/Scenery/newcache.cxx [new file with mode: 0644]
src/Scenery/newcache.hxx [new file with mode: 0644]
src/Scenery/tilecache.hxx
src/Scenery/tileentry.cxx
src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx