OpenEnroth 73e68f7
|
#include "Engine/Graphics/Vis.h"
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <utility>
#include "Engine/Engine.h"
#include "Engine/OurMath.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Graphics/BspRenderer.h"
#include "Engine/Graphics/Outdoor.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Sprites.h"
#include "Engine/Graphics/Viewport.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/SpriteObject.h"
#include "Engine/Objects/MonsterEnumFunctions.h"
#include "Library/Logger/Logger.h"
#include "Utility/Math/TrigLut.h"
Functions | |
bool | IsBModelVisible (BSPModel *model, int reachable_depth, bool *reachable) |
bool | IsSphereInFrustum (Vec3f center, float radius, Planef *frustum) |
bool | IsCylinderInFrustum (Vec3f center, float radius) |
int | UnprojectX (int x) |
int | UnprojectY (int y) |
bool IsBModelVisible | ( | BSPModel * | model, |
int | reachable_depth, | ||
bool * | reachable | ||
) |
model | Pointer to model to check against. | |
reachable_depth | A depth distance for checking interaction against. | |
[out] | reachable | Whether the model is within the reachable depth specified. |
bool IsCylinderInFrustum | ( | Vec3f | center, |
float | radius | ||
) |
center | Vec3f of centre point of cylinder. |
radius | Float of cylinder radius. |
center | Vec3f of centre point of sphere. |
radius | Float of sphere radius. |
frustum | Ptr to set of planes to check against - camera used in not supplied. |
int UnprojectX | ( | int | x | ) |
int UnprojectY | ( | int | y | ) |
Vis_SelectionFilter vis_allsprites_filter |
Vis_SelectionFilter vis_decoration_noevent_filter |
Vis_SelectionFilter vis_door_filter |
Vis_SelectionFilter vis_face_filter |
Vis_SelectionFilter vis_items_filter |
Vis_SelectionFilter vis_sprite_targets_filter |
|
static |