Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Classes | |
class | Matrix |
struct | DrawContext |
Macros | |
#define | M(a, b) (tmp.r[b*3+a]) |
#define | M(A, B) (t.r[B*3+A]) |
#define | M(A, B) (t.r[B*3+A]) |
#define | a (trans.r[0]) |
#define | b (trans.r[3]) |
#define | c (trans.r[6]) |
#define | d (trans.r[1]) |
#define | e (trans.r[4]) |
#define | f (trans.r[7]) |
#define | g (trans.r[2]) |
#define | h (trans.r[5]) |
#define | i (trans.r[8]) |
#define | a (trans.r[0]) |
#define | b (trans.r[3]) |
#define | c (trans.r[6]) |
#define | d (trans.r[1]) |
#define | e (trans.r[4]) |
#define | f (trans.r[7]) |
#define | g (trans.r[2]) |
#define | h (trans.r[5]) |
#define | i (trans.r[8]) |
#define | M(a, b) (tmp.r[b*3+a]) |
#define a (trans.r[0]) |
Referenced by InvertMatrix(), and InvScaleTransform().
#define a (trans.r[0]) |
#define b (trans.r[3]) |
Referenced by InvertMatrix(), and InvScaleTransform().
#define b (trans.r[3]) |
#define c (trans.r[6]) |
Referenced by InvertMatrix(), InvScaleTransform(), Rotate(), and RotateAxisAngle().
#define c (trans.r[6]) |
#define d (trans.r[1]) |
Referenced by BoxTest(), Mission::call_unit_launch(), CompileRunPython(), decode_color_block(), decode_dxt3_alpha(), decode_dxt5_alpha(), Plane::Distance(), DONTUSE__NXSwapBigDoubleToLittleEndian(), DoubleName::DoubleName(), ContinuousTerrain::Draw(), GameUnit< UnitType >::Draw(), DrawDockingBoxes(), DrawFrustum(), GameUnit< UnitType >::DrawNow(), first(), GetThreat(), GFXFrustum(), GFXSphereInFrustum(), GFXSpherePartiallyInFrustum(), InvertMatrix(), InvScaleTransform(), Plane::Normalize(), Plane::operator HPoint(), Plane::operator*=(), parse_dual_alpha(), Plane::Plane(), Plane::Set(), t0(), AABBCollider::TriBoxOverlap(), OBBCollider::TriBoxOverlap(), Unit::UpAndDownGrade(), VertexTest(), and Plane::Zero().
#define d (trans.r[1]) |
#define e (trans.r[4]) |
Referenced by PointStarVlist::BeginDrawState(), VsnetDownload::Client::Item::changeState(), CopySavedShips(), commandI::fexecute(), Audio::TemplateManager::getDefinitionFile(), Unit::getMinDis(), Audio::Source::getPlayingTime(), Audio::Source::getWouldbePlayingTime(), globQuerySphere(), InvertMatrix(), InvScaleTransform(), Audio::Source::isActive(), Audio::RenderableSource::isPlaying(), Audio::Source::isPlaying(), Audio::OpenALSimpleSound::loadImpl(), Audio::OpenALStreamingSound::loadImpl(), AnimatedTexture::LoadVideoSource(), Audio::Test::main(), AnimatedTexture::MakeActive(), MinRotationFromDirections(), VsnetTCPSocket::need_test_writable(), NumStarsInGalaxy(), VsnetDownload::RecvCmdDownload::parse(), Audio::Source::pausePlaying(), ProcessMouse(), Audio::OpenALRenderableStreamingSource::queueALBuffers(), Unit::reactToCollision(), quadsquare::RecomputeErrorAndLighting(), ClickList::requestShip(), VsnetTCPSocket::sendbuf(), Audio::RenderableSource::stopPlaying(), t0(), Quaternion::to_matrix(), Audio::RenderableListener::update(), Audio::RenderableSource::update(), and BaseUtil::Video().
#define e (trans.r[4]) |
#define f (trans.r[7]) |
Referenced by AABBCache::AABBCache(), VsnetDownload::Server::Manager::addCmdDownload(), Angle(), AnimatedTexture::AnimatedTexture(), Animation::Animation(), TurretBin::AssignTargets(), AUDAdjustSound(), AUDCreateSoundMP3(), AUDLoadSoundFile(), VertexPointers::BackfaceCulling(), StarSystemGent::beginStar(), ROLES::buildroles(), ROLES::buildscripts(), Case0(), Point::ClampLength(), AnimatedTexture::Clone(), Opcode::Matrix4x4::CoFactor(), Collidable::Collidable(), UniverseUtil::ComputeSystemSerials(), CopySavedShips(), GameStarSystem::createBackground(), StarSystemGent::CreateStarSystem(), createTexture(), AnimatedTexture::CreateVideoTexture(), commandI::display(), DockingPorts::DockingPorts(), GameCockpit::Draw(), BaseInterface::Room::BaseText::Draw(), GFXSphereVertexList::Draw(), RText::draw_text(), Radar::BubbleDisplay::DrawBackground(), DrawDamageFlash(), Radar::PlaneDisplay::DrawGround(), VSSprite::DrawHere(), Animation::DrawNoTransform(), Animation::DrawNow(), DrawShield(), Radar::BubbleDisplay::DrawTargetMarker(), Radar::PlaneDisplay::DrawTargetMarker(), Radar::BubbleDisplay::DrawTrack(), Radar::PlaneDisplay::DrawTrack(), StarSystemGent::endStar(), EnvironmentMapGeneratorMain(), Audio::estimateGain(), EstimateGain(), PlanetaryOrbit::Execute(), Face(), FeedbackFilter(), findObjectsFromPosition(), CollideArray::flatten(), Universe::Generate1(), generateStarSystem(), getAITypes(), VSFileSystem::GetCorrectStarSysPath(), GetElMeshName(), Point::GetHashValue(), GetHelperPlayerSaveGame(), Audio::OpenALRenderableSource::getPlayingTimeImpl(), Audio::OpenALRenderableStreamingSource::getPlayingTimeImpl(), getProgramSource(), GFXCircle(), GFXDeviceToEye(), globQuerySphere(), GoTo(), FileUtil::HashCompute(), Point::Herp(), HSV_To_RGB(), Cockpit::Init(), Texture::InitTexture(), InvertMatrix(), InvScaleTransform(), lerp(), linear_interpolate_uncapped(), BaseInterface::Room::Link::Link(), Texture::Load(), LoadAccounts(), AIEvents::LoadAI(), AnimatedTexture::LoadFrame(), Mesh::LoadMeshes(), LoadMission(), Audio::TemplateManager::loadSourceTemplate(), LoadTex(), LoadWeapons(), Nebula::LoadXML(), FSM::LoadXML(), Faction::LoadXML(), StarSystem::LoadXML(), easyDomFactory< configNode >::LoadXML(), NetClient::loginAccept(), Universe::Loop(), LSSCache::LSSCache(), StarSystemGent::MakeJump(), StarSystemGent::MakePlanet(), OBBCache::OBBCache(), OPC_PointTriangleSqrDist(), OPC_SegmentOBBSqrDist(), OPC_SegmentSegmentSqrDist(), OPC_SegmentTriangleSqrDist(), Opcode::Point::operator HPoint(), Opcode::Matrix3x3::operator Matrix4x4(), Plane::operator*=(), NavigationSystem::ParseFile(), PaintText::parseFormat(), SaveGame::ParseSaveGame(), UnitUtil::PercentOperational(), planeBoxOverlap(), Radar::PlaneDisplay::PlaneDisplay(), Planet::Planet(), Opcode::Point::ProjectToScreen(), Unit::rayCollide(), Unit::reactToCollision(), StarSystemGent::readColorGrads(), StarSystemGent::readentity(), readnames(), AccountServer::recvMsg(), ClickList::requestIterator(), BVTCache::ResetCache(), RollLeft(), RollRight(), PhysicsSystem::Rotate(), NetServer::save(), SaveFileCopy(), Screenshot(), AccountServer::sendAuthorized(), Matrix4x4::SetCol(), Audio::SceneManager::setMaxDistance(), Audio::SceneManager::setMinGain(), EvadeLeftRightC::SetOppositeDir(), Matrix4x4::SetRow(), GameCockpit::SetupViewPort(), GalaxyXML::SGalaxy::SGalaxy(), Orders::FireAt::ShouldFire(), SphereCache::SphereCache(), SphereCollider::SphereTriOverlap(), SqrDistance(), Opcode::Ray::SquareDistance(), Opcode::Segment::SquareDistance(), NetServer::start(), t0(), StarSystemGent::Tab(), Takeoff(), TakeoffEveryZig(), Mission::terminateMission(), Audio::Test::testMultiStreaming(), Audio::Test::testMultiStreaming2(), Audio::Test::testSimpleScene(), Audio::Test::testSimpleSceneWDynTemplates(), Audio::Test::testStreaming(), TurretFAW(), Point::TweakSmaller(), Audio::OpenALRenderableSource::updateImpl(), Audio::OpenALRenderableStreamingSource::updateImpl(), CoordinateSelect::UpdateMouse(), VSSprite::VSSprite(), VSSwapHostFloatToLittle(), XMLSerializer::Write(), StarSystemGent::WriteLight(), FileUtil::WriteSaveFiles(), SaveGame::WriteSaveGame(), StarSystemGent::WriteUnit(), and Unit::WriteUnit().
#define f (trans.r[7]) |
#define g (trans.r[2]) |
Referenced by AllocVerticesForSystem(), Beam::Beam(), StarSystemGent::beginStar(), VegaConfig::checkColor(), StarSystemGent::Color::Color(), colToString(), FSM::getCommMessageMood(), GalaxyXML::Galaxy::getPlanetVariable(), GalaxyXML::SGalaxy::getVariable(), InvertMatrix(), InvScaleTransform(), StarSystemGent::MakePlanet(), ModeInfo::ModeInfo(), StarSystemGent::readColorGrads(), Audio::SourceTemplate::setGain(), Audio::Listener::setGain(), Audio::Source::setGain(), GalaxyXML::SGalaxy::setVariable(), ShiftPalette(), Spherize(), StarSystemGent::StarColor(), t0(), and StarSystemGent::WriteLight().
#define g (trans.r[2]) |
#define h (trans.r[5]) |
Referenced by AUDAddWatchedPlayed(), StarSystemGent::CreateLight(), GameVegaConfig::GameVegaConfig(), Point::GetHashValue(), JoyStick::GetJoyStick(), getTurretSize(), InitJoystick(), InvertMatrix(), InvScaleTransform(), VsnetTCPSocket::lower_sendbuf(), ProcessJoystick(), Control::setHidden(), BaseInterface::Room::BaseVSMovie::SetMovie(), ShiftPalette(), ShowText(), and GameUniverse::StartDraw().
#define h (trans.r[5]) |
#define i (trans.r[8]) |
Referenced by XMLDOM::_exportXML(), CockpitKeys::_PitchDown(), CockpitKeys::_PitchUp(), CockpitKeys::_YawLeft(), CockpitKeys::_YawRight(), BaseComputer::acceptMission(), Radar::CollectRadarTracks::acquire(), ChooseTargetClass< numTuple >::acquire(), ActivateAnimation(), AddAnimation(), Bolt::AddAnimation(), UnitUtil::addCargo(), NetClient::AddClientObject(), AddDocks(), GamePlanet::AddFog(), NetBuffer::addGFXLight(), Music::Addlist(), Picker::addListToDisplay(), NetBuffer::addMatrix(), NavPath::addNewPath(), UnitFactory::addPlanetBuffer(), ZoneMgr::addPosition(), GFXQuadList::AddQuad(), addQuote(), GamePlanet::AddRing(), GalaxyXML::SGalaxy::addSection(), AddSubUnits(), DecalQueue::AddTexture(), StarSystem::AddUnit(), NetServer::addUnitCargoSnapshot(), ZoneMgr::addZone(), Pilot::adjustSpecificRelationship(), ContinuousTerrain::AdjustTerrain(), AIEvents::AIEvresult::AIEvresult(), AllocVerticesForSystem(), AllUnitsCloseAndEngage(), alphanum(), AnimationDraw(), PhysicsSystem::ApplyImpulses(), Arrested(), TurretBin::AssignTargets(), AssignTBin(), AUDDestroy(), AUDListenerGain(), AUDRefreshSounds(), BaseComputer::BaseComputer(), BaseInterface::BaseInterface(), BaseInterface::Room::BaseShip::BaseShip(), beautify(), PointStarVlist::BeginDrawState(), FSM::beginElement(), StarSystemGent::beginStar(), bootstrap_first_loop(), bootstrap_main_loop(), ZoneMgr::broadcast(), NetServer::BroadcastFire(), ZoneMgr::broadcastNoSelf(), ZoneMgr::broadcastSample(), ZoneMgr::broadcastText(), NetServer::BroadcastUnfire(), build_sqrt_table(), buildCargoDescription(), ROLES::buildroles(), ROLES::buildscripts(), buyShip(), Background::Cache(), CanFaceTarget(), PickerCells::cellWithId(), Music::ChangeVolume(), fg_util::CheckFG(), NavPath::checkForCycles(), CPK3::CheckPK3(), ChooseNavPoint(), ChooseNearNavPoint(), Orders::FireAt::ChooseTargets(), cleanup(), MessageCenter::clear(), SimplePickerCells::clear(), clearDeleteQueue(), Order::ClearMessages(), BaseInterface::Room::Click(), AnimatedTexture::Clone(), GFXVertexList::ColIndVtxCopy(), ContinuousTerrain::Collide(), Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), Opcode::HybridOBBCollider::Collide(), Terrain::CollideAll(), collideTrees::collideTrees(), GFXVertexList::ColVtxCopy(), Order::Communicate(), CompareDest(), ComposeFunctions(), BaseUtil::CompPython(), ComputeAutoGuarantee(), Unit::computeLockingPercent(), concat(), concat_ostream(), BaseComputer::configureUpgradeCommitControls(), ContinuousTerrain::ContinuousTerrain(), CreateCargoForOwnerStarshipName(), NavComputer::createControls(), BaseComputer::createControls(), Order::createFullOrderDescription(), CreateLists(), BaseComputer::createModeButtons(), createObjects(), StarSystemGent::CreatePrimaries(), createTexture(), CreateTuple(), csReversibleTransform::csReversibleTransform(), csVector3::csVector3(), DealWithWarp(), collideTrees::Dec(), decode_color_block(), DeInitJoystick(), GFXQuadList::DelQuad(), CommunicatingAI::Destroy(), Briefing::Ship::Destroy(), Order::Destroy(), AnimatedTexture::Destroy(), ContinuousTerrain::DisableDraw(), GamePlanet::DisableLights(), ContinuousTerrain::DisableUpdate(), ROLES::discreteLog(), FileUtil::displayHash(), Packet::displayHex(), ZoneMgr::displayNPCs(), dockingdistance(), DockToSavedBases(), DONTUSE__NXSwapBigDoubleToLittleEndian(), DoParticles(), dotabs(), DownSampleTexture(), warptrails::Draw(), ContinuousTerrain::Draw(), Bolt::Draw(), TextInputDisplay::draw(), HaloSystem::Draw(), GameStarSystem::Draw(), GamePlanet::Draw(), Stars::Draw(), GameUnit< UnitType >::Draw(), Picker::draw(), WindowManager::draw(), BaseInterface::Room::Draw(), NavigationSystem::Draw(), BaseInterface::Draw(), GFXVertexList::Draw(), NavigationSystem::DrawCircle(), DrawDockingBoxes(), drawFilledPolygon(), DrawFrustum(), NavigationSystem::DrawGalaxy(), NavigationSystem::DrawGrid(), NavigationSystem::DrawHalfCircleBottom(), NavigationSystem::DrawHalfCircleTop(), NavigationSystem::DrawJump(), GameStarSystem::DrawJumpStars(), PaintText::drawLines(), NavigationSystem::DrawMission(), NavigationSystem::DrawNavCircle(), GameUnit< UnitType >::DrawNow(), Mesh::DrawNow(), NavigationSystem::DrawPlanet(), NavigationSystem::DrawSectorList(), NavigationSystem::DrawStation(), DropCargo(), DropHalfCargo(), PacketMem::dump(), eliminateZeroCargo(), ContinuousTerrain::EnableDraw(), GamePlanet::EnableLights(), ContinuousTerrain::EnableUpdate(), Enslave(), CollideArray::erase(), UnitCollection::erase(), BaseUtil::EraseLink(), BaseUtil::EraseObj(), Order::eraseOrder(), Order::eraseType(), NavPath::evaluate(), Orders::TurretAI::Execute(), FlyByJoystick::Execute(), Orders::MatchLinearVelocity::Execute(), PlanetaryOrbit::Execute(), AImissionScript::Execute(), Orders::AggressiveAI::Execute(), Order::Execute(), FireKeyboard::Execute(), ExecuteDirector(), GameUnit< UnitType >::Explode(), CPK3::ExtractFile(), CPK3::FileExists(), anonymous_namespace{autodocking.cpp}::FindDockingPort(), findGlobalClobberable(), findLocalClobberable(), Order::findOrder(), Order::findOrderList(), Radar::Sensor::FindTracksInRange(), anonymous_namespace{autodocking.cpp}::FindWaypoint(), NetClient::fireRequest(), CollideArray::flatten(), FlyByJoystick::FlyByJoystick(), Mesh::Fork(), Background::BackgroundClone::FreeClone(), FSM::FSM(), GameVegaConfig::GameVegaConfig(), Universe::Generate2(), StarSystemGent::generateCenter(), generateStarSystem(), getAITypes(), Hashtable< int, Logo, 257 >::GetAll(), Pilot::getAnger(), getAtmospheric(), ClassCache< Typ, Key >::getCachedMutable(), getCargoUnitName(), FSM::getCommMessageMood(), csBox3::GetConvexOutline(), getdatadir(), FSM::getDefaultState(), FSM::GetEdgesString(), GetFactionLookup(), NetBuffer::getGFXLight(), ContinuousTerrain::GetGroundPos(), ContinuousTerrain::GetGroundPosIdentTrans(), GetHelperPlayerSaveGame(), Universe::getJumpPath(), Mesh::getLOD(), getLogicOrInterrupt(), GetMadAt(), NetBuffer::getMatrix(), getMouseButtonStatus(), getNearestTarget(), getNearestTargetUnit(), StarSystemGent::GetNebFile(), getNetworkUnit(), getnoslash(), UnitUtil::getPhysicsPriority(), GalaxyXML::Galaxy::getPlanetVariable(), Mesh::GetPolys(), GFXVertexList::GetPolys(), GFXSphereVertexList::GetPolys(), UniverseUtil::getRandCargo(), FactionUtil::GetRandCommAnimation(), StarSystemGent::getRandName(), GetRandomBarMessage(), getRandomCachedAni(), getRandomCachedAniString(), GalaxyXML::SGalaxy::getRandSystem(), UniverseUtil::getSaveInfo(), GetTargetMessageQueue(), UniverseUtil::getUnit(), GetUnitDir(), GetUnitRow(), GalaxyXML::SGalaxy::getVariable(), csBox3::GetVisibleSides(), GFXBoxInFrustum(), GFXCircle(), GFXDeleteTexture(), GFXGetFramerate(), GFXInit(), GFXOptimizeList(), GFXPickLights(), GFXPopGlobalEffects(), GFXPushGlobalEffects(), GFXSetLightContext(), GFXSetMaterial(), GFXSphereVertexList::GFXSphereVertexList(), GFXTransferTexture(), GFXUploadLightState(), glut_keyboard_cb(), UnitUtil::hasCargo(), heightmapTransform(), HSV_To_RGB(), HudDamage(), GFXVertexList::IndVtxCopy(), Opcode::Triangle::Inflate(), StarDate::Init(), ChooseTargetClass< numTuple >::init(), GFXVertexList::Init(), InitJoystick(), InitKB(), VSFileSystem::InitPaths(), Planet::InitPlanet(), ChainPathNode::initSearchQueue(), SphereMesh::InitSphere(), StarDate::InitTrek(), InList(), UnitCollection::insert_unique(), Unit::InsideCollideTree(), ROLES::InternalGetRole(), ROLES::InternalGetStrRole(), InvertMatrix(), InvScaleTransform(), UniverseUtil::IOmessage(), CriteriaContains::isDestination(), ChainPathNode::isDestination(), isJumping(), isLocalSerial(), NavPath::isNeighborPath(), Matrix3x3::IsValid(), Matrix4x4::IsValid(), kbGetInput(), GamePlanet::Kill(), MessageCenter::last(), LeadMe(), light_rekey_frame(), LittleEndian(), AnimatedTexture::LoadAni(), NavComputer::loadChainLister(), FactionUtil::LoadContrabandLists(), NavComputer::loadCriteriaPickerCell(), NavigationSystem::CachedSystemIterator::SystemInfo::loadData(), FactionUtil::LoadFactionPlaylists(), BaseComputer::loadListPicker(), BaseComputer::loadMasterList(), Mesh::LoadMeshes(), BaseComputer::loadMissionsMasterList(), BaseComputer::loadNewsControls(), NavComputer::loadPathLister(), Unit::LoadRow(), BaseComputer::loadSellUpgradeControls(), BaseComputer::loadShipDealerControls(), loadsounds(), LoadTex(), Faction::LoadXML(), NetClient::loginChooseShip(), Logo::Logo(), VSFileSystem::LookForFile(), lookupMountSize(), LookupUnitRow(), VsnetTCPSocket::lower_selected(), StarSystemGent::Vector::Mag(), main(), StarSystemGent::MakeBigUnit(), MakeFogMesh(), StarSystemGent::MakeJumps(), Unit::makeMasterPartList(), MakeMesh(), StarSystemGent::MakePlanet(), StarSystemGent::makeRS(), MakeStarSystem(), mapToStringVec(), matchCargoToWeapon(), MatchingMood(), Mesh::Mesh(), Mix_SoftVolume_Change(), GFXQuadList::ModQuad(), mouseDrag(), mouseMotion(), BaseInterface::Room::MouseOver(), BaseInterface::MouseOver(), Music::Music(), Music::Mute(), Music::MuzakCycle(), myGlutJoystickCallback(), NavComputer::NavComputer(), NavigationSystem::NavigationSystem(), num_delayed_missions(), UniverseUtil::numActiveMissions(), GFXVertexList::numQuads(), NumStarsInGalaxy(), GFXVertexList::numTris(), BaseUtil::VideoAudioStreamListener::onEndOfStream(), Audio::OpenALStreamingSound::OpenALStreamingSound(), VertexCompare::operator()(), NavigationSystem::SystemIterator::operator++(), OrigMeshContainer::operator<(), Cockpit::PackUnitInfo(), VsnetDownload::RecvCmdDownload::parse(), Faction::ParseAllAllies(), Faction::ParseAllies(), ParseCommandLine(), __impl::parseFloat4(), parseFloat4(), PaintText::parseFragmentsWithCharBreak(), parseMountSizes(), UnitFactory::parsePlanetBuffer(), ParseSizeFlags(), UnitUtil::PercentOperational(), Mount::PhysicsAlignedFire(), PickleAllMissions(), Planet::Planet(), Music::Play(), BaseUtil::PlayVideo(), png_write(), PointStarVlist::PointStarVlist(), Radar::BubbleDisplay::PrepareAnimation(), Radar::PlaneDisplay::PrepareAnimation(), prettyPrintFloat(), CPK3::PrintFileContent(), GFXSphereVertexList::ProceduralModification(), FireKeyboard::ProcessCommMessage(), Orders::AggressiveAI::ProcessCurrentFgDirective(), processDelayedMissions(), Animation::ProcessDrawQueue(), Mesh::ProcessDrawQueue(), ProcessInput(), ProcessJoystick(), Orders::AggressiveAI::ProcessLogic(), ClassCache< Typ, Key >::purgeCache(), fg_util::PurgeZeroShips(), Resizable< GFXColorVertex >::push_backN(), pushMesh(), Order::queryAny(), GameUnit< UnitType >::queryFrustum(), Unit::querySphere(), GameUnit< UnitType >::querySphereClickList(), Unit::querySphereNoRecurse(), Order::queryType(), Audio::OpenALRenderableStreamingSource::queueALBuffers(), CockpitKeys::QuitNow(), CommunicatingAI::RandomInitiateCommunication(), Unit::rayCollide(), readCommandLineOptions(), readf(), readi(), ReadIntSpace(), GameMenu::readJoinGameControls(), VSFileSystem::VSFile::ReadLine(), readnames(), readplanetentity(), quadsquare::RecomputeErrorAndLighting(), UnitUtil::RecomputeUnitUpgrades(), AccountServer::recvMsg(), GFXVertexList::RefreshDisplayList(), SaveGame::ReloadPickledData(), Unit::RemoveFromSystem(), removelightfromnewpick(), NavPath::removeOldPath(), PathManager::removePath(), EventManager::removeResponder(), StarSystem::Statistics::RemoveUnit(), StarSystem::RemoveUnit(), UnitUtil::removeWeapon(), Briefing::Ship::Render(), Briefing::Render(), quadsquare::Render(), Terrain::RenderAll(), GFXVertexList::RenormalizeNormals(), XMLSupport::replace_space(), RestoreFirstPassState(), RestoreKB(), StarSystemGent::Vector::Roll(), Rread(), s_testBigEndian(), UniverseUtil::SafeStarSystemEntrancePoint(), saveDataList(), PickerCells::saveOpenCategories(), saveStringList(), ScoreKill(), Picker::scrollToCell(), BaseComputer::scrollToItem(), sdl_softvolume_effect_S16LSB(), sdl_softvolume_effect_S16MSB(), sdl_softvolume_effect_S8(), sdl_softvolume_effect_U16LSB(), sdl_softvolume_effect_U16MSB(), sdl_softvolume_effect_U8(), select_from_space_list(), SelectDockPort(), Picker::selectedItem(), BaseComputer::BuyUpgradeOperation::selectMount(), BaseComputer::SellUpgradeOperation::selectMount(), sellShip(), NetServer::sendCommunication(), EventManager::sendInputEvent(), Universe::SetActiveCockpit(), Mesh::SetBlendMode(), NavigationSystem::setCurrentSystem(), Mesh::setEnvMap(), Mesh::setLighting(), BaseUtil::SetLinkArea(), BaseUtil::SetLinkEventMask(), BaseUtil::SetLinkPython(), BaseUtil::SetLinkRoom(), BaseUtil::SetLinkText(), Mesh::SetMaterial(), NavigationSystem::SetMouseFlipStatus(), Orders::FormUpToOwner::SetParent(), PaintText::setText(), BaseUtil::SetTextBoxText(), BaseUtil::SetTexture(), Mesh::setTextureCumulativeTime(), BaseUtil::SetTexturePos(), BaseUtil::SetTextureSize(), ContinuousTerrain::SetTransformation(), NavigationSystem::Setup(), GameUniverse::SetupCockpits(), Universe::SetupCockpits(), SetupGLLightGlobals(), SetupSpecMapFirstPass(), GalaxyXML::SGalaxy::setVariable(), BaseUtil::SetVideoCallback(), Music::SetVolume(), ShiftPalette(), shouldreflect(), ChooseTargetClass< numTuple >::ShouldTargetUnit(), PathManager::showAll(), showListQuestion(), PathManager::showNone(), BaseComputer::showPlayerInfo(), BaseComputer::showShipStats(), ShowText(), showUnitStats(), SortStarSystems(), GameUnit< UnitType >::Split(), SpriteStarVlist::SpriteStarVlist(), SqrDistance(), StarSystemGent::starin(), Universe::StarSystemIndex(), AccountServer::start(), NetServer::start(), GameUniverse::StartDraw(), FSM::StopAllSounds(), FSM::Node::StopSound(), UniverseUtil::StopTargettingEachOther(), BaseUtil::StopVideo(), Font::stringWidth(), Stupodmain(), SuperDock(), SwapInNewShipName(), SwitchUnits(), SwitchVDUTo(), NetClient::synchronizeTime(), NavigationSystem::CachedSystemIterator::SystemInfo::SystemInfo(), UniverseUtil::systemInMemory(), t_rng16::t_rng16(), Tab(), StarSystemGent::Tab(), TabString(), BaseInterface::Room::Talk::Talk(), UniverseUtil::TargetEachOther(), TargMission(), TentativeJumpTo(), terrainTransform(), Opcode::Triangle::TestAgainstPlane(), Audio::Test::testComplexScene(), Audio::Test::testMultiStreaming(), Audio::Test::testMultiStreaming2(), Audio::Test::testSimpleScene(), Audio::Test::testSimpleSceneWTemplates(), Audio::Test::testStreaming(), TexMap(), texTransform(), trackPrice(), GameUnit< UnitType >::TransferUnitToSystem(), truncateByPipe(), UnDockNow(), NetClient::unfireRequest(), Cockpit::UnpackUnitInfo(), UnpickleAllMissions(), unpicklights(), Briefing::Update(), StarSystem::Update(), Universe::Update(), Cockpit::Update(), Terrain::UpdateAll(), CommunicatingAI::UpdateContrabandSearch(), PathManager::updateDependants(), Mesh::UpdateFX(), Audio::SceneManager::updateListenerImpl(), UpdateMasterPartList(), PathManager::updatePaths(), GameNebula::UpdatePhysics2(), Missile::UpdatePhysics2(), GameUnit< UnitType >::UpdatePhysics2(), UpdateTimeCompressionSounds(), UpgradeAllowed(), upgradeNotAddedToCargo(), vdu_lookup(), StarSystemGent::Vector::Vector(), PaintText::visibleLineCountStartingWith(), Cockpit::visitSystem(), VSRandom::VSRandom(), vsstrcmp(), VSSwapHostFloatToLittle(), SocketSet::wait(), StarSystemGent::whichGradColor(), Universe::whichPlayerStarship(), whichside(), XMLnode::Write(), XMLSerializer::Write(), writeCSV(), WriteHudDamage(), WriteHudDamageFunc(), GameUniverse::WriteSaveGame(), XMLnode::WriteString(), XMLSerializer::WriteString(), Unit::WriteUnitString(), Wwrite(), XMLDOM::XMLElement::XMLElement(), StarSystemGent::Vector::Yaw(), Animation::~Animation(), BaseComputer::~BaseComputer(), BaseInterface::~BaseInterface(), bolt_draw::~bolt_draw(), Briefing::~Briefing(), ContinuousTerrain::~ContinuousTerrain(), ForceFeedback::~ForceFeedback(), GroupControl::~GroupControl(), HaloSystem::~HaloSystem(), Mesh::~Mesh(), NavComputer::~NavComputer(), NavPath::~NavPath(), PathManager::~PathManager(), PythonMissionBaseClass::~PythonMissionBaseClass(), BaseInterface::Room::~Room(), SpriteStarVlist::~SpriteStarVlist(), and Terrain::~Terrain().
#define i (trans.r[8]) |
#define M | ( | A, | |
B | |||
) | (t.r[B*3+A]) |
#define M | ( | A, | |
B | |||
) | (t.r[B*3+A]) |
Copies Matrix source into the destination Matrix
Definition at line 243 of file matrix.h.
Referenced by ContinuousTerrain::AdjustTerrain(), Bolt::Bolt(), ContinuousTerrain::Collide(), Atmosphere::Draw(), GFXGetMatrix(), GFXGetMatrixModel(), GFXGetMatrixView(), GFXLoadMatrix(), GFXLoadMatrixModel(), GFXLoadMatrixView(), GFXMultMatrix(), GFXMultMatrixModel(), Mount::PhysicsAlignedFire(), Atmosphere::SetMatricesAndDraw(), and ContinuousTerrain::SetTransformation().
|
inline |
Computes a 4x4 identity matrix
Definition at line 160 of file matrix.h.
References Matrix::p, and Matrix::r.
Referenced by Animation::Animation(), bootstrap_draw(), ContinuousTerrain::ContinuousTerrain(), createObjects(), GameStarSystem::Draw(), evaluateViews(), GameCockpit::GameCockpit(), ContinuousTerrain::GetGroundPosIdentTrans(), GFXGetMatrix(), GFXLoadIdentity(), Unit::Init(), QuadTree::QuadTree(), GamePlanet::reactToCollision(), Briefing::Ship::Render(), Matrix4x4::RotX(), Matrix4x4::RotY(), Matrix4x4::RotZ(), and Camera::UpdatePlanetGFX().
Referenced by ConfigAllows().
Definition at line 324 of file matrix.h.
References a, b, c, d, e, f, g, h, i, Matrix::p, and QVector.
Referenced by ContinuousTerrain::AdjustTerrain(), ContinuousTerrain::Collide(), QuadTree::GetGroundPos(), QuadTree::GetHeight(), QuadTree::Render(), and QuadTree::Update().
Definition at line 292 of file matrix.h.
References InvTransformNormal(), Matrix::p, and QVector.
Referenced by Unit::ApplyDamage(), Unit::CanDockWithMe(), dockingdistance(), Unit::rayCollide(), and Unit::UpdatePhysics().
Definition at line 273 of file matrix.h.
Referenced by Unit::GetNetAcceleration(), InvTransform(), Unit::ResolveForces(), Atmosphere::Update(), and WackyMultFloatMatrix().
Definition at line 316 of file matrix.h.
References Matrix::p, and Matrix::r.
Referenced by GamePlanet::Draw(), Transformation::from_matrix(), and GameUnit< UnitType >::UpdatePhysics2().
Multiplies m1 and m2 and pops the result into dest; dest != m1, dest !=m2
Definition at line 214 of file matrix.h.
References Matrix::p, and Matrix::r.
Referenced by LocationSelect::Draw(), Atmosphere::Draw(), BaseInterface::Room::BaseShip::Draw(), GameUnit< UnitType >::DrawNow(), GFXBoxInFrustumModel(), GFXGetMatrix(), GFXLoadMatrix(), GFXMultMatrix(), GFXMultMatrixModel(), GFXTranslate(), LookAtHelper(), Matrix::operator*(), GamePlanet::reactToCollision(), and Briefing::Ship::Render().
Definition at line 384 of file matrix.h.
References c, UniverseUtil::cos(), M, Matrix::p, and UniverseUtil::sin().
Referenced by Unit::AutoPilotToErrorMessage(), Unit::UnDock(), Atmosphere::Update(), and Unit::UpdatePhysics2().
Computes a Translation matrix based on x,y,z translation
Definition at line 176 of file matrix.h.
References c, M, and Matrix::p.
Referenced by PointStarVlist::BeginDrawState(), and GameCockpit::SetupViewPort().
moves a vector struct to a matrix
Definition at line 108 of file matrix.h.
References Matrix::r.
Referenced by Bolt::Bolt(), bootstrap_draw(), ContinuousTerrain::Collide(), createObjects(), Bolt::Draw(), HaloSystem::Draw(), AtmosphereHalo::Draw(), GameUnit< UnitType >::Draw(), GameUnit< UnitType >::DrawNow(), ContinuousTerrain::SetTransformation(), and GameUnit< UnitType >::WarpMatrix().
moves a vector in the localspace to world space through matrix t
Definition at line 250 of file matrix.h.
References Matrix::p, QVector, and Matrix::r.
Referenced by ContinuousTerrain::AdjustTerrain(), PointStarVlist::BeginDrawState(), Unit::CanDockWithMe(), ContinuousTerrain::Collide(), Transformation::Compose(), ContinuousTerrain::Draw(), HaloSystem::Draw(), GameUnit< UnitType >::Draw(), DrawDockingBoxes(), GameUnit< UnitType >::DrawNow(), Unit::EjectCargo(), Orders::AutoDocking::EnqueuePort(), Orders::FormUp::Execute(), Orders::FormUpToOwner::Execute(), anonymous_namespace{autodocking.cpp}::FindDockingPort(), QuadTree::GetGroundPos(), Unit::getMinDis(), Unit::InsideCollideTree(), LaunchOneParticle(), Orders::DockingOps::Movement(), Mount::PhysicsAlignedFire(), GameUnit< UnitType >::queryFrustum(), ClickList::queryShip(), Unit::querySphere(), GameUnit< UnitType >::querySphereClickList(), Unit::querySphereClickList(), Unit::querySphereNoRecurse(), Unit::reactToCollision(), SelectDockPort(), GameCockpit::SetupViewPort(), Atmosphere::Update(), GameUnit< UnitType >::UpdateHudMatrix(), and CoordinateSelect::UpdateMouse().
Definition at line 301 of file matrix.h.
References Matrix::r, and Vector.
Referenced by ApplyQuaternion(), CanFaceTarget(), ContinuousTerrain::Collide(), Unit::DownCoordinateLevel(), QuadTree::GetGroundPos(), QuadTree::GetHeight(), QuadTree::GetNormal(), GFXTranslateModel(), GFXTranslateView(), HoldPositionWithRespectTo(), Unit::InsideCollideTree(), Transformation::InvertAndToMatrix(), InvertMatrix(), Unit::ToWorldCoordinates(), Beam::UpdatePhysics(), GameUnit< UnitType >::UpdatePhysics2(), Unit::UpdatePhysics2(), and WackyMultFloatMatrix().
|
inline |
Definition at line 121 of file matrix.h.
References Matrix::p, and Matrix::r.
Referenced by AdjustMatrix(), Animation::CalculateOrientation(), Bolt::Draw(), GameUnit< UnitType >::Draw(), GameCockpit::Draw(), GameUnit< UnitType >::DrawNow(), Matrix::Matrix(), GamePlanet::reactToCollision(), SetDirection(), and Animation::SetOrientation().
|
inline |
zeros out a 4x4 matrix quickly
Definition at line 143 of file matrix.h.
References Matrix::p, and Matrix::r.
Referenced by Matrix3x3::Identity(), and Matrix4x4::Identity().