#ifndef _FOUNTAIN_H_
#define _FOUNTAIN_H_

#define RANDOM_FACTOR 5.0	
#define WIDTH 640
#define HEIGHT 480
#define FOV 40
#define FOUNTAIN_HEIGHT 0.45

// mouse control variables
Vec2 g_vMousePos;
int g_iLeftMouseButton = 0;  
int g_iMiddleMouseButton = 0;
int g_iRightMouseButton = 0;

enum CONTROLSTATE {ROTATE, TRANSLATE, SCALE};
CONTROLSTATE g_ControlState = ROTATE;

Vec3 g_vLandRotate(0,0,0);
Vec3 g_vLandTranslate(0,0,0);
Vec3 g_vLandScale(1,1,1);

// menu variable
int g_iMenuId;

// render in point or triangle mode
int renderStyle;

// display list for ground plane
int groundPlaneList;  

// texture map
GLubyte waterTexture[256][256][3];
int textureWidth;
int textureHeight;

// change rotation speed of scene
float rotateStep = 0.5;
float rotateAmount;

#endif
