This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
forked from Aurorastation/Aurora.3
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace holomap with PDA map program (Aurorastation#17751)
* map program, holomap init order * huh * programz * program defines * hmm....... * a * map 😩 * sane code, zoom * holo_minimaps -> minimaps * o * remove station holomap stuff * changelog, shitcode, mapping * c * o * minus * generate_all_minimaps() * holomap init order * tests rerun please * tests rerun please * aurora station_map removal * legend via labeledlist * table * key * aaaaaaaaaaaaaaaaaaaaaaa --------- Co-authored-by: DreamySkrell <>
- Loading branch information
1 parent
4201960
commit e8cb618
Showing
26 changed files
with
1,042 additions
and
1,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,23 @@ | ||
// | ||
// Constants and standard colors for the holomap | ||
// Constants and standard colors for the holomap/minimap | ||
// | ||
|
||
#define HOLOMAP_ICON 'icons/480x480.dmi' // Icon file to start with when drawing holomaps (to get a 480x480 canvas). | ||
#define HOLOMAP_ICON_SIZE 480 // Pixel width & height of the holomap icon. Used for auto-centering etc. | ||
#define ui_holomap "CENTER-7, CENTER-7" // Screen location of the holomap "hud" | ||
|
||
// Holomap colors | ||
#define HOLOMAP_OBSTACLE "#FFFFFFDD" // Color of walls and barriers | ||
#define HOLOMAP_PATH "#66666699" // Color of floors | ||
#define HOLOMAP_OBSTACLE "#FFFFFF" // Color of walls and barriers | ||
#define HOLOMAP_PATH "#666666" // Color of floors | ||
#define HOLOMAP_HOLOFIER "#79FF79" // Whole map is multiplied by this to give it a green holoish look | ||
|
||
#define HOLOMAP_AREACOLOR_COMMAND "#386d8099" | ||
#define HOLOMAP_AREACOLOR_SECURITY "#ae121299" | ||
#define HOLOMAP_AREACOLOR_MEDICAL "#6f9e00c2" | ||
#define HOLOMAP_AREACOLOR_SCIENCE "#A154A699" | ||
#define HOLOMAP_AREACOLOR_ENGINEERING "#F1C23199" | ||
#define HOLOMAP_AREACOLOR_OPERATIONS "#E06F0099" | ||
#define HOLOMAP_AREACOLOR_HALLWAYS "#ffffffa5" | ||
#define HOLOMAP_AREACOLOR_DOCK "#0000FFCC" | ||
#define HOLOMAP_AREACOLOR_COMMAND "#386d80" | ||
#define HOLOMAP_AREACOLOR_SECURITY "#ae1212" | ||
#define HOLOMAP_AREACOLOR_MEDICAL "#6f9e00" | ||
#define HOLOMAP_AREACOLOR_SCIENCE "#A154A6" | ||
#define HOLOMAP_AREACOLOR_ENGINEERING "#F1C231" | ||
#define HOLOMAP_AREACOLOR_OPERATIONS "#E06F00" | ||
#define HOLOMAP_AREACOLOR_HALLWAYS "#ffffff" | ||
#define HOLOMAP_AREACOLOR_DOCK "#0000FF" | ||
#define HOLOMAP_AREACOLOR_HANGAR "#777777" | ||
#define HOLOMAP_AREACOLOR_CIVILIAN "#5bc1c199" | ||
#define HOLOMAP_AREACOLOR_CIVILIAN "#5bc1c1" | ||
// If someone can come up with a non-conflicting color for the lifts, please update this. | ||
#define HOLOMAP_AREACOLOR_LIFTS null | ||
|
||
// Handy defines to lookup the pixel offsets for this Z-level. Cache these if you use them in a loop tho. | ||
// Commenting these out for now. Replace if we ever datumize our maps. | ||
/*#define HOLOMAP_PIXEL_OFFSET_X(zLevel) ((using_map.holomap_offset_x.len >= zLevel) ? using_map.holomap_offset_x[zLevel] : 0) | ||
#define HOLOMAP_PIXEL_OFFSET_Y(zLevel) ((using_map.holomap_offset_y.len >= zLevel) ? using_map.holomap_offset_y[zLevel] : 0) | ||
#define HOLOMAP_LEGEND_X(zLevel) ((using_map.holomap_legend_x.len >= zLevel) ? using_map.holomap_legend_x[zLevel] : 96) | ||
#define HOLOMAP_LEGEND_Y(zLevel) ((using_map.holomap_legend_y.len >= zLevel) ? using_map.holomap_legend_y[zLevel] : 96)*/ | ||
|
||
#define HOLOMAP_PIXEL_OFFSET_X(zlevel) ((HOLOMAP_ICON_SIZE - world.maxx) / 2) | ||
#define HOLOMAP_PIXEL_OFFSET_Y(zlevel) ((HOLOMAP_ICON_SIZE - world.maxx) / 2) | ||
#define HOLOMAP_LEGEND_X(zlevel) 96 | ||
#define HOLOMAP_LEGEND_Y(zlevel) 96 | ||
|
||
#define HOLOMAP_EXTRA_STATIONMAP "stationmapformatted" | ||
#define HOLOMAP_EXTRA_STATIONMAPAREAS "stationareas" | ||
#define HOLOMAP_EXTRA_STATIONMAPSMALL "stationmapsmall" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.