#include "debug.scene.h"
#include "scene.h"
#include "grid.h"
#include "lbaengine.h"
#include "redraw.h"
#include "interface.h"
Go to the source code of this file.
Functions | |
| void | draw_bounding_box_project_points (ScenePoint *pPoint3d, ScenePoint *pPoint3dProjected) |
| int | check_zone_type (int type) |
| void | display_zones (short int pKey) |
Variables | |
| int | showingZones = 0 |
| int | typeZones = 127 |
This file contains scenario debug routines.
Prequengine: a Little Big Adventure engine
Copyright (C) 2008 Prequengine team
Copyright (C) 2002-2007 The TwinEngine team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file debug.scene.c.
| int check_zone_type | ( | int | type | ) |
| void display_zones | ( | short int | pKey | ) |
Definition at line 95 of file debug.scene.c.
References ZoneBox::bottomLeft, cameraX, cameraY, cameraZ, check_zone_type(), draw_bounding_box_project_points(), draw_line(), sceneNumZones, sceneZones, showingZones, ZoneBox::topRight, ZoneBox::type, ScenePoint::X, ScenePoint::Y, and ScenePoint::Z.
Referenced by redraw_engine_actions().
| void draw_bounding_box_project_points | ( | ScenePoint * | pPoint3d, | |
| ScenePoint * | pPoint3dProjected | |||
| ) |
Definition at line 35 of file debug.scene.c.
References project_position_on_screen(), projPosX, projPosY, projPosZ, renderBottom, renderLeft, renderRight, renderTop, ScenePoint::X, ScenePoint::Y, and ScenePoint::Z.
Referenced by display_zones().
| int showingZones = 0 |
| int typeZones = 127 |
1.5.5