#include <iostream>
#include <SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <stdlib.h>
#include "menu.h"
#include "gameobjs.h"
Include dependency graph for menu.cpp:

Functions | |
| int | initmenu (void) |
| Do all the texture initialisation required for the menu. | |
| void | rendermenu (void) |
| Draw the OSD of the ships. | |
| void | endmenu (void) |
| Clearing up from menu rendering. | |
Variables | |
| Ship | playerOne |
| The first ship. | |
| Ship | playerTwo |
| The second ship. | |
| GLuint | fonttex1 |
| Texture 1. | |
| SDL_Surface * | testpic = NULL |
| Gonna load me some truetype font. | |
|
|
Do all the texture initialisation required for the menu. This has to be called quite late as the GL texture stuff must come after OpenGL has been set up. |
|
|
Draw the OSD of the ships. Simple atm, but nicely alpha blended. |
1.3.9.1