![]() |
Pioneer
|
#include "SectorView.h"#include "AnimationCurves.h"#include "Game.h"#include "GameConfig.h"#include "GameSaveError.h"#include "Input.h"#include "MathUtil.h"#include "Pi.h"#include "Player.h"#include "Space.h"#include "StringF.h"#include "galaxy/Galaxy.h"#include "galaxy/GalaxyCache.h"#include "galaxy/Sector.h"#include "galaxy/StarSystem.h"#include "graphics/Graphics.h"#include "graphics/Material.h"#include "graphics/RenderState.h"#include "graphics/Renderer.h"#include "graphics/Types.h"#include "imgui/imgui.h"#include "lua/LuaConstants.h"#include "lua/LuaObject.h"#include "lua/LuaTable.h"#include "matrix4x4.h"#include "pigui/PiGui.h"#include "pigui/PiGuiRenderer.h"#include "sigc++/functors/mem_fun.h"#include "utils.h"#include <algorithm>#include <sstream>#include <unordered_set>
Classes | |
| class | SectorView::Label |
| class | SectorView::StarLabel |
| class | SectorView::FactionLabel |
Macros | |
| #define | INNER_RADIUS (Sector::SIZE * 1.5f) |
| #define | OUTER_RADIUS (Sector::SIZE * float(DRAW_RAD)) |
| #define | FFRAC(_x) ((_x)-floor(_x)) |
| #define | BINDING_GROUP(n) group = mapView->GetBindingGroup(#n); |
| #define | KEY_BINDING(name, k1, k2) input->AddActionBinding(name, group, InputBindings::Action({ k1 }, { k2 })); |
| #define | AXIS_BINDING(name, k1, k2) input->AddAxisBinding(name, group, InputBindings::Axis({}, { k1 }, { k2 })); |
Typedefs | |
| using | box_t = std::array< int, SIDES > |
Enumerations | |
| enum | DetailSelection { DETAILBOX_NONE = 0 , DETAILBOX_INFO = 1 , DETAILBOX_FACTION = 2 } |
| enum | Side { XMIN , XMAX , YMIN , YMAX , ZMIN , ZMAX , SIDES } |
Functions | |
| REGISTER_INPUT_BINDING (SectorView) | |
| #define AXIS_BINDING | ( | name, | |
| k1, | |||
| k2 | |||
| ) | input->AddAxisBinding(name, group, InputBindings::Axis({}, { k1 }, { k2 })); |
| #define BINDING_GROUP | ( | n | ) | group = mapView->GetBindingGroup(#n); |
| #define FFRAC | ( | _x | ) | ((_x)-floor(_x)) |
| #define INNER_RADIUS (Sector::SIZE * 1.5f) |
| #define KEY_BINDING | ( | name, | |
| k1, | |||
| k2 | |||
| ) | input->AddActionBinding(name, group, InputBindings::Action({ k1 }, { k2 })); |
| #define OUTER_RADIUS (Sector::SIZE * float(DRAW_RAD)) |
| enum DetailSelection |
| enum Side |
| REGISTER_INPUT_BINDING | ( | SectorView | ) |