Change Notes:
In order to handle the rotors (in the quad array) correctly in an event-driven style, had to re-write non-rotation code in the Rotor class, also had to add around 6 helper methods.

Mouse in main was updated, as well, in order to implement much of the functionality found in the Rotor class.

Discovered that mouse coordinates are passed in as window-relative coordinates, this necessitated further changes in the Rotor class, as well as the MyQuad function in Main.C

All IrisGL code should now be changed, though there are still MakeFile issues as well as the fact that I'm certain it doesn't compile due to silly coding errors on my part.


README-VERSION history:
This version is a intermediate version in the attempt to port tetris to OpenGL,
currently all of the "easy" conversions are implemented in Shared.h,
but there are still IrisGL windowing commands in Rotor.C and main.C,
the problem functions are documented in unknown.txt.

About to start extracting segments from the main loop and moving the commands into the GLUT loop, in particular things like "holding" the ALT-8-2 can be redone with the keyboard callback in GLUT and key == '8' & '2' (after checking, glutGetModifiers() == GLUT_ACTIVE_ALT), i.e. with bit-wise ANDs.

Extracted all event coding into glut approved format. Changed over window code to glut windowing code.  Added CTRL-P as a command to pause the game that will let you rotate and translate pieces still, unlike a middle mouse button click, which will just freeze everything.

New files such as keyboard.C and display.C are all intermediate files in the extraction of event code to event methods for GLUT. most things in unknown have become known.


-Benjamin Bernard










