X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fpartcache.h;h=969912431271d501b68267f9f09bb7b05f0427b6;hp=90d1c94f5e36e90a19614cc39a9e8a56033d7945;hb=caa04d76bc031dd0c4a4157732deb340d934ceeb;hpb=2a665655a15f73d59083fd5cc7e5a58ae5f4d377 diff --git a/source/partcache.h b/source/partcache.h index 90d1c94..9699124 100644 --- a/source/partcache.h +++ b/source/partcache.h @@ -25,11 +25,14 @@ public: typedef std::list PartList; private: + bool rebuilding; PartList parts; PartList::iterator next; PartList::iterator current; public: + PartCache(); + void begin_rebuild(); void insert_special(const Part &); GL::Mesh &create_mesh(const Part &, const GL::Texture2D &);