A control panel is added to display the game information and enable some user input. It is drawn on top of the main display with a orthogonal view projection. The side of the window is drawn using triangle and quads. The user info including bullets,score,health and message are passed on to the drawing function as a CInfo object. The information is then drawn at appropriate places.
Message is drawn on the bottom, ie , message board.
Health info is displayed as a clock, which shows the percentage of the player health. Also a map is also displayed. The postion of the players and robots are drawn on the map to provide a overhead view of the maze. We haved originally wanted to let the user choose weapons from the control panel. This is done by the mouse function, which will change the user weapons if appropriate region is selected.