#include <Demo.h>
Inherits Scene.
Inheritance diagram for Demo:
Public Member Functions | |
Demo () | |
virtual | ~Demo () |
bool | load (Application *parent) |
bool | unload () |
bool | update () |
bool | drawFrame () |
Protected Attributes | |
AVI | avi |
float | timeStart |
Music | music |
Author: Petter Alstermark, petter@alstermark.com
Definition at line 17 of file Demo.h.
|
Selectprofile.cpp Author: Petter Alstermark, petter@alstermark.com |
|
Definition at line 18 of file Demo.cpp. References unload(). Here is the call graph for this function: |
|
glLoadIdentity(); glTranslatef(0.0f, 0.0f, -10.0f); glBegin(GL_QUADS); glTexCoord2f(1.0f, 1.0f); glVertex3f( 11.0f, 8.3f, -20.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-11.0f, 8.3f, -20.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(-11.0f, -8.3f, -20.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f( 11.0f, -8.3f, -20.0f); glEnd(); Reimplemented from Scene. Definition at line 112 of file Demo.cpp. References avi, g_height, g_time, g_width, AVI::genTex(), Scene::m_loaded, and timeStart. Here is the call graph for this function: |
|
Reimplemented from Scene. Definition at line 25 of file Demo.cpp. References avi, g_drawConsole, g_selectedScene, g_showFPS, g_time, Music::load(), AVI::load(), LOG_SUCCESS, Scene::m_loaded, Scene::m_parent, music, SCENE_MENU, AVI::sethDC(), and timeStart. Here is the call graph for this function: |
|
glDisable(GL_TEXTURE_2D); m_parent->renderer->resetToDefaults(); m_parent->renderer->apply(); Reimplemented from Scene. Definition at line 59 of file Demo.cpp. References avi, LOG_SUCCESS, Scene::m_loaded, music, Music::stop(), AVI::unload(), and Music::unload(). Referenced by ~Demo(). Here is the call graph for this function: |
|
Reimplemented from Scene. Definition at line 80 of file Demo.cpp. References avi, g_frameTime, g_selectedScene, g_time, AVI::isDone(), Application::keys, Mouse::left, Scene::m_loaded, Scene::m_parent, Application::mouse, music, Music::play(), Mouse::right, SCENE_MENU, timeStart, and AVI::update(). Here is the call graph for this function: |
|
Definition at line 28 of file Demo.h. Referenced by drawFrame(), load(), unload(), and update(). |
|
|
|
Definition at line 29 of file Demo.h. Referenced by drawFrame(), load(), and update(). |