/**********************************************************************
This file is part of Crack dot Com's free source code release of Golgotha.
for information about compiling & licensing issues visit this URL
 If that doesn't help, contact Jonathan Clark at 
  golgotha_source@usa.net (Subject should have "GOLG" in it) 
***********************************************************************/

#ifndef _STATISTICS_HH_
#define _STATISTICS_HH_

#include "arch.hh"
#include "math/num_type.hh"
#include "time/time.hh"

class i4_parent_window_class;

class g1_statistics_counter_class
{

public:
  enum {TOTAL_POLYS, OBJECT_POLYS, TERRAIN_POLYS,OBJECTS,
        TERRAIN, SPRITES, SFXS, FRAMES, LAST};

  sw32 counter_array[LAST];
  w32 current_counter;
  w32 t_frames;
  
  i4_time_class last_update_time;
  
  w32 get_value(w32 count_type)
  {
    if (count_type