Files
4ab234f10c maploader / overmaps update - struct system, overmaps location bindings, misc backend improvements (#6403)
tl;dr level collections that can easily be logically restructured/moved
as necessary

will eventually be used for radio and overmaps location resolution.

this is the last part of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/4841
that has not yet been integrated.
this will be a draft for a while.

---------

Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
2025-11-06 17:49:23 -08:00

875 B

Mapping Subsystem

Better README is a todo.

I promise there's a method to the madness.

structure

  • / - all 'modules' stay here.
  • /level - level helpers. These generally take a z-index and return something about it. 99% of the time you should use this instead of manually looking up level datums, but doing so is okay if you really need performance. Procs should begin with level_.
  • /spatial - spatial helpers. These generally take a turf, coordinate, or something akin to that and grabs data based on it. These are namespaced on SSmapping for speed. Procs should begin with spatial_.
  • /virtual - virtual helpers that more or less replace basic BYOND procs like get dir, range, etc. These are to get 'real' distance/whatnot when we're in a map struct. Use this for things that should be aware of it, which is most IC things. Procs should begin with virtual_.