Proc for generating map renders (#10302)

* Proc for generating map renders

I mean what else is there to say, it doesn't make it into one large icon unfortunately but someone could do that. Or you could use the goon method to display.

* This is useful as well

* Modifications

1. Changed getflaticon to show more directional sprites
2. Changed getflaticon to properly order the rednering of underlays -> sprite -> overlays
3. Changed maprender to use a transparent icon instead of a full alpha white one
4. Changed maprender proc to use a better sorting method stolen from getflaticon
5. Changed maprender to eliminate spaces in the outputted folder paths
6. Changed maprender to properly name the maprenders so they are ordered correctly

* Small fix

* Update map link

* Fix some more directional objects, fix multitile objects
This commit is contained in:
clusterfack
2016-06-03 05:37:00 -05:00
committed by ComicIronic
parent 27f393c765
commit d925bcd785
9 changed files with 180 additions and 27 deletions

View File

@@ -360,7 +360,8 @@ var/list/admin_verbs_mod = list(
/client/proc/cmd_admin_areatest,
/client/proc/readmin,
/client/proc/nanomapgen_DumpImage,
/client/proc/nanomapgen_DumpImageAll
/client/proc/nanomapgen_DumpImageAll,
/client/proc/maprender
)
/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs

View File

@@ -167,6 +167,7 @@ var/intercom_range_display_status = 0
src.verbs += /client/proc/check_sim_unsim
src.verbs += /client/proc/nanomapgen_DumpImage
src.verbs += /client/proc/nanomapgen_DumpImageAll
src.verbs += /client/proc/maprender
//src.verbs += /client/proc/cmd_admin_rejuvenate
feedback_add_details("admin_verb","mDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!