Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2810 in orxonox.OLD for orxonox/branches/importer/src/array.h


Ignore:
Timestamp:
Nov 11, 2004, 2:41:03 PM (21 years ago)
Author:
bensch
Message:

orxonox/branches/importer: merged the new importer into the source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/src/array.h

    r2795 r2810  
    11#ifndef _ARRAY_H
    22#define _ARRAY_H
     3
     4extern int verbose;
    35
    46#include <GL/gl.h>
     
    911 public:
    1012  Array ();
    11   Array (unsigned int arraySize);
    1213
    13   void createArray (unsigned int newArraySize);
    14   void resizeArray (unsigned int newSize);
     14  void createArray ();
    1515  void finalizeArray (void);
    1616  void addEntry (GLfloat entry);
     
    2121  void debug(void);
    2222 private:
     23  struct Entry
     24  {
     25    GLfloat value;
     26    Entry* next;
     27  };
     28
    2329  GLfloat* array;
    24   unsigned int arraySize;
    25   unsigned int entryCount;
    26 
     30  int entryCount;
     31  bool finalized;
     32  Entry* firstEntry;
     33  Entry* currentEntry;
     34 
     35 
    2736};
    2837
Note: See TracChangeset for help on using the changeset viewer.