+/* $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_
struct SelectRecord
{
- uint min_depth;
- uint max_depth;
- std::vector<uint> names;
+ unsigned min_depth;
+ unsigned max_depth;
+ std::vector<unsigned> names;
};
void select_buffer(std::vector<SelectRecord> &);
-void parse_select_records(const uint *buf, uint, std::vector<SelectRecord> &);
+void init_names();
+void push_name(unsigned);
+void pop_name();
+void load_name(unsigned);
+
+void parse_select_records(const unsigned *buf, unsigned, std::vector<SelectRecord> &);
-void _parse_internal_select_records(uint);
+void _parse_internal_select_records(unsigned);
} // namespace GL
} // namespace Msp