// Written by Curtis Olson, started May 1998.
// Overhauled by David Megginson, December 2001
//
-// Copyright (C) 1998 - 2000 Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 1998 - 2000 Curtis L. Olson - http://www.flightgear.org/~curt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
#include <plib/ssg.h>
#include <simgear/props/props.hxx>
-#include <simgear/math/sg_random.h>
#include "matmodel.hxx"
protected:
- typedef struct {
+ struct _internal_state {
+ _internal_state( ssgSimpleState *s, const string &t, bool l )
+ : state(s), texture_path(t), texture_loaded(l) {}
ssgSimpleState *state;
string texture_path;
bool texture_loaded;
- } _internal_state;
+ };
private:
// texture status
vector<_internal_state> _status;
+ // Round-robin counter
+ unsigned int _current_ptr;
+
// texture size
double xsize, ysize;