├── .gitignore ├── Assets ├── MiniMap.meta ├── MiniMap │ ├── Map_1.meta │ ├── Map_1 │ │ ├── MiniMap.prefab │ │ ├── MiniMap.prefab.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── arrow.png │ │ │ ├── arrow.png.meta │ │ │ ├── border.png │ │ │ ├── border.png.meta │ │ │ ├── mapBg.png │ │ │ └── mapBg.png.meta │ ├── Map_2.meta │ ├── Map_2 │ │ ├── MiniMap.prefab │ │ ├── MiniMap.prefab.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── arrow.png │ │ │ ├── arrow.png.meta │ │ │ ├── border.png │ │ │ ├── border.png.meta │ │ │ ├── mapBack.png │ │ │ └── mapBack.png.meta │ ├── Map_3.meta │ ├── Map_3 │ │ ├── MiniMap.prefab │ │ ├── MiniMap.prefab.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── arrow.png │ │ │ ├── arrow.png.meta │ │ │ ├── back.png │ │ │ ├── back.png.meta │ │ │ ├── border.png │ │ │ └── border.png.meta │ ├── Map_4.meta │ ├── Map_4 │ │ ├── MiniMap.prefab │ │ ├── MiniMap.prefab.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── map2Bg.png │ │ │ ├── map2Bg.png.meta │ │ │ ├── mapBorder.png │ │ │ ├── mapBorder.png.meta │ │ │ ├── navArrow.png │ │ │ └── navArrow.png.meta │ ├── MiniMap Documentation.pdf │ ├── MiniMap Documentation.pdf.meta │ ├── SampleMarkers.meta │ ├── SampleMarkers │ │ ├── arrow.png │ │ ├── arrow.png.meta │ │ ├── deerIcon.png │ │ ├── deerIcon.png.meta │ │ ├── defaultMarker.png │ │ ├── defaultMarker.png.meta │ │ ├── foxIcon.png │ │ ├── foxIcon.png.meta │ │ ├── rabbitIcon.png │ │ └── rabbitIcon.png.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── InnerMap.cs │ │ ├── InnerMap.cs.meta │ │ ├── MapArrow.cs │ │ ├── MapArrow.cs.meta │ │ ├── MapCanvasController.cs │ │ ├── MapCanvasController.cs.meta │ │ ├── MapMarker.cs │ │ ├── MapMarker.cs.meta │ │ ├── MarkerGroup.cs │ │ └── MarkerGroup.cs.meta │ ├── Sources.meta │ └── Sources │ │ ├── map_1.psd │ │ ├── map_1.psd.meta │ │ ├── map_2.psd │ │ ├── map_2.psd.meta │ │ ├── map_3.psd │ │ └── map_3.psd.meta ├── Resources.meta ├── Resources │ ├── Todo.meta │ └── Todo │ │ ├── TodoList.asset │ │ └── TodoList.asset.meta └── Scenes.meta ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset ├── README.md └── docs ├── .sublime-build ├── Makefile ├── _build ├── doctrees │ ├── environment.pickle │ ├── index.doctree │ ├── overview.doctree │ ├── tutorial.doctree │ └── tutorials.doctree └── html │ ├── .buildinfo │ ├── _images │ ├── hide_out_of_radius.png │ ├── map_canvas_controller.png │ ├── map_marker.png │ ├── sample_1.png │ ├── sample_2.png │ └── sample_3.png │ ├── _sources │ ├── index.txt │ ├── overview.txt │ ├── tutorial.txt │ └── tutorials.txt │ ├── _static │ ├── ajax-loader.gif │ ├── alabaster.css │ ├── basic.css │ ├── comment-bright.png │ ├── comment-close.png │ ├── comment.png │ ├── css │ │ ├── badge_only.css │ │ └── theme.css │ ├── doctools.js │ ├── down-pressed.png │ ├── down.png │ ├── file.png │ ├── fonts │ │ ├── Inconsolata-Bold.ttf │ │ ├── Inconsolata-Regular.ttf │ │ ├── Lato-Bold.ttf │ │ ├── Lato-Regular.ttf │ │ ├── RobotoSlab-Bold.ttf │ │ ├── RobotoSlab-Regular.ttf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ ├── hide_out_of_radius.png │ ├── jquery-1.11.1.js │ ├── jquery.js │ ├── js │ │ ├── modernizr.min.js │ │ └── theme.js │ ├── map_canvas_controller.png │ ├── map_marker.png │ ├── minus.png │ ├── plus.png │ ├── pygments.css │ ├── sample_1.png │ ├── sample_2.png │ ├── sample_3.png │ ├── searchtools.js │ ├── underscore-1.3.1.js │ ├── underscore.js │ ├── up-pressed.png │ ├── up.png │ └── websupport.js │ ├── genindex.html │ ├── index.html │ ├── objects.inv │ ├── overview.html │ ├── search.html │ ├── searchindex.js │ ├── tutorial.html │ └── tutorials.html ├── _static ├── map_canvas_controller.png ├── map_marker.png ├── sample_1.png ├── sample_2.png └── sample_3.png ├── conf.py ├── index.rst ├── overview.rst └── tutorial.rst /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | 23 | # Visual studio tools for unity 24 | Assets/UnityVS/ 25 | Assets/UnityVS.meta 26 | -------------------------------------------------------------------------------- /Assets/MiniMap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb371164bb1ea3f44b5f78ad03b19b45 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cc0a5ae43590d04f9ca30425e09c945 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/MiniMap.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_1/MiniMap.prefab -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/MiniMap.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c36aff797779c94cad91c74ce6ff369 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 766f94df26fbabf46b57b5c5e58baa0b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_1/Textures/arrow.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/arrow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acf0193ae9f1be24b87a04a9aaf1fcec 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_1/Textures/border.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/border.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d210ef6773c6974298fa1d38fc8b8de 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/mapBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_1/Textures/mapBg.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_1/Textures/mapBg.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d00e23259b8c844f8517168392f5151 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -3 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3793fb13f6fb0074280254a039b901e5 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/MiniMap.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_2/MiniMap.prefab -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/MiniMap.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 628a40571c4dba34d87bf88be09aeb5e 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efd09d83cf432e14ea5ec1428e230de0 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_2/Textures/arrow.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/arrow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b374dd3a3216bf4eb23ddcc40b760cd 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_2/Textures/border.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/border.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e93e58fc152ccba4db8b2502ba761116 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/mapBack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_2/Textures/mapBack.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_2/Textures/mapBack.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf062568ec2816e4e86c2c5ee82b00cf 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -3 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16c42fcab444b9e439b0621acf5a8716 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/MiniMap.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_3/MiniMap.prefab -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/MiniMap.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 492dfa8b2e2c5f945b1c551d82b6d9c3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 353e7b4d8a1ae6e46a2c571206200ba4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_3/Textures/arrow.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/arrow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ead40336018c42d41a2c0cf4921cdb2e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_3/Textures/back.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/back.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7452e00bde33fe4181bdc60ca325b25 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -3 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_3/Textures/border.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_3/Textures/border.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 814ff9ec03d292543b332dbf7c26b76d 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4666eddf56d805e49bc27b885d69b22b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/MiniMap.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_4/MiniMap.prefab -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/MiniMap.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1edb165629e51f141b177265ad12ba5e 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ce64fc814ffe994a814535b4e6c7475 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/map2Bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_4/Textures/map2Bg.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/map2Bg.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b067b7cd1ddec5040a42939da540573e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -3 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/mapBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_4/Textures/mapBorder.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/mapBorder.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 958c47b517feb874fa841dee3c1bc6de 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -3 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/navArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Map_4/Textures/navArrow.png -------------------------------------------------------------------------------- /Assets/MiniMap/Map_4/Textures/navArrow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df38456a7fa244b4986c309ec266e128 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/MiniMap Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/MiniMap Documentation.pdf -------------------------------------------------------------------------------- /Assets/MiniMap/MiniMap Documentation.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 913cc3b7d8c49c242a78e4781ea316f9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4050ca30272ffe9498744f9c4d30bd7a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/SampleMarkers/arrow.png -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/arrow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29da5614d55358d4e863fc93a4815d66 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/deerIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/SampleMarkers/deerIcon.png -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/deerIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47f71765fd03f414f8bf2082c4e22223 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/defaultMarker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/SampleMarkers/defaultMarker.png -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/defaultMarker.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb023e63c5f1b646a83ad530fad2a0e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/foxIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/SampleMarkers/foxIcon.png -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/foxIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3cff2d254b7da14a9e3bb66d16175ee 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/rabbitIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/SampleMarkers/rabbitIcon.png -------------------------------------------------------------------------------- /Assets/MiniMap/SampleMarkers/rabbitIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c23ec31f27544ae40afb152f461520cc 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: 16 29 | mipBias: -1 30 | wrapMode: 1 31 | nPOTScale: 0 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 1 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 1 42 | textureType: 8 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 092bda6cac817c6409601f8a51973036 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/InnerMap.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | [AddComponentMenu("MiniMap/Inner map")] 6 | [RequireComponent(typeof(Image))] 7 | public class InnerMap : MonoBehaviour { 8 | 9 | private RectTransform _innerMapRect; 10 | 11 | public RectTransform InnerMapRect 12 | { 13 | get 14 | { 15 | if (!_innerMapRect) 16 | { 17 | _innerMapRect = GetComponent(); 18 | } 19 | 20 | return _innerMapRect; 21 | } 22 | } 23 | 24 | public float getMapRadius() 25 | { 26 | Vector3[] arr = new Vector3[4]; 27 | InnerMapRect.GetLocalCorners(arr); 28 | 29 | float mapRadius; 30 | 31 | if (Mathf.Abs(arr[0].x) < Mathf.Abs(arr[0].y)) 32 | { 33 | mapRadius = Mathf.Abs(arr[0].x); 34 | } 35 | else 36 | { 37 | mapRadius = Mathf.Abs(arr[0].y); 38 | } 39 | 40 | return mapRadius; 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/InnerMap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b56b3adff3fc724ca6d00967d538d88 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapArrow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [AddComponentMenu("MiniMap/Map arrow")] 5 | public class MapArrow : MonoBehaviour { 6 | 7 | private RectTransform _arrowRect; 8 | 9 | public RectTransform ArrowRect 10 | { 11 | get 12 | { 13 | if (!_arrowRect) 14 | { 15 | _arrowRect = GetComponent(); 16 | if (!_arrowRect) 17 | { 18 | Debug.LogError("RectTransform not found. MapArrow script must by attached to an Image."); 19 | } 20 | } 21 | 22 | return _arrowRect; 23 | } 24 | } 25 | 26 | public void rotate(Quaternion quat) 27 | { 28 | ArrowRect.rotation = quat; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapArrow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bce7b5caa3f37f42903a690093e2e2f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapCanvasController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | [AddComponentMenu("MiniMap/Map canvas controller")] 6 | [RequireComponent(typeof(RectTransform))] 7 | public class MapCanvasController : MonoBehaviour 8 | { 9 | #region Singleton 10 | public static MapCanvasController Instance 11 | { 12 | get 13 | { 14 | if (!_instance) 15 | { 16 | MapCanvasController[] controllers = GameObject.FindObjectsOfType(); 17 | 18 | if (controllers.Length != 0) 19 | { 20 | if (controllers.Length == 1) 21 | { 22 | _instance = controllers[0]; 23 | } 24 | else 25 | { 26 | Debug.LogError("You have more than one MapCanvasController in the scene."); 27 | } 28 | } 29 | else 30 | { 31 | Debug.LogError("You should add Map prefab to your canvas"); 32 | } 33 | 34 | 35 | } 36 | 37 | 38 | return _instance; 39 | } 40 | } 41 | 42 | private static MapCanvasController _instance; 43 | #endregion 44 | 45 | #region Public 46 | 47 | /* Transform of the player that will be shown in the center of the map 48 | */ 49 | public Transform playerTransform; 50 | 51 | /* Distance from which the objects will be shown on the map 52 | * If objects are farer - they will be always on the border of the map or now shown at all 53 | */ 54 | public float radarDistance = 10; 55 | 56 | /* If true - objects out of range (radarDistance) will be hidden 57 | * If false - objects out of range (radarDistance) will stick to the border of the map 58 | * */ 59 | public bool hideOutOfRadius = true; 60 | 61 | /* Applied to objects that are out of range (radarDistance) 62 | * If true - the farer the object is, the more transparent it is 63 | * Used only when hideOutOfRadius == false 64 | * */ 65 | public bool useOpacity = true; 66 | 67 | /* Objects that are farer than radar distance but closer than maxRadarDistance 68 | * will be shown on the border of the map. 69 | * Used only when hideOutOfRadius == false 70 | */ 71 | public float maxRadarDistance = 10; 72 | 73 | /* Enables or disables the rotation of the map 74 | * If true - the map is rotated and the arrow is not 75 | * and vice versa 76 | */ 77 | public bool rotateMap = false; 78 | 79 | /* Sets the scale of the radaDistance and maxRadarDistance 80 | */ 81 | public float scale = 1.0f; 82 | 83 | /*Minimal opacity for the markers that are farther than radar distance 84 | */ 85 | public float minimalOpacity = 0.3f; 86 | 87 | 88 | public InnerMap InnerMapComponent 89 | { 90 | get 91 | { 92 | return innerMap; 93 | } 94 | } 95 | 96 | public MarkerGroup MarkerGroup 97 | { 98 | get 99 | { 100 | return markerGroup; 101 | } 102 | } 103 | #endregion 104 | 105 | 106 | #region Private 107 | private RectTransform mapRect; 108 | private InnerMap innerMap; 109 | private MapArrow mapArrow; 110 | private MarkerGroup markerGroup; 111 | private float innerMapRadius; 112 | #endregion 113 | 114 | #region Unity Methods 115 | 116 | void Awake() 117 | { 118 | 119 | if (!playerTransform) 120 | { 121 | Debug.LogError("You must specify the player transform"); 122 | } 123 | 124 | mapRect = GetComponent(); 125 | 126 | innerMap = GetComponentInChildren(); 127 | if (!innerMap) 128 | { 129 | Debug.LogError("InnerMap component is missing from children"); 130 | } 131 | 132 | mapArrow = GetComponentInChildren(); 133 | if (!mapArrow) 134 | { 135 | Debug.LogError("MapArrow component is missing from children"); 136 | } 137 | 138 | markerGroup = GetComponentInChildren(); 139 | if (!markerGroup) 140 | { 141 | Debug.LogError("MerkerGroup component is missing. It must be a child of InnerMap"); 142 | } 143 | 144 | innerMapRadius = innerMap.getMapRadius(); 145 | 146 | } 147 | 148 | void Update () 149 | { 150 | if (!playerTransform) 151 | { 152 | //error was already fired in Awake() 153 | return; 154 | } 155 | if (rotateMap) 156 | { 157 | mapRect.rotation = Quaternion.Euler(new Vector3(0, 0, playerTransform.eulerAngles.y)); 158 | mapArrow.rotate(Quaternion.identity); 159 | } 160 | else 161 | { 162 | mapArrow.rotate(Quaternion.Euler(new Vector3(0, 0, -playerTransform.eulerAngles.y))); 163 | } 164 | } 165 | 166 | #endregion 167 | 168 | #region Custom methods 169 | 170 | public void checkIn(MapMarker marker) 171 | { 172 | if (!playerTransform) 173 | { 174 | //error was already fired in Awake() 175 | return; 176 | } 177 | 178 | float scaledRadarDistance = radarDistance * scale; 179 | float scaledMaxRadarDistance = maxRadarDistance * scale; 180 | 181 | if (marker.isActive) 182 | { 183 | float distance = distanceToPlayer(marker.getPosition()); 184 | float opacity = 1.0f; 185 | 186 | if (distance > scaledRadarDistance) 187 | { 188 | if (hideOutOfRadius) 189 | { 190 | if (marker.isVisible()) 191 | { 192 | marker.hide(); 193 | } 194 | return; 195 | } 196 | else 197 | { 198 | if (distance > scaledMaxRadarDistance) 199 | { 200 | if (marker.isVisible()) 201 | { 202 | marker.hide(); 203 | } 204 | return; 205 | } 206 | else 207 | { 208 | if (useOpacity) 209 | { 210 | float opacityRange = scaledMaxRadarDistance - scaledRadarDistance; 211 | if (opacityRange <= 0) 212 | { 213 | Debug.LogError("Max radar distance should be bigger than radar distance"); 214 | return; 215 | } 216 | else 217 | { 218 | float distanceDiff = distance - scaledRadarDistance; 219 | opacity = 1 - (distanceDiff / opacityRange); 220 | 221 | if (opacity < minimalOpacity) 222 | { 223 | opacity = minimalOpacity; 224 | } 225 | } 226 | } 227 | distance = scaledRadarDistance; 228 | } 229 | } 230 | } 231 | 232 | if (!marker.isVisible()) 233 | { 234 | marker.show(); 235 | } 236 | 237 | Vector3 posDif = marker.getPosition() - playerTransform.position; 238 | Vector3 newPos = new Vector3(posDif.x, posDif.z, 0); 239 | newPos.Normalize(); 240 | 241 | float markerRadius = (marker.markerSize / 2); 242 | float newLen = (distance / scaledRadarDistance) * (innerMapRadius - markerRadius); 243 | 244 | newPos *= newLen; 245 | marker.setLocalPos(newPos); 246 | marker.setOpacity(opacity); 247 | } 248 | else 249 | { 250 | if (marker.isVisible()) 251 | { 252 | marker.hide(); 253 | } 254 | } 255 | } 256 | 257 | private float distanceToPlayer(Vector3 other) 258 | { 259 | 260 | return Vector2.Distance(new Vector2(playerTransform.position.x, playerTransform.position.z), new Vector2(other.x, other.z)); 261 | } 262 | 263 | #endregion 264 | } 265 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapCanvasController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc508dd6d5cbf7d49b13c2c5302bce0d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapMarker.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | using System.Collections; 5 | 6 | [AddComponentMenu("MiniMap/Map marker")] 7 | public class MapMarker : MonoBehaviour 8 | { 9 | 10 | #region Public 11 | 12 | /* Sprite that will be shown on the map 13 | */ 14 | public Sprite markerSprite; 15 | 16 | /* Size of the marker on the map (width & height) 17 | */ 18 | public float markerSize = 6.5f; 19 | 20 | /* Enables or disables this marker on the map 21 | */ 22 | public bool isActive = true; 23 | 24 | public Image MarkerImage 25 | { 26 | get 27 | { 28 | return markerImage; 29 | } 30 | } 31 | 32 | #endregion 33 | 34 | #region Private 35 | 36 | private Image markerImage; 37 | 38 | #endregion 39 | 40 | #region Unity methods 41 | 42 | void Start () { 43 | if (!markerSprite) 44 | { 45 | Debug.LogError(" Please, specify the marker sprite."); 46 | } 47 | GameObject markerImageObject = new GameObject("Marker"); 48 | markerImageObject.AddComponent(); 49 | MapCanvasController controller = MapCanvasController.Instance; 50 | if (!controller) 51 | { 52 | Destroy(gameObject); 53 | return; 54 | } 55 | markerImageObject.transform.SetParent(controller.MarkerGroup.MarkerGroupRect); 56 | markerImage = markerImageObject.GetComponent(); 57 | markerImage.sprite = markerSprite; 58 | markerImage.rectTransform.localPosition = Vector3.zero; 59 | markerImage.rectTransform.localScale = Vector3.one; 60 | markerImage.rectTransform.sizeDelta = new Vector2(markerSize, markerSize); 61 | markerImage.gameObject.SetActive(false); 62 | } 63 | 64 | 65 | void Update () { 66 | MapCanvasController controller = MapCanvasController.Instance; 67 | if (!controller) 68 | { 69 | return; 70 | } 71 | MapCanvasController.Instance.checkIn(this); 72 | markerImage.rectTransform.rotation = Quaternion.identity; 73 | } 74 | 75 | void OnDestroy() 76 | { 77 | if (markerImage) 78 | { 79 | Destroy(markerImage.gameObject); 80 | } 81 | } 82 | 83 | #endregion 84 | 85 | #region Custom methods 86 | 87 | public void show() 88 | { 89 | markerImage.gameObject.SetActive(true); 90 | } 91 | 92 | public void hide() 93 | { 94 | markerImage.gameObject.SetActive(false); 95 | } 96 | 97 | public bool isVisible() 98 | { 99 | return markerImage.gameObject.activeSelf; 100 | } 101 | 102 | public Vector3 getPosition() 103 | { 104 | return gameObject.transform.position; 105 | } 106 | 107 | public void setLocalPos(Vector3 pos) 108 | { 109 | markerImage.rectTransform.localPosition = pos; 110 | 111 | } 112 | 113 | public void setOpacity(float opacity) 114 | { 115 | markerImage.color = new Color(1.0f, 1.0f, 1.0f, opacity); 116 | } 117 | 118 | #endregion 119 | } 120 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MapMarker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 492392c310a924d4291d26c3c333296b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MarkerGroup.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [AddComponentMenu("MiniMap/Marker Group")] 5 | [RequireComponent(typeof(RectTransform))] 6 | public class MarkerGroup : MonoBehaviour { 7 | 8 | public RectTransform MarkerGroupRect 9 | { 10 | get 11 | { 12 | if (!_rectTransform) 13 | { 14 | _rectTransform = GetComponent(); 15 | } 16 | 17 | return _rectTransform; 18 | } 19 | } 20 | 21 | private RectTransform _rectTransform; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Assets/MiniMap/Scripts/MarkerGroup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f78e8ec1ab8f0e649b22120c3a1ef983 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MiniMap/Sources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1069d8d267b03b84f8361e5ab9d05dc7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_1.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Sources/map_1.psd -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_1.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8417c9bf3ce5a2a48820420061f37eb0 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: -1 29 | mipBias: -1 30 | wrapMode: -1 31 | nPOTScale: 1 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 0 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 0 42 | textureType: -1 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_2.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Sources/map_2.psd -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_2.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2439bcc245b2ce841a6f9cc6ab615e46 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: -1 29 | mipBias: -1 30 | wrapMode: -1 31 | nPOTScale: 1 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 0 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 0 42 | textureType: -1 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_3.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/MiniMap/Sources/map_3.psd -------------------------------------------------------------------------------- /Assets/MiniMap/Sources/map_3.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e238ad16c8cc2f343a5678053247095e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: -1 29 | mipBias: -1 30 | wrapMode: -1 31 | nPOTScale: 1 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 0 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 0 42 | textureType: -1 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 262cb174151b74bb793fff3002a40701 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Resources/Todo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3423f81e2b6c244ed8f50424c81bbf54 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Resources/Todo/TodoList.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/Assets/Resources/Todo/TodoList.asset -------------------------------------------------------------------------------- /Assets/Resources/Todo/TodoList.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbd815545fcf3453d9158cb7afa78e71 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e70b73ce8a73f9044a60f2666ad87b3e 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity3D MiniMap System 2 | Unity3D mini map (radar) system 3 | Asset Store link - https://www.assetstore.unity3d.com/en/#!/content/33729 4 | 5 | #### Documentation 6 | 7 | [Latest docs](http://unity3d-minimap.readthedocs.org/en/latest/) 8 | 9 | #### Licence 10 | 11 | Project is under MIT licence. 12 | -------------------------------------------------------------------------------- /docs/.sublime-build: -------------------------------------------------------------------------------- 1 | { 2 | "cmd": ["make"], 3 | "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", 4 | "working_dir": "${project_path:${folder:${file_path}}}", 5 | 6 | "variants": 7 | [ 8 | { 9 | "name": "HTML", 10 | "cmd": ["make", "html"] 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | PAPER = 8 | BUILDDIR = _build 9 | 10 | # User-friendly check for sphinx-build 11 | ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) 12 | $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don\'t have Sphinx installed, grab it from http://sphinx-doc.org/) 13 | endif 14 | 15 | # Internal variables. 16 | PAPEROPT_a4 = -D latex_paper_size=a4 17 | PAPEROPT_letter = -D latex_paper_size=letter 18 | ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . 19 | # the i18n builder cannot share the environment and doctrees with the others 20 | I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . 21 | 22 | .PHONY: help 23 | help: 24 | @echo "Please use \`make ' where is one of" 25 | @echo " html to make standalone HTML files" 26 | @echo " dirhtml to make HTML files named index.html in directories" 27 | @echo " singlehtml to make a single large HTML file" 28 | @echo " pickle to make pickle files" 29 | @echo " json to make JSON files" 30 | @echo " htmlhelp to make HTML files and a HTML help project" 31 | @echo " qthelp to make HTML files and a qthelp project" 32 | @echo " applehelp to make an Apple Help Book" 33 | @echo " devhelp to make HTML files and a Devhelp project" 34 | @echo " epub to make an epub" 35 | @echo " epub3 to make an epub3" 36 | @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" 37 | @echo " latexpdf to make LaTeX files and run them through pdflatex" 38 | @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" 39 | @echo " text to make text files" 40 | @echo " man to make manual pages" 41 | @echo " texinfo to make Texinfo files" 42 | @echo " info to make Texinfo files and run them through makeinfo" 43 | @echo " gettext to make PO message catalogs" 44 | @echo " changes to make an overview of all changed/added/deprecated items" 45 | @echo " xml to make Docutils-native XML files" 46 | @echo " pseudoxml to make pseudoxml-XML files for display purposes" 47 | @echo " linkcheck to check all external links for integrity" 48 | @echo " doctest to run all doctests embedded in the documentation (if enabled)" 49 | @echo " coverage to run coverage check of the documentation (if enabled)" 50 | 51 | .PHONY: clean 52 | clean: 53 | rm -rf $(BUILDDIR)/* 54 | 55 | .PHONY: html 56 | html: 57 | $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html 58 | @echo 59 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." 60 | 61 | .PHONY: dirhtml 62 | dirhtml: 63 | $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml 64 | @echo 65 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." 66 | 67 | .PHONY: singlehtml 68 | singlehtml: 69 | $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml 70 | @echo 71 | @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." 72 | 73 | .PHONY: pickle 74 | pickle: 75 | $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle 76 | @echo 77 | @echo "Build finished; now you can process the pickle files." 78 | 79 | .PHONY: json 80 | json: 81 | $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json 82 | @echo 83 | @echo "Build finished; now you can process the JSON files." 84 | 85 | .PHONY: htmlhelp 86 | htmlhelp: 87 | $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp 88 | @echo 89 | @echo "Build finished; now you can run HTML Help Workshop with the" \ 90 | ".hhp project file in $(BUILDDIR)/htmlhelp." 91 | 92 | .PHONY: qthelp 93 | qthelp: 94 | $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp 95 | @echo 96 | @echo "Build finished; now you can run "qcollectiongenerator" with the" \ 97 | ".qhcp project file in $(BUILDDIR)/qthelp, like this:" 98 | @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/MiniMap.qhcp" 99 | @echo "To view the help file:" 100 | @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/MiniMap.qhc" 101 | 102 | .PHONY: applehelp 103 | applehelp: 104 | $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp 105 | @echo 106 | @echo "Build finished. The help book is in $(BUILDDIR)/applehelp." 107 | @echo "N.B. You won't be able to view it unless you put it in" \ 108 | "~/Library/Documentation/Help or install it in your application" \ 109 | "bundle." 110 | 111 | .PHONY: devhelp 112 | devhelp: 113 | $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp 114 | @echo 115 | @echo "Build finished." 116 | @echo "To view the help file:" 117 | @echo "# mkdir -p $$HOME/.local/share/devhelp/MiniMap" 118 | @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/MiniMap" 119 | @echo "# devhelp" 120 | 121 | .PHONY: epub 122 | epub: 123 | $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub 124 | @echo 125 | @echo "Build finished. The epub file is in $(BUILDDIR)/epub." 126 | 127 | .PHONY: epub3 128 | epub3: 129 | $(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3 130 | @echo 131 | @echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3." 132 | 133 | .PHONY: latex 134 | latex: 135 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 136 | @echo 137 | @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." 138 | @echo "Run \`make' in that directory to run these through (pdf)latex" \ 139 | "(use \`make latexpdf' here to do that automatically)." 140 | 141 | .PHONY: latexpdf 142 | latexpdf: 143 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 144 | @echo "Running LaTeX files through pdflatex..." 145 | $(MAKE) -C $(BUILDDIR)/latex all-pdf 146 | @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." 147 | 148 | .PHONY: latexpdfja 149 | latexpdfja: 150 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 151 | @echo "Running LaTeX files through platex and dvipdfmx..." 152 | $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja 153 | @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." 154 | 155 | .PHONY: text 156 | text: 157 | $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text 158 | @echo 159 | @echo "Build finished. The text files are in $(BUILDDIR)/text." 160 | 161 | .PHONY: man 162 | man: 163 | $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man 164 | @echo 165 | @echo "Build finished. The manual pages are in $(BUILDDIR)/man." 166 | 167 | .PHONY: texinfo 168 | texinfo: 169 | $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo 170 | @echo 171 | @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." 172 | @echo "Run \`make' in that directory to run these through makeinfo" \ 173 | "(use \`make info' here to do that automatically)." 174 | 175 | .PHONY: info 176 | info: 177 | $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo 178 | @echo "Running Texinfo files through makeinfo..." 179 | make -C $(BUILDDIR)/texinfo info 180 | @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." 181 | 182 | .PHONY: gettext 183 | gettext: 184 | $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale 185 | @echo 186 | @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." 187 | 188 | .PHONY: changes 189 | changes: 190 | $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes 191 | @echo 192 | @echo "The overview file is in $(BUILDDIR)/changes." 193 | 194 | .PHONY: linkcheck 195 | linkcheck: 196 | $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck 197 | @echo 198 | @echo "Link check complete; look for any errors in the above output " \ 199 | "or in $(BUILDDIR)/linkcheck/output.txt." 200 | 201 | .PHONY: doctest 202 | doctest: 203 | $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest 204 | @echo "Testing of doctests in the sources finished, look at the " \ 205 | "results in $(BUILDDIR)/doctest/output.txt." 206 | 207 | .PHONY: coverage 208 | coverage: 209 | $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage 210 | @echo "Testing of coverage in the sources finished, look at the " \ 211 | "results in $(BUILDDIR)/coverage/python.txt." 212 | 213 | .PHONY: xml 214 | xml: 215 | $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml 216 | @echo 217 | @echo "Build finished. The XML files are in $(BUILDDIR)/xml." 218 | 219 | .PHONY: pseudoxml 220 | pseudoxml: 221 | $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml 222 | @echo 223 | @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." 224 | -------------------------------------------------------------------------------- /docs/_build/doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/doctrees/environment.pickle -------------------------------------------------------------------------------- /docs/_build/doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/doctrees/index.doctree -------------------------------------------------------------------------------- /docs/_build/doctrees/overview.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/doctrees/overview.doctree -------------------------------------------------------------------------------- /docs/_build/doctrees/tutorial.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/doctrees/tutorial.doctree -------------------------------------------------------------------------------- /docs/_build/doctrees/tutorials.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/doctrees/tutorials.doctree -------------------------------------------------------------------------------- /docs/_build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: c0befa089be6c12f11d92828edbf30e9 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /docs/_build/html/_images/hide_out_of_radius.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/hide_out_of_radius.png -------------------------------------------------------------------------------- /docs/_build/html/_images/map_canvas_controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/map_canvas_controller.png -------------------------------------------------------------------------------- /docs/_build/html/_images/map_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/map_marker.png -------------------------------------------------------------------------------- /docs/_build/html/_images/sample_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/sample_1.png -------------------------------------------------------------------------------- /docs/_build/html/_images/sample_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/sample_2.png -------------------------------------------------------------------------------- /docs/_build/html/_images/sample_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_images/sample_3.png -------------------------------------------------------------------------------- /docs/_build/html/_sources/index.txt: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | Unity 3D MiniMap 32 8 | =================== 9 | 10 | 11 | Contents 12 | -------- 13 | .. toctree:: 14 | :maxdepth: 2 15 | 16 | 17 | overview 18 | tutorial 19 | -------------------------------------------------------------------------------- /docs/_build/html/_sources/overview.txt: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | Overview 8 | ======== 9 | 10 | Installation 11 | ------------ 12 | 1. Import the plugin package into your project 13 | 2. Drag the MiniMap prefab from *Assets/MiniMap/Map_x* to your canvas 14 | 3. Set the player transform (other points in the map will be relative to it) in *MapCanvasController* on *Canvas/MiniMap* scene object 15 | 4. Add the *MapMarker* component (*Add Componenent -> MiniMap -> Map marker*) or drag and drop it from *Assets/MiniMap/Scripts* to the objects you want to be shown on the map. 16 | 17 | 18 | Video tutorial 19 | -------------- 20 | 21 | 22 | .. raw:: html 23 | 24 |
25 | 26 |
27 | 28 | | 29 | | 30 | 31 | 32 | Components description 33 | ---------------------- 34 | 35 | **Map Marker** 36 | 37 | .. image:: _static/map_marker.png 38 | 39 | * **Marker Sprite** – with this image the object will be marked on the map. Sample sprites are included in the package. 40 | * **Marker Size** – width and height of the marker. 41 | * **Is Active** – if false – the object won’t be shown on the map. 42 | 43 | **Map Controller** 44 | 45 | .. image:: _static/map_canvas_controller.png 46 | 47 | * **Player transform** - is transform of the object that is the midpoint of the map. 48 | * **Radar distance** – if the object is within this distance it will be show on the map. If objects are farther than this distance - they will be always on the border of the map or now shown at all, depending on the *Hide Out Of Radius* value. 49 | * **Hide out of radius** - if true - the objects that are farther that *Radar distance* will be hidden. Otherwise they will stick to map border as long as they are within *Max radar distance* 50 | * **Use opacity** - if enabled, objects that are far then *Radar distance* will become more transparent as distance to player increases (but not more then *Max radar distance*) 51 | * **Max radar distance** - max possible radar distance (used only if *Hide out of radius* is false) 52 | * **Rotate map** - if enabled, the map will rotate and the player arrow will point straight forward, otherwise the map will be fixed and the arrow will show the direction. 53 | * **Scale** - scales radar distances 54 | * **Minimal Opacity** - minimal opacity for the markers that are farther than radar distance. 55 | 56 | | 57 | | 58 | 59 | Next pictures will show how the marker will be shown on the map depending on the options: 60 | 61 | * Hide out of radius is **true**: 62 | .. image:: _static/sample_1.png 63 | 64 | * Hide out of radius is **false**, use opacity is **false**: 65 | .. image:: _static/sample_2.png 66 | 67 | * Hide out of radius is **false**, use opacity is **true**: 68 | .. image:: _static/sample_3.png 69 | 70 | 71 | .. toctree:: 72 | :glob: 73 | :maxdepth: 1 74 | 75 | overview/** -------------------------------------------------------------------------------- /docs/_build/html/_sources/tutorial.txt: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | .. _tutorial: 8 | 9 | Tutorial 10 | ================== 11 | 12 | In the following tutorial, we will guide you step-by-step through different use cases that might occur in Rally, starting with the easy ones and moving towards more complicated cases. 13 | 14 | 15 | .. toctree:: 16 | :glob: 17 | :maxdepth: 1 18 | 19 | tutorial/** -------------------------------------------------------------------------------- /docs/_build/html/_sources/tutorials.txt: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | .. _tutorial: 8 | 9 | Rally step-by-step 10 | ================== 11 | 12 | In the following tutorial, we will guide you step-by-step through different use cases that might occur in Rally, starting with the easy ones and moving towards more complicated cases. 13 | 14 | 15 | .. toctree:: 16 | :glob: 17 | :maxdepth: 1 18 | 19 | tutorial/** -------------------------------------------------------------------------------- /docs/_build/html/_static/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/ajax-loader.gif -------------------------------------------------------------------------------- /docs/_build/html/_static/alabaster.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | @import url("basic.css"); 19 | 20 | /* -- page layout ----------------------------------------------------------- */ 21 | 22 | body { 23 | font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; 24 | font-size: 17px; 25 | background-color: white; 26 | color: #000; 27 | margin: 0; 28 | padding: 0; 29 | } 30 | 31 | div.document { 32 | width: 940px; 33 | margin: 30px auto 0 auto; 34 | } 35 | 36 | div.documentwrapper { 37 | float: left; 38 | width: 100%; 39 | } 40 | 41 | div.bodywrapper { 42 | margin: 0 0 0 220px; 43 | } 44 | 45 | div.sphinxsidebar { 46 | width: 220px; 47 | } 48 | 49 | hr { 50 | border: 1px solid #B1B4B6; 51 | } 52 | 53 | div.body { 54 | background-color: #ffffff; 55 | color: #3E4349; 56 | padding: 0 30px 0 30px; 57 | } 58 | 59 | div.body > .section { 60 | text-align: left; 61 | } 62 | 63 | div.footer { 64 | width: 940px; 65 | margin: 20px auto 30px auto; 66 | font-size: 14px; 67 | color: #888; 68 | text-align: right; 69 | } 70 | 71 | div.footer a { 72 | color: #888; 73 | } 74 | 75 | 76 | div.relations { 77 | display: none; 78 | } 79 | 80 | 81 | div.sphinxsidebar a { 82 | color: #444; 83 | text-decoration: none; 84 | border-bottom: 1px dotted #999; 85 | } 86 | 87 | div.sphinxsidebar a:hover { 88 | border-bottom: 1px solid #999; 89 | } 90 | 91 | div.sphinxsidebar { 92 | font-size: 14px; 93 | line-height: 1.5; 94 | } 95 | 96 | div.sphinxsidebarwrapper { 97 | padding: 18px 10px; 98 | } 99 | 100 | div.sphinxsidebarwrapper p.logo { 101 | padding: 0; 102 | margin: -10px 0 0 0px; 103 | text-align: center; 104 | } 105 | 106 | div.sphinxsidebarwrapper h1.logo { 107 | margin-top: -10px; 108 | text-align: center; 109 | margin-bottom: 5px; 110 | text-align: left; 111 | } 112 | 113 | div.sphinxsidebarwrapper h1.logo-name { 114 | margin-top: 0px; 115 | } 116 | 117 | div.sphinxsidebarwrapper p.blurb { 118 | margin-top: 0; 119 | font-style: normal; 120 | } 121 | 122 | div.sphinxsidebar h3, 123 | div.sphinxsidebar h4 { 124 | font-family: 'Garamond', 'Georgia', serif; 125 | color: #444; 126 | font-size: 24px; 127 | font-weight: normal; 128 | margin: 0 0 5px 0; 129 | padding: 0; 130 | } 131 | 132 | div.sphinxsidebar h4 { 133 | font-size: 20px; 134 | } 135 | 136 | div.sphinxsidebar h3 a { 137 | color: #444; 138 | } 139 | 140 | div.sphinxsidebar p.logo a, 141 | div.sphinxsidebar h3 a, 142 | div.sphinxsidebar p.logo a:hover, 143 | div.sphinxsidebar h3 a:hover { 144 | border: none; 145 | } 146 | 147 | div.sphinxsidebar p { 148 | color: #555; 149 | margin: 10px 0; 150 | } 151 | 152 | div.sphinxsidebar ul { 153 | margin: 10px 0; 154 | padding: 0; 155 | color: #000; 156 | } 157 | 158 | div.sphinxsidebar ul li.toctree-l1 > a { 159 | font-size: 120%; 160 | } 161 | 162 | div.sphinxsidebar ul li.toctree-l2 > a { 163 | font-size: 110%; 164 | } 165 | 166 | div.sphinxsidebar input { 167 | border: 1px solid #CCC; 168 | font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; 169 | font-size: 1em; 170 | } 171 | 172 | div.sphinxsidebar hr { 173 | border: none; 174 | height: 1px; 175 | color: #AAA; 176 | background: #AAA; 177 | 178 | text-align: left; 179 | margin-left: 0; 180 | width: 50%; 181 | } 182 | 183 | /* -- body styles ----------------------------------------------------------- */ 184 | 185 | a { 186 | color: #004B6B; 187 | text-decoration: underline; 188 | } 189 | 190 | a:hover { 191 | color: #6D4100; 192 | text-decoration: underline; 193 | } 194 | 195 | div.body h1, 196 | div.body h2, 197 | div.body h3, 198 | div.body h4, 199 | div.body h5, 200 | div.body h6 { 201 | font-family: 'Garamond', 'Georgia', serif; 202 | font-weight: normal; 203 | margin: 30px 0px 10px 0px; 204 | padding: 0; 205 | } 206 | 207 | div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } 208 | div.body h2 { font-size: 180%; } 209 | div.body h3 { font-size: 150%; } 210 | div.body h4 { font-size: 130%; } 211 | div.body h5 { font-size: 100%; } 212 | div.body h6 { font-size: 100%; } 213 | 214 | a.headerlink { 215 | color: #DDD; 216 | padding: 0 4px; 217 | text-decoration: none; 218 | } 219 | 220 | a.headerlink:hover { 221 | color: #444; 222 | background: #EAEAEA; 223 | } 224 | 225 | div.body p, div.body dd, div.body li { 226 | line-height: 1.4em; 227 | } 228 | 229 | div.admonition { 230 | margin: 20px 0px; 231 | padding: 10px 30px; 232 | background-color: #FCC; 233 | border: 1px solid #FAA; 234 | } 235 | 236 | div.admonition tt.xref, div.admonition a tt { 237 | border-bottom: 1px solid #fafafa; 238 | } 239 | 240 | dd div.admonition { 241 | margin-left: -60px; 242 | padding-left: 60px; 243 | } 244 | 245 | div.admonition p.admonition-title { 246 | font-family: 'Garamond', 'Georgia', serif; 247 | font-weight: normal; 248 | font-size: 24px; 249 | margin: 0 0 10px 0; 250 | padding: 0; 251 | line-height: 1; 252 | } 253 | 254 | div.admonition p.last { 255 | margin-bottom: 0; 256 | } 257 | 258 | div.highlight { 259 | background-color: white; 260 | } 261 | 262 | dt:target, .highlight { 263 | background: #FAF3E8; 264 | } 265 | 266 | div.note { 267 | background-color: #EEE; 268 | border: 1px solid #CCC; 269 | } 270 | 271 | div.seealso { 272 | background-color: #EEE; 273 | border: 1px solid #CCC; 274 | } 275 | 276 | div.topic { 277 | background-color: #eee; 278 | } 279 | 280 | p.admonition-title { 281 | display: inline; 282 | } 283 | 284 | p.admonition-title:after { 285 | content: ":"; 286 | } 287 | 288 | pre, tt, code { 289 | font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; 290 | font-size: 0.9em; 291 | } 292 | 293 | .hll { 294 | background-color: #FFC; 295 | margin: 0 -12px; 296 | padding: 0 12px; 297 | display: block; 298 | } 299 | 300 | img.screenshot { 301 | } 302 | 303 | tt.descname, tt.descclassname, code.descname, code.descclassname { 304 | font-size: 0.95em; 305 | } 306 | 307 | tt.descname, code.descname { 308 | padding-right: 0.08em; 309 | } 310 | 311 | img.screenshot { 312 | -moz-box-shadow: 2px 2px 4px #eee; 313 | -webkit-box-shadow: 2px 2px 4px #eee; 314 | box-shadow: 2px 2px 4px #eee; 315 | } 316 | 317 | table.docutils { 318 | border: 1px solid #888; 319 | -moz-box-shadow: 2px 2px 4px #eee; 320 | -webkit-box-shadow: 2px 2px 4px #eee; 321 | box-shadow: 2px 2px 4px #eee; 322 | } 323 | 324 | table.docutils td, table.docutils th { 325 | border: 1px solid #888; 326 | padding: 0.25em 0.7em; 327 | } 328 | 329 | table.field-list, table.footnote { 330 | border: none; 331 | -moz-box-shadow: none; 332 | -webkit-box-shadow: none; 333 | box-shadow: none; 334 | } 335 | 336 | table.footnote { 337 | margin: 15px 0; 338 | width: 100%; 339 | border: 1px solid #EEE; 340 | background: #FDFDFD; 341 | font-size: 0.9em; 342 | } 343 | 344 | table.footnote + table.footnote { 345 | margin-top: -15px; 346 | border-top: none; 347 | } 348 | 349 | table.field-list th { 350 | padding: 0 0.8em 0 0; 351 | } 352 | 353 | table.field-list td { 354 | padding: 0; 355 | } 356 | 357 | table.field-list p { 358 | margin-bottom: 0.8em; 359 | } 360 | 361 | table.footnote td.label { 362 | width: 0px; 363 | padding: 0.3em 0 0.3em 0.5em; 364 | } 365 | 366 | table.footnote td { 367 | padding: 0.3em 0.5em; 368 | } 369 | 370 | dl { 371 | margin: 0; 372 | padding: 0; 373 | } 374 | 375 | dl dd { 376 | margin-left: 30px; 377 | } 378 | 379 | blockquote { 380 | margin: 0 0 0 30px; 381 | padding: 0; 382 | } 383 | 384 | ul, ol { 385 | margin: 10px 0 10px 30px; 386 | padding: 0; 387 | } 388 | 389 | pre { 390 | background: #EEE; 391 | padding: 7px 30px; 392 | margin: 15px 0px; 393 | line-height: 1.3em; 394 | } 395 | 396 | dl pre, blockquote pre, li pre { 397 | margin-left: 0; 398 | padding-left: 30px; 399 | } 400 | 401 | dl dl pre { 402 | margin-left: -90px; 403 | padding-left: 90px; 404 | } 405 | 406 | tt, code { 407 | background-color: #ecf0f3; 408 | color: #222; 409 | /* padding: 1px 2px; */ 410 | } 411 | 412 | tt.xref, code.xref, a tt { 413 | background-color: #FBFBFB; 414 | border-bottom: 1px solid white; 415 | } 416 | 417 | a.reference { 418 | text-decoration: none; 419 | border-bottom: 1px dotted #004B6B; 420 | } 421 | 422 | a.reference:hover { 423 | border-bottom: 1px solid #6D4100; 424 | } 425 | 426 | a.footnote-reference { 427 | text-decoration: none; 428 | font-size: 0.7em; 429 | vertical-align: top; 430 | border-bottom: 1px dotted #004B6B; 431 | } 432 | 433 | a.footnote-reference:hover { 434 | border-bottom: 1px solid #6D4100; 435 | } 436 | 437 | a:hover tt, a:hover code { 438 | background: #EEE; 439 | } 440 | 441 | 442 | @media screen and (max-width: 870px) { 443 | 444 | div.sphinxsidebar { 445 | display: none; 446 | } 447 | 448 | div.document { 449 | width: 100%; 450 | 451 | } 452 | 453 | div.documentwrapper { 454 | margin-left: 0; 455 | margin-top: 0; 456 | margin-right: 0; 457 | margin-bottom: 0; 458 | } 459 | 460 | div.bodywrapper { 461 | margin-top: 0; 462 | margin-right: 0; 463 | margin-bottom: 0; 464 | margin-left: 0; 465 | } 466 | 467 | ul { 468 | margin-left: 0; 469 | } 470 | 471 | .document { 472 | width: auto; 473 | } 474 | 475 | .footer { 476 | width: auto; 477 | } 478 | 479 | .bodywrapper { 480 | margin: 0; 481 | } 482 | 483 | .footer { 484 | width: auto; 485 | } 486 | 487 | .github { 488 | display: none; 489 | } 490 | 491 | 492 | 493 | } 494 | 495 | 496 | 497 | @media screen and (max-width: 875px) { 498 | 499 | body { 500 | margin: 0; 501 | padding: 20px 30px; 502 | } 503 | 504 | div.documentwrapper { 505 | float: none; 506 | background: white; 507 | } 508 | 509 | div.sphinxsidebar { 510 | display: block; 511 | float: none; 512 | width: 102.5%; 513 | margin: 50px -30px -20px -30px; 514 | padding: 10px 20px; 515 | background: #333; 516 | color: #FFF; 517 | } 518 | 519 | div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, 520 | div.sphinxsidebar h3 a { 521 | color: white; 522 | } 523 | 524 | div.sphinxsidebar a { 525 | color: #AAA; 526 | } 527 | 528 | div.sphinxsidebar p.logo { 529 | display: none; 530 | } 531 | 532 | div.document { 533 | width: 100%; 534 | margin: 0; 535 | } 536 | 537 | div.footer { 538 | display: none; 539 | } 540 | 541 | div.bodywrapper { 542 | margin: 0; 543 | } 544 | 545 | div.body { 546 | min-height: 0; 547 | padding: 0; 548 | } 549 | 550 | .rtd_doc_footer { 551 | display: none; 552 | } 553 | 554 | .document { 555 | width: auto; 556 | } 557 | 558 | .footer { 559 | width: auto; 560 | } 561 | 562 | .footer { 563 | width: auto; 564 | } 565 | 566 | .github { 567 | display: none; 568 | } 569 | } 570 | 571 | 572 | /* misc. */ 573 | 574 | .revsys-inline { 575 | display: none!important; 576 | } 577 | 578 | /* Make nested-list/multi-paragraph items look better in Releases changelog 579 | * pages. Without this, docutils' magical list fuckery causes inconsistent 580 | * formatting between different release sub-lists. 581 | */ 582 | div#changelog > div.section > ul > li > p:only-child { 583 | margin-bottom: 0; 584 | } 585 | 586 | /* Hide fugly table cell borders in ..bibliography:: directive output */ 587 | table.docutils.citation, table.docutils.citation td, table.docutils.citation th { 588 | border: none; 589 | /* Below needed in some edge cases; if not applied, bottom shadows appear */ 590 | -moz-box-shadow: none; 591 | -webkit-box-shadow: none; 592 | box-shadow: none; 593 | } -------------------------------------------------------------------------------- /docs/_build/html/_static/basic.css: -------------------------------------------------------------------------------- 1 | /* 2 | * basic.css 3 | * ~~~~~~~~~ 4 | * 5 | * Sphinx stylesheet -- basic theme. 6 | * 7 | * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. 8 | * :license: BSD, see LICENSE for details. 9 | * 10 | */ 11 | 12 | /* -- main layout ----------------------------------------------------------- */ 13 | 14 | div.clearer { 15 | clear: both; 16 | } 17 | 18 | /* -- relbar ---------------------------------------------------------------- */ 19 | 20 | div.related { 21 | width: 100%; 22 | font-size: 90%; 23 | } 24 | 25 | div.related h3 { 26 | display: none; 27 | } 28 | 29 | div.related ul { 30 | margin: 0; 31 | padding: 0 0 0 10px; 32 | list-style: none; 33 | } 34 | 35 | div.related li { 36 | display: inline; 37 | } 38 | 39 | div.related li.right { 40 | float: right; 41 | margin-right: 5px; 42 | } 43 | 44 | /* -- sidebar --------------------------------------------------------------- */ 45 | 46 | div.sphinxsidebarwrapper { 47 | padding: 10px 5px 0 10px; 48 | } 49 | 50 | div.sphinxsidebar { 51 | float: left; 52 | width: 230px; 53 | margin-left: -100%; 54 | font-size: 90%; 55 | word-wrap: break-word; 56 | overflow-wrap : break-word; 57 | } 58 | 59 | div.sphinxsidebar ul { 60 | list-style: none; 61 | } 62 | 63 | div.sphinxsidebar ul ul, 64 | div.sphinxsidebar ul.want-points { 65 | margin-left: 20px; 66 | list-style: square; 67 | } 68 | 69 | div.sphinxsidebar ul ul { 70 | margin-top: 0; 71 | margin-bottom: 0; 72 | } 73 | 74 | div.sphinxsidebar form { 75 | margin-top: 10px; 76 | } 77 | 78 | div.sphinxsidebar input { 79 | border: 1px solid #98dbcc; 80 | font-family: sans-serif; 81 | font-size: 1em; 82 | } 83 | 84 | div.sphinxsidebar #searchbox input[type="text"] { 85 | width: 170px; 86 | } 87 | 88 | div.sphinxsidebar #searchbox input[type="submit"] { 89 | width: 30px; 90 | } 91 | 92 | img { 93 | border: 0; 94 | max-width: 100%; 95 | } 96 | 97 | /* -- search page ----------------------------------------------------------- */ 98 | 99 | ul.search { 100 | margin: 10px 0 0 20px; 101 | padding: 0; 102 | } 103 | 104 | ul.search li { 105 | padding: 5px 0 5px 20px; 106 | background-image: url(file.png); 107 | background-repeat: no-repeat; 108 | background-position: 0 7px; 109 | } 110 | 111 | ul.search li a { 112 | font-weight: bold; 113 | } 114 | 115 | ul.search li div.context { 116 | color: #888; 117 | margin: 2px 0 0 30px; 118 | text-align: left; 119 | } 120 | 121 | ul.keywordmatches li.goodmatch a { 122 | font-weight: bold; 123 | } 124 | 125 | /* -- index page ------------------------------------------------------------ */ 126 | 127 | table.contentstable { 128 | width: 90%; 129 | } 130 | 131 | table.contentstable p.biglink { 132 | line-height: 150%; 133 | } 134 | 135 | a.biglink { 136 | font-size: 1.3em; 137 | } 138 | 139 | span.linkdescr { 140 | font-style: italic; 141 | padding-top: 5px; 142 | font-size: 90%; 143 | } 144 | 145 | /* -- general index --------------------------------------------------------- */ 146 | 147 | table.indextable { 148 | width: 100%; 149 | } 150 | 151 | table.indextable td { 152 | text-align: left; 153 | vertical-align: top; 154 | } 155 | 156 | table.indextable dl, table.indextable dd { 157 | margin-top: 0; 158 | margin-bottom: 0; 159 | } 160 | 161 | table.indextable tr.pcap { 162 | height: 10px; 163 | } 164 | 165 | table.indextable tr.cap { 166 | margin-top: 10px; 167 | background-color: #f2f2f2; 168 | } 169 | 170 | img.toggler { 171 | margin-right: 3px; 172 | margin-top: 3px; 173 | cursor: pointer; 174 | } 175 | 176 | div.modindex-jumpbox { 177 | border-top: 1px solid #ddd; 178 | border-bottom: 1px solid #ddd; 179 | margin: 1em 0 1em 0; 180 | padding: 0.4em; 181 | } 182 | 183 | div.genindex-jumpbox { 184 | border-top: 1px solid #ddd; 185 | border-bottom: 1px solid #ddd; 186 | margin: 1em 0 1em 0; 187 | padding: 0.4em; 188 | } 189 | 190 | /* -- general body styles --------------------------------------------------- */ 191 | 192 | div.body p, div.body dd, div.body li, div.body blockquote { 193 | -moz-hyphens: auto; 194 | -ms-hyphens: auto; 195 | -webkit-hyphens: auto; 196 | hyphens: auto; 197 | } 198 | 199 | a.headerlink { 200 | visibility: hidden; 201 | } 202 | 203 | h1:hover > a.headerlink, 204 | h2:hover > a.headerlink, 205 | h3:hover > a.headerlink, 206 | h4:hover > a.headerlink, 207 | h5:hover > a.headerlink, 208 | h6:hover > a.headerlink, 209 | dt:hover > a.headerlink, 210 | caption:hover > a.headerlink, 211 | p.caption:hover > a.headerlink, 212 | div.code-block-caption:hover > a.headerlink { 213 | visibility: visible; 214 | } 215 | 216 | div.body p.caption { 217 | text-align: inherit; 218 | } 219 | 220 | div.body td { 221 | text-align: left; 222 | } 223 | 224 | .field-list ul { 225 | padding-left: 1em; 226 | } 227 | 228 | .first { 229 | margin-top: 0 !important; 230 | } 231 | 232 | p.rubric { 233 | margin-top: 30px; 234 | font-weight: bold; 235 | } 236 | 237 | img.align-left, .figure.align-left, object.align-left { 238 | clear: left; 239 | float: left; 240 | margin-right: 1em; 241 | } 242 | 243 | img.align-right, .figure.align-right, object.align-right { 244 | clear: right; 245 | float: right; 246 | margin-left: 1em; 247 | } 248 | 249 | img.align-center, .figure.align-center, object.align-center { 250 | display: block; 251 | margin-left: auto; 252 | margin-right: auto; 253 | } 254 | 255 | .align-left { 256 | text-align: left; 257 | } 258 | 259 | .align-center { 260 | text-align: center; 261 | } 262 | 263 | .align-right { 264 | text-align: right; 265 | } 266 | 267 | /* -- sidebars -------------------------------------------------------------- */ 268 | 269 | div.sidebar { 270 | margin: 0 0 0.5em 1em; 271 | border: 1px solid #ddb; 272 | padding: 7px 7px 0 7px; 273 | background-color: #ffe; 274 | width: 40%; 275 | float: right; 276 | } 277 | 278 | p.sidebar-title { 279 | font-weight: bold; 280 | } 281 | 282 | /* -- topics ---------------------------------------------------------------- */ 283 | 284 | div.topic { 285 | border: 1px solid #ccc; 286 | padding: 7px 7px 0 7px; 287 | margin: 10px 0 10px 0; 288 | } 289 | 290 | p.topic-title { 291 | font-size: 1.1em; 292 | font-weight: bold; 293 | margin-top: 10px; 294 | } 295 | 296 | /* -- admonitions ----------------------------------------------------------- */ 297 | 298 | div.admonition { 299 | margin-top: 10px; 300 | margin-bottom: 10px; 301 | padding: 7px; 302 | } 303 | 304 | div.admonition dt { 305 | font-weight: bold; 306 | } 307 | 308 | div.admonition dl { 309 | margin-bottom: 0; 310 | } 311 | 312 | p.admonition-title { 313 | margin: 0px 10px 5px 0px; 314 | font-weight: bold; 315 | } 316 | 317 | div.body p.centered { 318 | text-align: center; 319 | margin-top: 25px; 320 | } 321 | 322 | /* -- tables ---------------------------------------------------------------- */ 323 | 324 | table.docutils { 325 | border: 0; 326 | border-collapse: collapse; 327 | } 328 | 329 | table caption span.caption-number { 330 | font-style: italic; 331 | } 332 | 333 | table caption span.caption-text { 334 | } 335 | 336 | table.docutils td, table.docutils th { 337 | padding: 1px 8px 1px 5px; 338 | border-top: 0; 339 | border-left: 0; 340 | border-right: 0; 341 | border-bottom: 1px solid #aaa; 342 | } 343 | 344 | table.field-list td, table.field-list th { 345 | border: 0 !important; 346 | } 347 | 348 | table.footnote td, table.footnote th { 349 | border: 0 !important; 350 | } 351 | 352 | th { 353 | text-align: left; 354 | padding-right: 5px; 355 | } 356 | 357 | table.citation { 358 | border-left: solid 1px gray; 359 | margin-left: 1px; 360 | } 361 | 362 | table.citation td { 363 | border-bottom: none; 364 | } 365 | 366 | /* -- figures --------------------------------------------------------------- */ 367 | 368 | div.figure { 369 | margin: 0.5em; 370 | padding: 0.5em; 371 | } 372 | 373 | div.figure p.caption { 374 | padding: 0.3em; 375 | } 376 | 377 | div.figure p.caption span.caption-number { 378 | font-style: italic; 379 | } 380 | 381 | div.figure p.caption span.caption-text { 382 | } 383 | 384 | 385 | /* -- other body styles ----------------------------------------------------- */ 386 | 387 | ol.arabic { 388 | list-style: decimal; 389 | } 390 | 391 | ol.loweralpha { 392 | list-style: lower-alpha; 393 | } 394 | 395 | ol.upperalpha { 396 | list-style: upper-alpha; 397 | } 398 | 399 | ol.lowerroman { 400 | list-style: lower-roman; 401 | } 402 | 403 | ol.upperroman { 404 | list-style: upper-roman; 405 | } 406 | 407 | dl { 408 | margin-bottom: 15px; 409 | } 410 | 411 | dd p { 412 | margin-top: 0px; 413 | } 414 | 415 | dd ul, dd table { 416 | margin-bottom: 10px; 417 | } 418 | 419 | dd { 420 | margin-top: 3px; 421 | margin-bottom: 10px; 422 | margin-left: 30px; 423 | } 424 | 425 | dt:target, .highlighted { 426 | background-color: #fbe54e; 427 | } 428 | 429 | dl.glossary dt { 430 | font-weight: bold; 431 | font-size: 1.1em; 432 | } 433 | 434 | .field-list ul { 435 | margin: 0; 436 | padding-left: 1em; 437 | } 438 | 439 | .field-list p { 440 | margin: 0; 441 | } 442 | 443 | .optional { 444 | font-size: 1.3em; 445 | } 446 | 447 | .sig-paren { 448 | font-size: larger; 449 | } 450 | 451 | .versionmodified { 452 | font-style: italic; 453 | } 454 | 455 | .system-message { 456 | background-color: #fda; 457 | padding: 5px; 458 | border: 3px solid red; 459 | } 460 | 461 | .footnote:target { 462 | background-color: #ffa; 463 | } 464 | 465 | .line-block { 466 | display: block; 467 | margin-top: 1em; 468 | margin-bottom: 1em; 469 | } 470 | 471 | .line-block .line-block { 472 | margin-top: 0; 473 | margin-bottom: 0; 474 | margin-left: 1.5em; 475 | } 476 | 477 | .guilabel, .menuselection { 478 | font-family: sans-serif; 479 | } 480 | 481 | .accelerator { 482 | text-decoration: underline; 483 | } 484 | 485 | .classifier { 486 | font-style: oblique; 487 | } 488 | 489 | abbr, acronym { 490 | border-bottom: dotted 1px; 491 | cursor: help; 492 | } 493 | 494 | /* -- code displays --------------------------------------------------------- */ 495 | 496 | pre { 497 | overflow: auto; 498 | overflow-y: hidden; /* fixes display issues on Chrome browsers */ 499 | } 500 | 501 | td.linenos pre { 502 | padding: 5px 0px; 503 | border: 0; 504 | background-color: transparent; 505 | color: #aaa; 506 | } 507 | 508 | table.highlighttable { 509 | margin-left: 0.5em; 510 | } 511 | 512 | table.highlighttable td { 513 | padding: 0 0.5em 0 0.5em; 514 | } 515 | 516 | div.code-block-caption { 517 | padding: 2px 5px; 518 | font-size: small; 519 | } 520 | 521 | div.code-block-caption code { 522 | background-color: transparent; 523 | } 524 | 525 | div.code-block-caption + div > div.highlight > pre { 526 | margin-top: 0; 527 | } 528 | 529 | div.code-block-caption span.caption-number { 530 | padding: 0.1em 0.3em; 531 | font-style: italic; 532 | } 533 | 534 | div.code-block-caption span.caption-text { 535 | } 536 | 537 | div.literal-block-wrapper { 538 | padding: 1em 1em 0; 539 | } 540 | 541 | div.literal-block-wrapper div.highlight { 542 | margin: 0; 543 | } 544 | 545 | code.descname { 546 | background-color: transparent; 547 | font-weight: bold; 548 | font-size: 1.2em; 549 | } 550 | 551 | code.descclassname { 552 | background-color: transparent; 553 | } 554 | 555 | code.xref, a code { 556 | background-color: transparent; 557 | font-weight: bold; 558 | } 559 | 560 | h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { 561 | background-color: transparent; 562 | } 563 | 564 | .viewcode-link { 565 | float: right; 566 | } 567 | 568 | .viewcode-back { 569 | float: right; 570 | font-family: sans-serif; 571 | } 572 | 573 | div.viewcode-block:target { 574 | margin: -1px -10px; 575 | padding: 0 10px; 576 | } 577 | 578 | /* -- math display ---------------------------------------------------------- */ 579 | 580 | img.math { 581 | vertical-align: middle; 582 | } 583 | 584 | div.body div.math p { 585 | text-align: center; 586 | } 587 | 588 | span.eqno { 589 | float: right; 590 | } 591 | 592 | /* -- printout stylesheet --------------------------------------------------- */ 593 | 594 | @media print { 595 | div.document, 596 | div.documentwrapper, 597 | div.bodywrapper { 598 | margin: 0 !important; 599 | width: 100%; 600 | } 601 | 602 | div.sphinxsidebar, 603 | div.related, 604 | div.footer, 605 | #top-link { 606 | display: none; 607 | } 608 | } -------------------------------------------------------------------------------- /docs/_build/html/_static/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/comment-bright.png -------------------------------------------------------------------------------- /docs/_build/html/_static/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/comment-close.png -------------------------------------------------------------------------------- /docs/_build/html/_static/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/comment.png -------------------------------------------------------------------------------- /docs/_build/html/_static/css/badge_only.css: -------------------------------------------------------------------------------- 1 | .fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}} 2 | /*# sourceMappingURL=badge_only.css.map */ 3 | -------------------------------------------------------------------------------- /docs/_build/html/_static/doctools.js: -------------------------------------------------------------------------------- 1 | /* 2 | * doctools.js 3 | * ~~~~~~~~~~~ 4 | * 5 | * Sphinx JavaScript utilities for all documentation. 6 | * 7 | * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. 8 | * :license: BSD, see LICENSE for details. 9 | * 10 | */ 11 | 12 | /** 13 | * select a different prefix for underscore 14 | */ 15 | $u = _.noConflict(); 16 | 17 | /** 18 | * make the code below compatible with browsers without 19 | * an installed firebug like debugger 20 | if (!window.console || !console.firebug) { 21 | var names = ["log", "debug", "info", "warn", "error", "assert", "dir", 22 | "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", 23 | "profile", "profileEnd"]; 24 | window.console = {}; 25 | for (var i = 0; i < names.length; ++i) 26 | window.console[names[i]] = function() {}; 27 | } 28 | */ 29 | 30 | /** 31 | * small helper function to urldecode strings 32 | */ 33 | jQuery.urldecode = function(x) { 34 | return decodeURIComponent(x).replace(/\+/g, ' '); 35 | }; 36 | 37 | /** 38 | * small helper function to urlencode strings 39 | */ 40 | jQuery.urlencode = encodeURIComponent; 41 | 42 | /** 43 | * This function returns the parsed url parameters of the 44 | * current request. Multiple values per key are supported, 45 | * it will always return arrays of strings for the value parts. 46 | */ 47 | jQuery.getQueryParameters = function(s) { 48 | if (typeof s == 'undefined') 49 | s = document.location.search; 50 | var parts = s.substr(s.indexOf('?') + 1).split('&'); 51 | var result = {}; 52 | for (var i = 0; i < parts.length; i++) { 53 | var tmp = parts[i].split('=', 2); 54 | var key = jQuery.urldecode(tmp[0]); 55 | var value = jQuery.urldecode(tmp[1]); 56 | if (key in result) 57 | result[key].push(value); 58 | else 59 | result[key] = [value]; 60 | } 61 | return result; 62 | }; 63 | 64 | /** 65 | * highlight a given string on a jquery object by wrapping it in 66 | * span elements with the given class name. 67 | */ 68 | jQuery.fn.highlightText = function(text, className) { 69 | function highlight(node) { 70 | if (node.nodeType == 3) { 71 | var val = node.nodeValue; 72 | var pos = val.toLowerCase().indexOf(text); 73 | if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { 74 | var span = document.createElement("span"); 75 | span.className = className; 76 | span.appendChild(document.createTextNode(val.substr(pos, text.length))); 77 | node.parentNode.insertBefore(span, node.parentNode.insertBefore( 78 | document.createTextNode(val.substr(pos + text.length)), 79 | node.nextSibling)); 80 | node.nodeValue = val.substr(0, pos); 81 | } 82 | } 83 | else if (!jQuery(node).is("button, select, textarea")) { 84 | jQuery.each(node.childNodes, function() { 85 | highlight(this); 86 | }); 87 | } 88 | } 89 | return this.each(function() { 90 | highlight(this); 91 | }); 92 | }; 93 | 94 | /* 95 | * backward compatibility for jQuery.browser 96 | * This will be supported until firefox bug is fixed. 97 | */ 98 | if (!jQuery.browser) { 99 | jQuery.uaMatch = function(ua) { 100 | ua = ua.toLowerCase(); 101 | 102 | var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || 103 | /(webkit)[ \/]([\w.]+)/.exec(ua) || 104 | /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || 105 | /(msie) ([\w.]+)/.exec(ua) || 106 | ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || 107 | []; 108 | 109 | return { 110 | browser: match[ 1 ] || "", 111 | version: match[ 2 ] || "0" 112 | }; 113 | }; 114 | jQuery.browser = {}; 115 | jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; 116 | } 117 | 118 | /** 119 | * Small JavaScript module for the documentation. 120 | */ 121 | var Documentation = { 122 | 123 | init : function() { 124 | this.fixFirefoxAnchorBug(); 125 | this.highlightSearchWords(); 126 | this.initIndexTable(); 127 | 128 | }, 129 | 130 | /** 131 | * i18n support 132 | */ 133 | TRANSLATIONS : {}, 134 | PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, 135 | LOCALE : 'unknown', 136 | 137 | // gettext and ngettext don't access this so that the functions 138 | // can safely bound to a different name (_ = Documentation.gettext) 139 | gettext : function(string) { 140 | var translated = Documentation.TRANSLATIONS[string]; 141 | if (typeof translated == 'undefined') 142 | return string; 143 | return (typeof translated == 'string') ? translated : translated[0]; 144 | }, 145 | 146 | ngettext : function(singular, plural, n) { 147 | var translated = Documentation.TRANSLATIONS[singular]; 148 | if (typeof translated == 'undefined') 149 | return (n == 1) ? singular : plural; 150 | return translated[Documentation.PLURALEXPR(n)]; 151 | }, 152 | 153 | addTranslations : function(catalog) { 154 | for (var key in catalog.messages) 155 | this.TRANSLATIONS[key] = catalog.messages[key]; 156 | this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); 157 | this.LOCALE = catalog.locale; 158 | }, 159 | 160 | /** 161 | * add context elements like header anchor links 162 | */ 163 | addContextElements : function() { 164 | $('div[id] > :header:first').each(function() { 165 | $('\u00B6'). 166 | attr('href', '#' + this.id). 167 | attr('title', _('Permalink to this headline')). 168 | appendTo(this); 169 | }); 170 | $('dt[id]').each(function() { 171 | $('\u00B6'). 172 | attr('href', '#' + this.id). 173 | attr('title', _('Permalink to this definition')). 174 | appendTo(this); 175 | }); 176 | }, 177 | 178 | /** 179 | * workaround a firefox stupidity 180 | * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 181 | */ 182 | fixFirefoxAnchorBug : function() { 183 | if (document.location.hash) 184 | window.setTimeout(function() { 185 | document.location.href += ''; 186 | }, 10); 187 | }, 188 | 189 | /** 190 | * highlight the search words provided in the url in the text 191 | */ 192 | highlightSearchWords : function() { 193 | var params = $.getQueryParameters(); 194 | var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; 195 | if (terms.length) { 196 | var body = $('div.body'); 197 | if (!body.length) { 198 | body = $('body'); 199 | } 200 | window.setTimeout(function() { 201 | $.each(terms, function() { 202 | body.highlightText(this.toLowerCase(), 'highlighted'); 203 | }); 204 | }, 10); 205 | $('') 207 | .appendTo($('#searchbox')); 208 | } 209 | }, 210 | 211 | /** 212 | * init the domain index toggle buttons 213 | */ 214 | initIndexTable : function() { 215 | var togglers = $('img.toggler').click(function() { 216 | var src = $(this).attr('src'); 217 | var idnum = $(this).attr('id').substr(7); 218 | $('tr.cg-' + idnum).toggle(); 219 | if (src.substr(-9) == 'minus.png') 220 | $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); 221 | else 222 | $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); 223 | }).css('display', ''); 224 | if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { 225 | togglers.click(); 226 | } 227 | }, 228 | 229 | /** 230 | * helper function to hide the search marks again 231 | */ 232 | hideSearchWords : function() { 233 | $('#searchbox .highlight-link').fadeOut(300); 234 | $('span.highlighted').removeClass('highlighted'); 235 | }, 236 | 237 | /** 238 | * make the url absolute 239 | */ 240 | makeURL : function(relativeURL) { 241 | return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; 242 | }, 243 | 244 | /** 245 | * get the current relative url 246 | */ 247 | getCurrentURL : function() { 248 | var path = document.location.pathname; 249 | var parts = path.split(/\//); 250 | $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { 251 | if (this == '..') 252 | parts.pop(); 253 | }); 254 | var url = parts.join('/'); 255 | return path.substring(url.lastIndexOf('/') + 1, path.length - 1); 256 | }, 257 | 258 | initOnKeyListeners: function() { 259 | $(document).keyup(function(event) { 260 | var activeElementType = document.activeElement.tagName; 261 | // don't navigate when in search box or textarea 262 | if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { 263 | switch (event.keyCode) { 264 | case 37: // left 265 | var prevHref = $('link[rel="prev"]').prop('href'); 266 | if (prevHref) { 267 | window.location.href = prevHref; 268 | return false; 269 | } 270 | case 39: // right 271 | var nextHref = $('link[rel="next"]').prop('href'); 272 | if (nextHref) { 273 | window.location.href = nextHref; 274 | return false; 275 | } 276 | } 277 | } 278 | }); 279 | } 280 | }; 281 | 282 | // quick alias for translations 283 | _ = Documentation.gettext; 284 | 285 | $(document).ready(function() { 286 | Documentation.init(); 287 | }); -------------------------------------------------------------------------------- /docs/_build/html/_static/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/down-pressed.png -------------------------------------------------------------------------------- /docs/_build/html/_static/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/down.png -------------------------------------------------------------------------------- /docs/_build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/file.png -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/_build/html/_static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/_build/html/_static/hide_out_of_radius.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/hide_out_of_radius.png -------------------------------------------------------------------------------- /docs/_build/html/_static/js/modernizr.min.js: -------------------------------------------------------------------------------- 1 | /* Modernizr 2.6.2 (Custom Build) | MIT & BSD 2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load 3 | */ 4 | ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d',a,""].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f"); 77 | 78 | // Add expand links to all parents of nested ul 79 | $('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () { 80 | var link = $(this); 81 | expand = $(''); 82 | expand.on('click', function (ev) { 83 | self.toggleCurrent(link); 84 | ev.stopPropagation(); 85 | return false; 86 | }); 87 | link.prepend(expand); 88 | }); 89 | }; 90 | 91 | nav.reset = function () { 92 | // Get anchor from URL and open up nested nav 93 | var anchor = encodeURI(window.location.hash); 94 | if (anchor) { 95 | try { 96 | var link = $('.wy-menu-vertical') 97 | .find('[href="' + anchor + '"]'); 98 | $('.wy-menu-vertical li.toctree-l1 li.current') 99 | .removeClass('current'); 100 | link.closest('li.toctree-l2').addClass('current'); 101 | link.closest('li.toctree-l3').addClass('current'); 102 | link.closest('li.toctree-l4').addClass('current'); 103 | } 104 | catch (err) { 105 | console.log("Error expanding nav for anchor", err); 106 | } 107 | } 108 | }; 109 | 110 | nav.onScroll = function () { 111 | this.winScroll = false; 112 | var newWinPosition = this.win.scrollTop(), 113 | winBottom = newWinPosition + this.winHeight, 114 | navPosition = this.navBar.scrollTop(), 115 | newNavPosition = navPosition + (newWinPosition - this.winPosition); 116 | if (newWinPosition < 0 || winBottom > this.docHeight) { 117 | return; 118 | } 119 | this.navBar.scrollTop(newNavPosition); 120 | this.winPosition = newWinPosition; 121 | }; 122 | 123 | nav.onResize = function () { 124 | this.winResize = false; 125 | this.winHeight = this.win.height(); 126 | this.docHeight = $(document).height(); 127 | }; 128 | 129 | nav.hashChange = function () { 130 | this.linkScroll = true; 131 | this.win.one('hashchange', function () { 132 | this.linkScroll = false; 133 | }); 134 | }; 135 | 136 | nav.toggleCurrent = function (elem) { 137 | var parent_li = elem.closest('li'); 138 | parent_li.siblings('li.current').removeClass('current'); 139 | parent_li.siblings().find('li.current').removeClass('current'); 140 | parent_li.find('> ul li.current').removeClass('current'); 141 | parent_li.toggleClass('current'); 142 | } 143 | 144 | return nav; 145 | }; 146 | 147 | module.exports.ThemeNav = ThemeNav(); 148 | 149 | if (typeof(window) != 'undefined') { 150 | window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav }; 151 | } 152 | 153 | },{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]); 154 | -------------------------------------------------------------------------------- /docs/_build/html/_static/map_canvas_controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/map_canvas_controller.png -------------------------------------------------------------------------------- /docs/_build/html/_static/map_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/map_marker.png -------------------------------------------------------------------------------- /docs/_build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/minus.png -------------------------------------------------------------------------------- /docs/_build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/plus.png -------------------------------------------------------------------------------- /docs/_build/html/_static/pygments.css: -------------------------------------------------------------------------------- 1 | .highlight .hll { background-color: #ffffcc } 2 | .highlight { background: #eeffcc; } 3 | .highlight .c { color: #408090; font-style: italic } /* Comment */ 4 | .highlight .err { border: 1px solid #FF0000 } /* Error */ 5 | .highlight .k { color: #007020; font-weight: bold } /* Keyword */ 6 | .highlight .o { color: #666666 } /* Operator */ 7 | .highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ 8 | .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ 9 | .highlight .cp { color: #007020 } /* Comment.Preproc */ 10 | .highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ 11 | .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ 12 | .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ 13 | .highlight .gd { color: #A00000 } /* Generic.Deleted */ 14 | .highlight .ge { font-style: italic } /* Generic.Emph */ 15 | .highlight .gr { color: #FF0000 } /* Generic.Error */ 16 | .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ 17 | .highlight .gi { color: #00A000 } /* Generic.Inserted */ 18 | .highlight .go { color: #333333 } /* Generic.Output */ 19 | .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ 20 | .highlight .gs { font-weight: bold } /* Generic.Strong */ 21 | .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ 22 | .highlight .gt { color: #0044DD } /* Generic.Traceback */ 23 | .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ 24 | .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ 25 | .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ 26 | .highlight .kp { color: #007020 } /* Keyword.Pseudo */ 27 | .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ 28 | .highlight .kt { color: #902000 } /* Keyword.Type */ 29 | .highlight .m { color: #208050 } /* Literal.Number */ 30 | .highlight .s { color: #4070a0 } /* Literal.String */ 31 | .highlight .na { color: #4070a0 } /* Name.Attribute */ 32 | .highlight .nb { color: #007020 } /* Name.Builtin */ 33 | .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ 34 | .highlight .no { color: #60add5 } /* Name.Constant */ 35 | .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ 36 | .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ 37 | .highlight .ne { color: #007020 } /* Name.Exception */ 38 | .highlight .nf { color: #06287e } /* Name.Function */ 39 | .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ 40 | .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ 41 | .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ 42 | .highlight .nv { color: #bb60d5 } /* Name.Variable */ 43 | .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ 44 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */ 45 | .highlight .mb { color: #208050 } /* Literal.Number.Bin */ 46 | .highlight .mf { color: #208050 } /* Literal.Number.Float */ 47 | .highlight .mh { color: #208050 } /* Literal.Number.Hex */ 48 | .highlight .mi { color: #208050 } /* Literal.Number.Integer */ 49 | .highlight .mo { color: #208050 } /* Literal.Number.Oct */ 50 | .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ 51 | .highlight .sc { color: #4070a0 } /* Literal.String.Char */ 52 | .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ 53 | .highlight .s2 { color: #4070a0 } /* Literal.String.Double */ 54 | .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ 55 | .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ 56 | .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ 57 | .highlight .sx { color: #c65d09 } /* Literal.String.Other */ 58 | .highlight .sr { color: #235388 } /* Literal.String.Regex */ 59 | .highlight .s1 { color: #4070a0 } /* Literal.String.Single */ 60 | .highlight .ss { color: #517918 } /* Literal.String.Symbol */ 61 | .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ 62 | .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ 63 | .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ 64 | .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ 65 | .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ -------------------------------------------------------------------------------- /docs/_build/html/_static/sample_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/sample_1.png -------------------------------------------------------------------------------- /docs/_build/html/_static/sample_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/sample_2.png -------------------------------------------------------------------------------- /docs/_build/html/_static/sample_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/sample_3.png -------------------------------------------------------------------------------- /docs/_build/html/_static/underscore.js: -------------------------------------------------------------------------------- 1 | // Underscore.js 1.3.1 2 | // (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. 3 | // Underscore is freely distributable under the MIT license. 4 | // Portions of Underscore are inspired or borrowed from Prototype, 5 | // Oliver Steele's Functional, and John Resig's Micro-Templating. 6 | // For all details and documentation: 7 | // http://documentcloud.github.com/underscore 8 | (function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== 9 | c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c, 10 | h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each= 11 | b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e2;a== 12 | null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect= 13 | function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e= 14 | e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= 15 | function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;bd?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a, 17 | c,d){d||(d=b.identity);for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e=0;d--)b=[a[d].apply(this,b)];return b[0]}}; 24 | b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments, 25 | 1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)}; 26 | b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"}; 27 | b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.mixin=function(a){j(b.functions(a), 28 | function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+ 29 | u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]= 30 | function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain= 31 | true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); 32 | -------------------------------------------------------------------------------- /docs/_build/html/_static/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/up-pressed.png -------------------------------------------------------------------------------- /docs/_build/html/_static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/_static/up.png -------------------------------------------------------------------------------- /docs/_build/html/genindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Index — MiniMap 1.1 documentation 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 45 | 46 | 93 | 94 |
95 | 96 | 97 | 101 | 102 | 103 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 |
113 |
    114 |
  • Docs »
  • 115 | 116 |
  • 117 |
  • 118 | 119 | 120 | 121 |
  • 122 |
123 |
124 |
125 |
126 |
127 | 128 | 129 |

Index

130 | 131 |
132 | 133 |
134 | 135 | 136 |
137 |
138 |
139 | 140 | 141 |
142 | 143 |
144 |

145 | © Copyright 2016, Vladyslav Melnychenko. 146 | 147 |

148 |
149 | Built with Sphinx using a theme provided by Read the Docs. 150 | 151 |
152 | 153 |
154 |
155 | 156 |
157 | 158 |
159 | 160 | 161 | 162 | 163 | 164 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /docs/_build/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Unity 3D MiniMap 32 — MiniMap 1.1 documentation 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 45 | 46 | 93 | 94 |
95 | 96 | 97 | 101 | 102 | 103 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 |
113 |
    114 |
  • Docs »
  • 115 | 116 |
  • Unity 3D MiniMap 32
  • 117 |
  • 118 | 119 | 120 | View page source 121 | 122 | 123 |
  • 124 |
125 |
126 |
127 |
128 |
129 | 130 |
131 |

Unity 3D MiniMap 32

132 |
133 |

Contents

134 |
135 | 146 |
147 |
148 |
149 | 150 | 151 |
152 |
153 |
154 | 155 | 161 | 162 | 163 |
164 | 165 |
166 |

167 | © Copyright 2016, Vladyslav Melnychenko. 168 | 169 |

170 |
171 | Built with Sphinx using a theme provided by Read the Docs. 172 | 173 |
174 | 175 |
176 |
177 | 178 |
179 | 180 |
181 | 182 | 183 | 184 | 185 | 186 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 213 | 214 | 215 | 216 | -------------------------------------------------------------------------------- /docs/_build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_build/html/objects.inv -------------------------------------------------------------------------------- /docs/_build/html/overview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Overview — MiniMap 1.1 documentation 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
45 | 46 | 47 | 101 | 102 |
103 | 104 | 105 | 109 | 110 | 111 | 112 |
113 |
114 | 115 | 116 | 117 | 118 | 119 | 120 |
121 | 133 |
134 |
135 |
136 |
137 | 138 |
139 |

Overview

140 |
141 |

Installation

142 |
    143 |
  1. Import the plugin package into your project
  2. 144 |
  3. Drag the MiniMap prefab from Assets/MiniMap/Map_x to your canvas
  4. 145 |
  5. Set the player transform (other points in the map will be relative to it) in MapCanvasController on Canvas/MiniMap scene object
  6. 146 |
  7. Add the MapMarker component (Add Componenent -> MiniMap -> Map marker) or drag and drop it from Assets/MiniMap/Scripts to the objects you want to be shown on the map.
  8. 147 |
148 |
149 |
150 |

Video tutorial

151 |
152 | 153 |
154 |

155 |

156 |
157 |
158 |
159 |

Components description

160 |

Map Marker

161 | _images/map_marker.png 162 |
    163 |
  • Marker Sprite – with this image the object will be marked on the map. Sample sprites are included in the package.
  • 164 |
  • Marker Size – width and height of the marker.
  • 165 |
  • Is Active – if false – the object won’t be shown on the map.
  • 166 |
167 |

Map Controller

168 | _images/map_canvas_controller.png 169 |
    170 |
  • Player transform - is transform of the object that is the midpoint of the map.
  • 171 |
  • Radar distance – if the object is within this distance it will be show on the map. If objects are farther than this distance - they will be always on the border of the map or now shown at all, depending on the Hide Out Of Radius value.
  • 172 |
  • Hide out of radius - if true - the objects that are farther that Radar distance will be hidden. Otherwise they will stick to map border as long as they are within Max radar distance
  • 173 |
  • Use opacity - if enabled, objects that are far then Radar distance will become more transparent as distance to player increases (but not more then Max radar distance)
  • 174 |
  • Max radar distance - max possible radar distance (used only if Hide out of radius is false)
  • 175 |
  • Rotate map - if enabled, the map will rotate and the player arrow will point straight forward, otherwise the map will be fixed and the arrow will show the direction.
  • 176 |
  • Scale - scales radar distances
  • 177 |
  • Minimal Opacity - minimal opacity for the markers that are farther than radar distance.
  • 178 |
179 |
180 |

181 |

182 |
183 |

Next pictures will show how the marker will be shown on the map depending on the options:

184 |
    185 |
  • Hide out of radius is true:
  • 186 |
187 | _images/sample_1.png 188 |
    189 |
  • Hide out of radius is false, use opacity is false:
  • 190 |
191 | _images/sample_2.png 192 |
    193 |
  • Hide out of radius is false, use opacity is true:
  • 194 |
195 | _images/sample_3.png 196 |
197 |
    198 |
199 |
200 |
201 |
202 | 203 | 204 |
205 |
206 |
207 | 208 | 216 | 217 | 218 |
219 | 220 |
221 |

222 | © Copyright 2016, Vladyslav Melnychenko. 223 | 224 |

225 |
226 | Built with Sphinx using a theme provided by Read the Docs. 227 | 228 |
229 | 230 |
231 |
232 | 233 |
234 | 235 |
236 | 237 | 238 | 239 | 240 | 241 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 268 | 269 | 270 | 271 | -------------------------------------------------------------------------------- /docs/_build/html/search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Search — MiniMap 1.1 documentation 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 | 92 | 93 |
94 | 95 | 96 | 100 | 101 | 102 | 103 |
104 |
105 | 106 | 107 | 108 | 109 | 110 | 111 |
112 |
    113 |
  • Docs »
  • 114 | 115 |
  • 116 |
  • 117 | 118 |
  • 119 |
120 |
121 |
122 |
123 |
124 | 125 | 133 | 134 | 135 |
136 | 137 |
138 | 139 |
140 |
141 |
142 | 143 | 144 |
145 | 146 |
147 |

148 | © Copyright 2016, Vladyslav Melnychenko. 149 | 150 |

151 |
152 | Built with Sphinx using a theme provided by Read the Docs. 153 | 154 |
155 | 156 |
157 |
158 | 159 |
160 | 161 |
162 | 163 | 164 | 165 | 166 | 167 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 195 | 196 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | -------------------------------------------------------------------------------- /docs/_build/html/searchindex.js: -------------------------------------------------------------------------------- 1 | Search.setIndex({envversion:47,filenames:["index","overview","tutorial"],objects:{},objnames:{},objtypes:{},terms:{"_static":[],"case":2,"import":1,"long":1,"true":1,activ:1,add:[],all:1,allowfullscreen:[],alwai:1,arrow:1,asset:1,auto:[],becom:1,border:1,bottom:[],canva:1,com:[],complic:2,compon:[],componen:1,content:[],control:1,depend:1,differ:2,direct:1,distanc:1,div:[],doccc:[],drag:1,drop:1,easi:2,emb:[],enabl:1,fals:1,far:1,farther:1,fix:1,follow:2,forward:1,framebord:[],from:1,get:[],guid:2,height:1,hidden:1,hide:1,how:1,html:[],http:[],ifram:[],imag:1,includ:1,increas:1,index:[],instal:[],map:[],map_x:1,mapcanvascontrol:1,mapmark:1,mark:1,marker:1,max:1,midpoint:1,might:2,minim:1,modul:[],more:[1,2],move:2,next:1,now:1,object:1,occur:2,onli:1,opac:1,option:1,other:1,otherwis:1,out:1,overflow:[],packag:1,pad:[],page:[],pictur:1,player:1,plugin:1,png:[],point:1,posit:[],possibl:1,prefab:1,project:1,radar:1,radiu:1,raw:[],rel:1,rotat:1,sampl:1,sample_1:[],sample_2:[],sample_3:[],scale:1,scene:[],script:1,search:[],set:1,show:1,shown:1,size:1,sprite:1,src:[],start:2,stick:1,straight:1,style:[],test:[],than:1,thei:1,thi:1,through:2,toward:2,transform:1,transpar:1,tutori:[],valu:1,video:[],want:1,width:1,within:1,wmviitdovrg:[],won:1,www:[],you:[1,2],your:1,youtub:[]},titles:["Unity 3D MiniMap 32","Overview","Tutorial"],titleterms:{add:[],compon:1,content:0,descript:1,document:[],indic:[],instal:1,map:[],minimap:0,overview:1,ralli:[],scene:[],step:[],tabl:[],tutori:[1,2],uniti:0,video:1,welcom:[]}}) -------------------------------------------------------------------------------- /docs/_build/html/tutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Tutorial — MiniMap 1.1 documentation 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 45 | 46 | 95 | 96 |
97 | 98 | 99 | 103 | 104 | 105 | 106 |
107 |
108 | 109 | 110 | 111 | 112 | 113 | 114 |
115 | 127 |
128 |
129 |
130 |
131 | 132 |
133 |

Tutorial

134 |

In the following tutorial, we will guide you step-by-step through different use cases that might occur in Rally, starting with the easy ones and moving towards more complicated cases.

135 |
136 |
    137 |
138 |
139 |
140 | 141 | 142 |
143 |
144 |
145 | 146 | 152 | 153 | 154 |
155 | 156 |
157 |

158 | © Copyright 2016, Vladyslav Melnychenko. 159 | 160 |

161 |
162 | Built with Sphinx using a theme provided by Read the Docs. 163 | 164 |
165 | 166 |
167 |
168 | 169 |
170 | 171 |
172 | 173 | 174 | 175 | 176 | 177 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 204 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /docs/_build/html/tutorials.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Rally step-by-step — MiniMap 1.1 documentation 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 | 45 | 90 | 91 |
92 | 93 | 94 | 98 | 99 | 100 | 101 |
102 |
103 | 104 | 105 | 106 | 107 | 108 | 109 |
110 |
    111 |
  • Docs »
  • 112 | 113 |
  • Rally step-by-step
  • 114 |
  • 115 | 116 | 117 | View page source 118 | 119 | 120 |
  • 121 |
122 |
123 |
124 |
125 |
126 | 127 |
128 |

Rally step-by-step

129 |

In the following tutorial, we will guide you step-by-step through different use cases that might occur in Rally, starting with the easy ones and moving towards more complicated cases.

130 |
131 |
    132 |
133 |
134 |
135 | 136 | 137 |
138 |
139 |
140 | 141 | 142 |
143 | 144 |
145 |

146 | © Copyright 2016, Vladyslav Melnychenko. 147 | 148 |

149 |
150 | Built with Sphinx using a theme provided by Read the Docs. 151 | 152 |
153 | 154 |
155 |
156 | 157 |
158 | 159 |
160 | 161 | 162 | 163 | 164 | 165 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 192 | 193 | 194 | 195 | -------------------------------------------------------------------------------- /docs/_static/map_canvas_controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_static/map_canvas_controller.png -------------------------------------------------------------------------------- /docs/_static/map_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_static/map_marker.png -------------------------------------------------------------------------------- /docs/_static/sample_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_static/sample_1.png -------------------------------------------------------------------------------- /docs/_static/sample_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_static/sample_2.png -------------------------------------------------------------------------------- /docs/_static/sample_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Area730/MiniMap/8e805494eca2d8dfb0671038fa04e449add1e4b0/docs/_static/sample_3.png -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | # MiniMap documentation build configuration file, created by 4 | # sphinx-quickstart on Tue Apr 12 02:04:32 2016. 5 | # 6 | # This file is execfile()d with the current directory set to its 7 | # containing dir. 8 | # 9 | # Note that not all possible configuration values are present in this 10 | # autogenerated file. 11 | # 12 | # All configuration values have a default; values that are commented out 13 | # serve to show the default. 14 | 15 | import sys 16 | import os 17 | import sphinx_rtd_theme 18 | 19 | from recommonmark.parser import CommonMarkParser 20 | 21 | 22 | # If extensions (or modules to document with autodoc) are in another directory, 23 | # add these directories to sys.path here. If the directory is relative to the 24 | # documentation root, use os.path.abspath to make it absolute, like shown here. 25 | #sys.path.insert(0, os.path.abspath('.')) 26 | 27 | # -- General configuration ------------------------------------------------ 28 | 29 | # If your documentation needs a minimal Sphinx version, state it here. 30 | #needs_sphinx = '1.0' 31 | 32 | # Add any Sphinx extension module names here, as strings. They can be 33 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 34 | # ones. 35 | extensions = [] 36 | 37 | # Add any paths that contain templates here, relative to this directory. 38 | templates_path = ['_templates'] 39 | 40 | # The suffix(es) of source filenames. 41 | # You can specify multiple suffix as a list of string: 42 | source_suffix = ['.rst', '.md'] 43 | # source_suffix = '.rst' 44 | 45 | source_parsers = { 46 | '.md': CommonMarkParser, 47 | } 48 | 49 | # The encoding of source files. 50 | #source_encoding = 'utf-8-sig' 51 | 52 | # The master toctree document. 53 | master_doc = 'index' 54 | 55 | # General information about the project. 56 | project = u'MiniMap' 57 | copyright = u'2016, Vladyslav Melnychenko' 58 | author = u'Vladyslav Melnychenko' 59 | 60 | # The version info for the project you're documenting, acts as replacement for 61 | # |version| and |release|, also used in various other places throughout the 62 | # built documents. 63 | # 64 | # The short X.Y version. 65 | version = u'1.1' 66 | # The full version, including alpha/beta/rc tags. 67 | release = u'1.1' 68 | 69 | # The language for content autogenerated by Sphinx. Refer to documentation 70 | # for a list of supported languages. 71 | # 72 | # This is also used if you do content translation via gettext catalogs. 73 | # Usually you set "language" from the command line for these cases. 74 | language = None 75 | 76 | # There are two options for replacing |today|: either, you set today to some 77 | # non-false value, then it is used: 78 | #today = '' 79 | # Else, today_fmt is used as the format for a strftime call. 80 | #today_fmt = '%B %d, %Y' 81 | 82 | # List of patterns, relative to source directory, that match files and 83 | # directories to ignore when looking for source files. 84 | # This patterns also effect to html_static_path and html_extra_path 85 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] 86 | 87 | # The reST default role (used for this markup: `text`) to use for all 88 | # documents. 89 | #default_role = None 90 | 91 | # If true, '()' will be appended to :func: etc. cross-reference text. 92 | #add_function_parentheses = True 93 | 94 | # If true, the current module name will be prepended to all description 95 | # unit titles (such as .. function::). 96 | add_module_names = True 97 | 98 | # If true, sectionauthor and moduleauthor directives will be shown in the 99 | # output. They are ignored by default. 100 | #show_authors = False 101 | 102 | # The name of the Pygments (syntax highlighting) style to use. 103 | pygments_style = 'sphinx' 104 | 105 | # A list of ignored prefixes for module index sorting. 106 | #modindex_common_prefix = [] 107 | 108 | # If true, keep warnings as "system message" paragraphs in the built documents. 109 | #keep_warnings = False 110 | 111 | # If true, `todo` and `todoList` produce output, else they produce nothing. 112 | todo_include_todos = False 113 | 114 | 115 | # -- Options for HTML output ---------------------------------------------- 116 | 117 | # The theme to use for HTML and HTML Help pages. See the documentation for 118 | # a list of builtin themes. 119 | html_theme = 'sphinx_rtd_theme' 120 | 121 | # Theme options are theme-specific and customize the look and feel of a theme 122 | # further. For a list of options available for each theme, see the 123 | # documentation. 124 | #html_theme_options = {} 125 | 126 | # Add any paths that contain custom themes here, relative to this directory. 127 | #html_theme_path = [] 128 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] 129 | 130 | # The name for this set of Sphinx documents. 131 | # " v documentation" by default. 132 | #html_title = u'MiniMap v1.1' 133 | 134 | # A shorter title for the navigation bar. Default is the same as html_title. 135 | #html_short_title = None 136 | 137 | # The name of an image file (relative to this directory) to place at the top 138 | # of the sidebar. 139 | #html_logo = None 140 | 141 | # The name of an image file (relative to this directory) to use as a favicon of 142 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 143 | # pixels large. 144 | #html_favicon = None 145 | 146 | # Add any paths that contain custom static files (such as style sheets) here, 147 | # relative to this directory. They are copied after the builtin static files, 148 | # so a file named "default.css" will overwrite the builtin "default.css". 149 | html_static_path = ['_static'] 150 | 151 | # Add any extra paths that contain custom files (such as robots.txt or 152 | # .htaccess) here, relative to this directory. These files are copied 153 | # directly to the root of the documentation. 154 | #html_extra_path = [] 155 | 156 | # If not None, a 'Last updated on:' timestamp is inserted at every page 157 | # bottom, using the given strftime format. 158 | # The empty string is equivalent to '%b %d, %Y'. 159 | #html_last_updated_fmt = None 160 | 161 | # If true, SmartyPants will be used to convert quotes and dashes to 162 | # typographically correct entities. 163 | #html_use_smartypants = True 164 | 165 | # Custom sidebar templates, maps document names to template names. 166 | #html_sidebars = {} 167 | # html_sidebars = {'**': ['searchbox.html', 'globaltoc.html']} 168 | 169 | # Additional templates that should be rendered to pages, maps page names to 170 | # template names. 171 | #html_additional_pages = {} 172 | 173 | # If false, no module index is generated. 174 | #html_domain_indices = True 175 | 176 | # If false, no index is generated. 177 | #html_use_index = True 178 | 179 | # If true, the index is split into individual pages for each letter. 180 | #html_split_index = False 181 | 182 | # If true, links to the reST sources are added to the pages. 183 | #html_show_sourcelink = True 184 | 185 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. 186 | #html_show_sphinx = True 187 | 188 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. 189 | #html_show_copyright = True 190 | 191 | # If true, an OpenSearch description file will be output, and all pages will 192 | # contain a tag referring to it. The value of this option must be the 193 | # base URL from which the finished HTML is served. 194 | #html_use_opensearch = '' 195 | 196 | # This is the file name suffix for HTML files (e.g. ".xhtml"). 197 | #html_file_suffix = None 198 | 199 | # Language to be used for generating the HTML full-text search index. 200 | # Sphinx supports the following languages: 201 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' 202 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh' 203 | #html_search_language = 'en' 204 | 205 | # A dictionary with options for the search language support, empty by default. 206 | # 'ja' uses this config value. 207 | # 'zh' user can custom change `jieba` dictionary path. 208 | #html_search_options = {'type': 'default'} 209 | 210 | # The name of a javascript file (relative to the configuration directory) that 211 | # implements a search results scorer. If empty, the default will be used. 212 | #html_search_scorer = 'scorer.js' 213 | 214 | # Output file base name for HTML help builder. 215 | htmlhelp_basename = 'MiniMapdoc' 216 | 217 | # -- Options for LaTeX output --------------------------------------------- 218 | 219 | latex_elements = { 220 | # The paper size ('letterpaper' or 'a4paper'). 221 | #'papersize': 'letterpaper', 222 | 223 | # The font size ('10pt', '11pt' or '12pt'). 224 | #'pointsize': '10pt', 225 | 226 | # Additional stuff for the LaTeX preamble. 227 | #'preamble': '', 228 | 229 | # Latex figure (float) alignment 230 | #'figure_align': 'htbp', 231 | } 232 | 233 | # Grouping the document tree into LaTeX files. List of tuples 234 | # (source start file, target name, title, 235 | # author, documentclass [howto, manual, or own class]). 236 | latex_documents = [ 237 | (master_doc, 'MiniMap.tex', u'MiniMap Documentation', 238 | u'Vladyslav Melnychenko', 'manual'), 239 | ] 240 | 241 | # The name of an image file (relative to this directory) to place at the top of 242 | # the title page. 243 | #latex_logo = None 244 | 245 | # For "manual" documents, if this is true, then toplevel headings are parts, 246 | # not chapters. 247 | #latex_use_parts = False 248 | 249 | # If true, show page references after internal links. 250 | #latex_show_pagerefs = False 251 | 252 | # If true, show URL addresses after external links. 253 | #latex_show_urls = False 254 | 255 | # Documents to append as an appendix to all manuals. 256 | #latex_appendices = [] 257 | 258 | # If false, no module index is generated. 259 | #latex_domain_indices = True 260 | 261 | 262 | # -- Options for manual page output --------------------------------------- 263 | 264 | # One entry per manual page. List of tuples 265 | # (source start file, name, description, authors, manual section). 266 | man_pages = [ 267 | (master_doc, 'minimap', u'MiniMap Documentation', 268 | [author], 1) 269 | ] 270 | 271 | # If true, show URL addresses after external links. 272 | #man_show_urls = False 273 | 274 | 275 | # -- Options for Texinfo output ------------------------------------------- 276 | 277 | # Grouping the document tree into Texinfo files. List of tuples 278 | # (source start file, target name, title, author, 279 | # dir menu entry, description, category) 280 | texinfo_documents = [ 281 | (master_doc, 'MiniMap', u'MiniMap Documentation', 282 | author, 'MiniMap', 'One line description of project.', 283 | 'Miscellaneous'), 284 | ] 285 | 286 | # Documents to append as an appendix to all manuals. 287 | #texinfo_appendices = [] 288 | 289 | # If false, no module index is generated. 290 | #texinfo_domain_indices = True 291 | 292 | # How to display URL addresses: 'footnote', 'no', or 'inline'. 293 | #texinfo_show_urls = 'footnote' 294 | 295 | # If true, do not generate a @detailmenu in the "Top" node's menu. 296 | #texinfo_no_detailmenu = False 297 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | Unity 3D MiniMap 8 | ================ 9 | 10 | 11 | Contents 12 | -------- 13 | .. toctree:: 14 | :maxdepth: 2 15 | 16 | 17 | overview 18 | tutorial -------------------------------------------------------------------------------- /docs/overview.rst: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | Overview 8 | ======== 9 | 10 | Installation 11 | ------------ 12 | 1. Import the plugin package into your project 13 | 2. Drag the MiniMap prefab from *Assets/MiniMap/Map_x* to your canvas 14 | 3. Set the player transform (other points in the map will be relative to it) in *MapCanvasController* on *Canvas/MiniMap* scene object 15 | 4. Add the *MapMarker* component (*Add Componenent -> MiniMap -> Map marker*) or drag and drop it from *Assets/MiniMap/Scripts* to the objects you want to be shown on the map. 16 | 17 | 18 | Video tutorial 19 | -------------- 20 | 21 | 22 | .. raw:: html 23 | 24 |
25 | 26 |
27 | 28 | | 29 | | 30 | 31 | 32 | Components description 33 | ---------------------- 34 | 35 | **Map Marker** 36 | 37 | .. image:: _static/map_marker.png 38 | 39 | * **Marker Sprite** – with this image the object will be marked on the map. Sample sprites are included in the package. 40 | * **Marker Size** – width and height of the marker. 41 | * **Is Active** – if false – the object won’t be shown on the map. 42 | 43 | **Map Controller** 44 | 45 | .. image:: _static/map_canvas_controller.png 46 | 47 | * **Player transform** - is transform of the object that is the midpoint of the map. 48 | * **Radar distance** – if the object is within this distance it will be show on the map. If objects are farther than this distance - they will be always on the border of the map or now shown at all, depending on the *Hide Out Of Radius* value. 49 | * **Hide out of radius** - if true - the objects that are farther that *Radar distance* will be hidden. Otherwise they will stick to map border as long as they are within *Max radar distance* 50 | * **Use opacity** - if enabled, objects that are far then *Radar distance* will become more transparent as distance to player increases (but not more then *Max radar distance*) 51 | * **Max radar distance** - max possible radar distance (used only if *Hide out of radius* is false) 52 | * **Rotate map** - if enabled, the map will rotate and the player arrow will point straight forward, otherwise the map will be fixed and the arrow will show the direction. 53 | * **Scale** - scales radar distances 54 | * **Minimal Opacity** - minimal opacity for the markers that are farther than radar distance. 55 | 56 | | 57 | | 58 | 59 | Next pictures will show how the marker will be shown on the map depending on the options: 60 | 61 | * Hide out of radius is **true**: 62 | .. image:: _static/sample_1.png 63 | 64 | * Hide out of radius is **false**, use opacity is **false**: 65 | .. image:: _static/sample_2.png 66 | 67 | * Hide out of radius is **false**, use opacity is **true**: 68 | .. image:: _static/sample_3.png 69 | 70 | 71 | .. toctree:: 72 | :glob: 73 | :maxdepth: 1 74 | 75 | overview/** -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- 1 | .. MiniMap documentation master file, created by 2 | sphinx-quickstart on Tue Apr 12 02:04:32 2016. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | .. _tutorial: 8 | 9 | Tutorial 10 | ================== 11 | 12 | Coming soon 13 | 14 | 15 | .. toctree:: 16 | :glob: 17 | :maxdepth: 1 18 | 19 | tutorial/** --------------------------------------------------------------------------------