#include "aa_config.h"
#include <math.h>
#include <iosfwd>
#include <string.h>
#include <memory>
#include <typeinfo>
#include <cstdlib>
#include <iostream>
Go to the source code of this file.
Defines | |
#define | MAX_VIEWERS 4 |
#define | M_PI 3.14159f |
Typedefs | |
typedef float | REAL |
typedef void | AA_VOIDFUNC () |
typedef void | INTFUNC (int) |
typedef bool | BOOLRETFUNC () |
typedef AA_VOIDFUNC * | FUNCPTR |
typedef INTFUNC * | INTFUNCPTR |
Functions | |
template<class T> | |
void | Swap (T &a, T &b) |
REAL | sinf (REAL angle) throw () |
REAL | cosf (REAL angle) throw () |
REAL | tanf (REAL angle) throw () |
REAL | atan2f (REAL y, REAL x) throw () |
REAL | sqrtf (REAL x) throw () |
REAL | logf (REAL x) throw () |
REAL | expf (REAL x) throw () |
REAL | fabsf (REAL x) throw () |
REAL | floorf (REAL x) throw () |
bool | isblank (int x) |
double | pow10 (double y) throw () |
float | pow10f (float y) throw () |
Variables | |
const REAL | EPS = REAL(1E-7) |
#define M_PI 3.14159f |
Definition at line 61 of file defs.h.
Referenced by angledifff(), cWidget::Map::ClipperCircle::Begin(), eAxis::ComputeWinding(), PDDisc::Generate(), PDCone::Generate(), PDCylinder::Generate(), gParser::myxmlGetDirection(), rViewport::Perspective(), cWidget::WithAngles::Process(), zShapePolygon::render(), gCycle::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), robust_acos(), eChannel::Set3d(), and rViewport::UpDownFOV().
#define MAX_VIEWERS 4 |
Definition at line 57 of file defs.h.
Referenced by eSoundPlayer::End(), eSoundPlayer::eSoundPlayer(), eWall::eWall(), gNetPlayerWall::MyInitAfterCreation(), eSoundPlayer::Reset(), and eWall::~eWall().
typedef void AA_VOIDFUNC() |
typedef bool BOOLRETFUNC() |
typedef AA_VOIDFUNC* FUNCPTR |
typedef INTFUNC* INTFUNCPTR |
Definition at line 85 of file defs.h.
Referenced by eAxis::ComputeWinding(), PDDisc::Generate(), PDCone::Generate(), PDCylinder::Generate(), zShapePolygon::isInside(), and gParser::myxmlGetDirection().
Definition at line 109 of file defs.h.
Referenced by angledifff(), nServerInfo::CalcScore(), gCycleChatBot::Distance(), gAISensor::gAISensor(), PDCone::PDCone(), PDCylinder::PDCylinder(), and PDDisc::PDDisc().
bool isblank | ( | int | x | ) | [inline] |
Definition at line 118 of file defs.h.
Referenced by tConfItemBase::EatWhitespace(), IsLegalPlayerName(), tString::LTrim(), operator>>(), tString::ReadLine(), s_Veto(), se_IsBlank(), se_IsInvalidNameEnd(), se_OptionalNameFilters(), rTextField::StringOutput(), tString::StripWhitespace(), tIsInList(), uJoystick::uJoystick(), and uKeyInput::uKeyInput().
double pow10 | ( | double | y | ) | throw () [inline] |
float pow10f | ( | float | y | ) | throw () [inline] |
Definition at line 81 of file defs.h.
Referenced by eAxis::ComputeWinding(), PDDisc::Generate(), PDCone::Generate(), PDCylinder::Generate(), zShapePolygon::isInside(), and gParser::myxmlGetDirection().
Definition at line 97 of file defs.h.
References REAL, sqrt(), and x.
Referenced by PAAvoid::Exec(), exponent(), pVec::length(), pVec::normalize(), PDCone::PDCone(), PDCylinder::PDCylinder(), sn_GetTimeout(), and gCycleMovement::TimestepCore().
void Swap | ( | T & | a, | |
T & | b | |||
) | [inline] |
Definition at line 67 of file defs.h.
References c.
Referenced by gPlayerWall::Flip(), gWallRim_helper(), gNetPlayerWall::RenderList(), gWallRim::RenderReal(), tMemManager::SwapIf(), and tHeapBase::SwapIf().
Definition at line 65 of file defs.h.
Referenced by gCycleChatBot::Activate(), gAIPlayer::ActOnData(), gHitData::AddHit(), gCycleMovement::ApplyAcceleration(), tRecorderSync< DATA >::Archive(), eTimer::AverageFPS(), gPlayerWall::Check(), eFace::Create(), gCycleMovement::DistanceToDestination(), gCycle::DoTurn(), eGrid::DrawLine(), gCycleExtrapolator::EdgeIsDangerous(), gCycle::gCycle(), gCycleMovement::GetMaxSpaceAhead(), tCoord::GrahamScan(), eFace::Insideness(), eHalfEdge::IntersectWithCareless(), eFace::IsInside(), gArena::LeastDangerousSpawnPoint(), eCameraSensor::LookAround(), eGameObject::Move(), gCycle::OnNotifyNewDestination(), tCoord::GrahamComparator::operator()(), tCoord::operator==(), gCycle::PassEdge(), eTimer::ReadSync(), gNetPlayerWall::RealWallReceived(), gWallRim::RenderReal(), nServerLag::Report(), eTimer::Reset(), eChannel::Set3d(), eWall::SetVisHeight(), sg_Gap(), eAxis::SnapWinding(), gCycle::SyncEnemy(), nServerLag::TakeCredit(), gCycleMovement::Timestep(), gAIPlayer::Timestep(), gCycleMovement::TimestepCore(), and gCycle::TimestepCore().