mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Prettier (an auto formatter) is set to only run within the tgui folder currently. This removes that limitation, allowing it to automatically format all supported files in the repo (.js, .html, .yml [etc](https://prettier.io/docs/)) I made a few exceptions for bundled and generated files I'm of the opinion that code should look uniform and am lazy enough to want CTRL-S to format files without having to think beyond that
DMAPI Internals
This folder should be placed on its own inside a codebase that wishes to use the TGS DMAPI. Warranty void if modified.
- includes.dm is the file that should be included by DM code, it handles including the rest.
- The core folder includes all code not directly part of any API version.
- The other versioned folders contain code for the different DMAPI versions.
- LICENSE is the MIT license for the DMAPI.
APIs communicate with TGS in two ways. All versions implement TGS -> DM communication using /world/Topic. DM -> TGS communication, called the bridge method, is different for each version.