Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <navscreen.h>
Classes | |
struct | SystemInfo |
Public Member Functions | |
CachedSystemIterator () | |
CachedSystemIterator (string current_system, unsigned max_systems=2) | |
void | init (string current_system, unsigned max_systems=2) |
bool | seek (unsigned position=0) |
unsigned | getIndex () const |
unsigned | size () const |
bool | done () const |
SystemInfo & | operator[] (unsigned pos) |
const SystemInfo & | operator[] (unsigned pos) const |
SystemInfo & | operator* () |
const SystemInfo & | operator* () const |
SystemInfo * | operator-> () |
const SystemInfo * | operator-> () const |
CachedSystemIterator & | next () |
CachedSystemIterator & | operator++ () |
Friends | |
struct | SystemInfo |
Definition at line 37 of file navscreen.h.
NavigationSystem::CachedSystemIterator::CachedSystemIterator | ( | ) |
Definition at line 426 of file drawgalaxy.cpp.
NavigationSystem::CachedSystemIterator::CachedSystemIterator | ( | string | current_system, |
unsigned | max_systems = 2 |
||
) |
Definition at line 428 of file drawgalaxy.cpp.
References init().
bool NavigationSystem::CachedSystemIterator::done | ( | ) | const |
Definition at line 457 of file drawgalaxy.cpp.
Referenced by NavigationSystem::DrawGalaxy(), and NavigationSystem::CachedSectorIterator::init().
unsigned NavigationSystem::CachedSystemIterator::getIndex | ( | ) | const |
Definition at line 447 of file drawgalaxy.cpp.
Referenced by NavigationSystem::DrawGalaxy(), and NavigationSystem::CachedSectorIterator::init().
void NavigationSystem::CachedSystemIterator::init | ( | string | current_system, |
unsigned | max_systems = 2 |
||
) |
Definition at line 397 of file drawgalaxy.cpp.
References UniverseUtil::GetAdjacentSystem(), UniverseUtil::GetNumAdjacentSystems(), j, and SystemInfo.
Referenced by CachedSystemIterator(), and NavigationSystem::Setup().
NavigationSystem::CachedSystemIterator & NavigationSystem::CachedSystemIterator::next | ( | ) |
Definition at line 553 of file drawgalaxy.cpp.
NavigationSystem::CachedSystemIterator::SystemInfo & NavigationSystem::CachedSystemIterator::operator* | ( | ) |
const NavigationSystem::CachedSystemIterator::SystemInfo & NavigationSystem::CachedSystemIterator::operator* | ( | ) | const |
NavigationSystem::CachedSystemIterator & NavigationSystem::CachedSystemIterator::operator++ | ( | ) |
Definition at line 558 of file drawgalaxy.cpp.
NavigationSystem::CachedSystemIterator::SystemInfo * NavigationSystem::CachedSystemIterator::operator-> | ( | ) |
const NavigationSystem::CachedSystemIterator::SystemInfo * NavigationSystem::CachedSystemIterator::operator-> | ( | ) | const |
NavigationSystem::CachedSystemIterator::SystemInfo & NavigationSystem::CachedSystemIterator::operator[] | ( | unsigned | pos) |
const NavigationSystem::CachedSystemIterator::SystemInfo & NavigationSystem::CachedSystemIterator::operator[] | ( | unsigned | pos) | const |
bool NavigationSystem::CachedSystemIterator::seek | ( | unsigned | position = 0 ) |
Definition at line 437 of file drawgalaxy.cpp.
Referenced by NavigationSystem::DrawGalaxy(), and NavigationSystem::CachedSectorIterator::init().
unsigned NavigationSystem::CachedSystemIterator::size | ( | ) | const |
Definition at line 452 of file drawgalaxy.cpp.
Referenced by NavPath::evaluate(), NavigationSystem::getCurrentSystem(), NavigationSystem::getDestinationSystem(), NavigationSystem::getFocusedSystem(), NavigationSystem::getSelectedSystem(), and NavigationSystem::setCurrentSystem().
|
friend |
Definition at line 67 of file navscreen.h.
Referenced by init().