X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fselect.h;h=16d0e47aac3f387b2c3baacb59785e66dabbd5de;hb=9a9d3517dcfdba5206d9c73ce211feac8e402bc2;hp=e862fe5c810da488531656f31dacd9e6c311f1bc;hpb=7adcad3b40a03000a82e32db4523761c218309b8;p=libs%2Fgl.git diff --git a/source/select.h b/source/select.h index e862fe5c..16d0e47a 100644 --- a/source/select.h +++ b/source/select.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of libmspgl +Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef MSP_GL_SELECT_H_ #define MSP_GL_SELECT_H_ @@ -8,15 +15,20 @@ namespace GL { struct SelectRecord { - uint min_depth; - uint max_depth; - std::vector names; + unsigned min_depth; + unsigned max_depth; + std::vector names; }; void select_buffer(std::vector &); -void parse_select_records(const uint *buf, uint, std::vector &); +void init_names(); +void push_name(unsigned); +void pop_name(); +void load_name(unsigned); + +void parse_select_records(const unsigned *buf, unsigned, std::vector &); -void _parse_internal_select_records(uint); +void _parse_internal_select_records(unsigned); } // namespace GL } // namespace Msp