atoms
Vars | |
created_atoms | initAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument |
---|---|
initialized_state | A stack of list(source, desired initialized state) We read the source of init changes from the last entry, and assert that all changes will come with a reset |
queued_deletions | Atoms that will be deleted once the subsystem is initialized |
Procs | |
CreateAtoms | Actually creates the list of atoms. Exists solely so a runtime in the creation logic doesn't cause initialized to totally break |
InitAtom | Init this specific atom |
get_initialized_source | Returns the source currently modifying SSatom's init behavior |
initializing_something | Returns TRUE if anything is currently being initialized |
prepare_deletion | Prepares an atom to be deleted once the atoms SS is initialized. |
set_tracked_initalized | Use this to set initialized to prevent error states where the old initialized is overridden, and we end up losing all context Accepts a state and a source, the most recent state is used, sources exist to prevent overriding old values accidentally |
Var Details
created_atoms
initAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument
initialized_state
A stack of list(source, desired initialized state) We read the source of init changes from the last entry, and assert that all changes will come with a reset
queued_deletions
Atoms that will be deleted once the subsystem is initialized
Proc Details
CreateAtoms
Actually creates the list of atoms. Exists solely so a runtime in the creation logic doesn't cause initialized to totally break
InitAtom
Init this specific atom
get_initialized_source
Returns the source currently modifying SSatom's init behavior
initializing_something
Returns TRUE if anything is currently being initialized
prepare_deletion
Prepares an atom to be deleted once the atoms SS is initialized.
set_tracked_initalized
Use this to set initialized to prevent error states where the old initialized is overridden, and we end up losing all context Accepts a state and a source, the most recent state is used, sources exist to prevent overriding old values accidentally