- C Compiler
- OpenGL, GLUT and GLEW
- freeglut.dll in the same folder as main.c
To compile, use the following command (remember to change the path to the freeglut library)
gcc main.c -o main -I"Your path to \freeglut\include" -L"Your path to \freeglut\lib" -lfreeglut -lopengl32 -lglu32 -lmOnce compiled, use the main file to run
./mainIf you want, and you have make installed, you can change the freeglut path in the Makefile to use the make command. This command will compile and run the program in sequence.
make
Mouse -> Look around
W, A, S, D -> Move respectively to: Front, Back, Left, Right
SPACE, C -> Move respectively to: Up, Down
P opens the door
J opens the window
L enables the light
K disables the light