Jing Chan  

Main
Daily Logs
Iteration Reports
Project Poster
Presentation
Screen Shots
References

Progress Report (January, 2002)


Plan:
All componants of this game previously coded will be combined in this iteration. The terrain generation program will be placed inside the game loop, and keyboard input will be handled by the game. This iteration report's goal is to produce a working OpenGL window that allows the user to navigate a randomly generated terrain.

Design:
The OpenGL code will be completed in this iteration.

Keyboard input is handled now by the X11Lib and Windows API functions. This allows queries into whether the key is being pressed or unpressed and allows smoother user controls.

All previous componants will be put together in this iteration to produce a running and working game.

Coding:
The code for the OpenGL portion of this code does not deal much with the project, itself.

Code will be supplied upon request, but a more understandable pseudocode is more appropriate here.


#if RUNNING_WINDOWS
initialize_Win32_window();
#endif

#if RUNNING_LINUX
initialize_X11_window();
#endif

initialize_openGL();
initialize_game_structure();
initialize_terrain_blocks();

old_time = current_time();
while(1){

new_time = current_time();

update_scene(new_time - old_time);
redraw_scene();

old_time = new_time;

}



Testing:
This program can be tested here (Linux Version) and here (Windows Version).

Users:
The game's window and input handling is all but complete and now the focus can be turned to actually making the game and optimizing server capabilties.
Footer