Skip to content

Commit

Permalink
New zoom map implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Feb 10, 2017
1 parent 6be618b commit c787488
Show file tree
Hide file tree
Showing 3 changed files with 3,242 additions and 0 deletions.
106 changes: 106 additions & 0 deletions SCANsat.Unity/Interfaces/ISCAN_ZoomMap.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace SCANsat.Unity.Interfaces
{
public interface ISCAN_ZoomMap
{
string Version { get; }

string CurrentMapType { get; set; }

string CurrentResource { get; set; }

string ZoomLevelText { get; }

string MapCenterText { get; }

string RandomWaypoint { get; }

bool IsVisible { get; set; }

bool VesselLock { get; set; }

bool ColorToggle { get; set; }

bool OrbitToggle { get; set; }

bool IconsToggle { get; set; }

bool LegendToggle { get; set; }

bool ResourceToggle { get; set; }

bool OrbitAvailable { get; }

bool ShowOrbit { get; }

bool ShowWaypoint { get; }

bool ShowResource { get; }

bool TooltipsOn { get; }

bool LockInput { get; set; }

int OrbitSteps { get; }

int CurrentScene { get; }

int WindowState { get; set; }

float Scale { get; }

Sprite WaypointSprite { get; }

Canvas MainCanvas { get; }

Canvas TooltipCanvas { get; }

Vector2 Position { get; set; }

Vector2 Size { get; set; }

Texture2D LegendImage { get; }

IList<string> MapTypes { get; }

IList<string> Resources { get; }

IList<string> LegendLabels { get; }

Dictionary<string, MapLabelInfo> OrbitLabelList { get; }

Dictionary<Guid, MapLabelInfo> FlagInfoList { get; }

Dictionary<string, MapLabelInfo> AnomalyInfoList { get; }

Dictionary<int, MapLabelInfo> WaypointInfoList { get; }

KeyValuePair<Guid, MapLabelInfo> VesselInfo { get; }

string MapInfo(Vector2 rectPosition);

void RefreshMap();

void Update();

void VesselSync();

void MoveMap(int i);

void ZoomMap(bool zoom);

void SetWaypoint(string id, Vector2 pos);

void ClickMap(int button, Vector2 pos);

SimpleLabelInfo OrbitInfo(int index);

MapLabelInfo OrbitIconInfo(string id);

Vector2 VesselPosition();
}
}
Loading

0 comments on commit c787488

Please sign in to comment.