parsed_map
Vars | |
bounds | Offset bounds. Same as parsed_bounds until load(). |
---|---|
parsed_bounds | Unoffset bounds. Null on parse failure. |
Procs | |
New | Parse a map, possibly cropping it. Do not use the crop function unless strictly necessary. WARNING: Crop function crops based on the tiles you'd see in the map editor. If you're planning to load it in in a different orientation later, you better have done the math. It's recommended that you do not crop using this at all. |
check_for_errors | Check a parsed but not yet loaded map for errors. |
load | Load the parsed map into the world. See /proc/load_map for arguments. |
Var Details
bounds
Offset bounds. Same as parsed_bounds until load().
parsed_bounds
Unoffset bounds. Null on parse failure.
Proc Details
New
Parse a map, possibly cropping it. Do not use the crop function unless strictly necessary. WARNING: Crop function crops based on the tiles you'd see in the map editor. If you're planning to load it in in a different orientation later, you better have done the math. It's recommended that you do not crop using this at all.
check_for_errors
Check a parsed but not yet loaded map for errors.
Returns a /datum/map_report if there are errors or FALSE
otherwise.
load
Load the parsed map into the world. See /proc/load_map for arguments.