X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.c;h=0124faf6ed1170daad9d45f417ba35234190ea42;hp=160d869809f4cb13e6f148155b0c8227f60be933;hb=a850337f703fb7263f851672158e05d30cfb2b77;hpb=f4d670c11bf4285579243c264f435c0db4d1e6ba diff --git a/globals.c b/globals.c index 160d869..0124faf 100644 --- a/globals.c +++ b/globals.c @@ -49,7 +49,7 @@ int moving, startx, starty; int drawFloorRecurse = 8; /* Size of floor, from -n to n, floorSize must be divisible by squareSize */ -int floorSize = 400; +int floorSize = 200; float squareSize = 2; /* Current camera x, y, z coords */ @@ -94,4 +94,7 @@ GLfloat zoom = 0.0, rotate = 0.0; GLfloat zoomFactor = 0.2, rotateFactor = 0.5; /* Beginning width, height */ -int width = 500, height = 500; \ No newline at end of file +int width = 500, height = 500; + +/* Texture state tracking */ +int currentGroundTexture = 0, currentMeshTexture = 0; \ No newline at end of file