#include <ObjLevel.h>
Definition at line 32 of file ObjLevel.h.
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 9 of file ObjLevel.cpp. References m_floorVertices, m_nSpawnpools, m_shadowVertices, m_wallVertices, m_waterSurface, m_waterVertices, mp_lvl, and mp_renderer. |
|
Definition at line 553 of file ObjLevel.cpp. References MilkShape::clear(), Renderer::deleteTexture(), LOG_SUCCESS, m_floor, m_floorVertices, m_models, m_shadow, m_shadowVertices, m_texFloor, m_texWall, m_texWater, m_texWaterSurface, m_walls, m_wallVertices, m_water, m_waterVertices, and mp_renderer. Here is the call graph for this function: |
|
Definition at line 693 of file ObjLevel.cpp. References OpenGLObject::clearVertexBuffer(), m_floor, m_shadow, m_walls, and m_water. Here is the call graph for this function: |
|
Definition at line 719 of file ObjLevel.cpp. References LevelInfo::data, int(), isColor(), mp_lvl, round, LevelInfo::width, Vec3::x, and Vec3::z. Referenced by Play::bot(), Play::drawProjectiles(), Play::update(), and Granade::update(). Here is the call graph for this function: |
|
Definition at line 685 of file ObjLevel.cpp. References OpenGLObject::createVertexBuffer(), m_floor, m_shadow, m_walls, and m_water. Referenced by Play::loadObjects(). Here is the call graph for this function: |
|
Definition at line 582 of file ObjLevel.cpp. References OpenGLObject::draw(), m_floor, and m_walls. Here is the call graph for this function: |
|
Definition at line 587 of file ObjLevel.cpp. References Renderer::apply(), OpenGLObject::draw(), m_floor, m_texFloor, mp_renderer, and Renderer::setTextures(). Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
Definition at line 786 of file ObjLevel.cpp. References m_models, m_numObjects, m_objects, LevelObjectPos::model, and MilkShape::render(). Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
ifdef STENCIL_BUFFER glEnable(GL_STENCIL_TEST); { glEnable(GL_CULL_FACE); { mp_renderer->setDepthFunc(LESS); mp_renderer->setMask(NONE); mp_renderer->apply(); glStencilFunc(GL_ALWAYS, 0, ~0); glStencilOp(GL_KEEP, GL_KEEP, GL_INCR); glCullFace(GL_FRONT); m_shadow->draw(); glStencilOp(GL_KEEP, GL_KEEP, GL_DECR); glCullFace(GL_BACK); m_shadow->draw(); } glDisable(GL_CULL_FACE); } glDisable(GL_STENCIL_TEST); else glEnable(GL_CULL_FACE); glCullFace(GL_FRONT); glColor4f(0.0f, 0.0f, 0.0f, 0.5f); mp_renderer->setMask(COLOR); mp_renderer->setBlending(ONE, SRC_ALPHA); mp_renderer->apply(); m_shadow->draw(); glDisable(GL_CULL_FACE); endif Definition at line 601 of file ObjLevel.cpp. References OpenGLObject::draw(), and m_shadow. Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
Definition at line 594 of file ObjLevel.cpp. References Renderer::apply(), OpenGLObject::draw(), m_texWall, m_walls, mp_renderer, and Renderer::setTextures(). Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
Definition at line 646 of file ObjLevel.cpp. References Renderer::apply(), OpenGLObject::draw(), m_texWater, m_water, mp_renderer, and Renderer::setTextures(). Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
Definition at line 653 of file ObjLevel.cpp. References Renderer::apply(), OpenGLObject::draw(), g_frameTime, Object::getVertices(), m_texWaterSurface, m_waterSurface, mp_lvl, mp_renderer, ONE, Renderer::setBlending(), Renderer::setTextures(), Vertex::tu, Vertex::tv, waterSurfaceIndex, and LevelInfo::waterSurfaceSpeed. Referenced by Play::drawFrame(). Here is the call graph for this function: |
|
Definition at line 764 of file ObjLevel.cpp. References m_extras, m_nExtras, and round. Referenced by Play::dealExtras(). |
|
Definition at line 741 of file ObjLevel.cpp. References m_nSpawnpools, m_spawnpools, and round. Referenced by Play::serverLoop(). |
|
Definition at line 517 of file ObjLevel.cpp. |
|
Definition at line 513 of file ObjLevel.cpp. |
|
Definition at line 509 of file ObjLevel.cpp. Referenced by collission(), isWall(), isWater(), and load(). |
|
Definition at line 525 of file ObjLevel.cpp. Referenced by load(). |
|
Definition at line 521 of file ObjLevel.cpp. References isColor(). Here is the call graph for this function: |
|
Definition at line 712 of file ObjLevel.cpp. References LevelInfo::data, int(), mp_lvl, round, LevelInfo::width, Vec3::x, and Vec3::z. Referenced by load(), and Granade::update(). Here is the call graph for this function: |
|
Definition at line 705 of file ObjLevel.cpp. References LevelInfo::data, int(), isColor(), mp_lvl, round, LevelInfo::width, Vec3::x, and Vec3::z. Referenced by Play::bot(), Play::update(), and Granade::update(). Here is the call graph for this function: |
|
|
Definition at line 540 of file ObjLevel.cpp. References Vertex::nx, Vertex::ny, Vertex::nz, Vertex::tu, Vertex::tv, Vertex::vx, Vertex::vy, and Vertex::vz. Referenced by load(). |
|
Definition at line 529 of file ObjLevel.cpp. References Vertex::nx, Vertex::ny, Vertex::nz, Vertex::tu, Vertex::tv, Vertex::vx, Vertex::vy, and Vertex::vz. |
|
Definition at line 701 of file ObjLevel.cpp. References Vert::x, Vert::y, and Vert::z. Referenced by load(). |
|
Definition at line 93 of file ObjLevel.h. Referenced by getExtras(), and load(). |
|
Definition at line 70 of file ObjLevel.h. Referenced by clearVertexBuffer(), createVertexBuffer(), draw(), drawFloor(), load(), and ~ObjLevel(). |
|
Definition at line 71 of file ObjLevel.h. Referenced by load(), ObjLevel(), and ~ObjLevel(). |
|
Definition at line 98 of file ObjLevel.h. Referenced by drawObjects(), load(), and ~ObjLevel(). |
|
Definition at line 94 of file ObjLevel.h. Referenced by getExtras(), and load(). |
|
Definition at line 91 of file ObjLevel.h. Referenced by getSpawnpool(), load(), and ObjLevel(). |
|
Definition at line 96 of file ObjLevel.h. Referenced by drawObjects(), and load(). |
|
Definition at line 97 of file ObjLevel.h. Referenced by drawObjects(), and load(). |
|
Definition at line 78 of file ObjLevel.h. Referenced by clearVertexBuffer(), createVertexBuffer(), drawShadow(), load(), and ~ObjLevel(). |
|
Definition at line 79 of file ObjLevel.h. Referenced by load(), ObjLevel(), and ~ObjLevel(). |
|
Definition at line 90 of file ObjLevel.h. Referenced by getSpawnpool(), and load(). |
|
Definition at line 86 of file ObjLevel.h. Referenced by drawFloor(), load(), and ~ObjLevel(). |
|
Definition at line 85 of file ObjLevel.h. Referenced by drawWalls(), load(), and ~ObjLevel(). |
|
Definition at line 87 of file ObjLevel.h. Referenced by drawWater(), load(), and ~ObjLevel(). |
|
Definition at line 88 of file ObjLevel.h. Referenced by drawWaterSurface(), load(), and ~ObjLevel(). |
|
Definition at line 68 of file ObjLevel.h. Referenced by clearVertexBuffer(), createVertexBuffer(), draw(), drawWalls(), load(), and ~ObjLevel(). |
|
Definition at line 69 of file ObjLevel.h. Referenced by load(), ObjLevel(), and ~ObjLevel(). |
|
Definition at line 72 of file ObjLevel.h. Referenced by clearVertexBuffer(), createVertexBuffer(), drawWater(), load(), and ~ObjLevel(). |
|
Definition at line 74 of file ObjLevel.h. Referenced by drawWaterSurface(), load(), and ObjLevel(). |
|
Definition at line 75 of file ObjLevel.h. Referenced by load(). |
|
Definition at line 73 of file ObjLevel.h. Referenced by load(), ObjLevel(), and ~ObjLevel(). |
|
Definition at line 81 of file ObjLevel.h. Referenced by collission(), drawWaterSurface(), isWall(), isWater(), load(), and ObjLevel(). |
|
Definition at line 83 of file ObjLevel.h. Referenced by drawFloor(), drawWalls(), drawWater(), drawWaterSurface(), load(), ObjLevel(), and ~ObjLevel(). |
|
Definition at line 76 of file ObjLevel.h. Referenced by drawWaterSurface(), and load(). |