Files
90cb488263 fd anywhere using hooks (plus splitting enhancements out into files) (#226)
* fd anywhere using hooks (plus splitting enhancements out into files)

Co-authored-by: aMannus <mannusmenting@gmail.com>
Co-authored-by: Archez <Archez@users.noreply.github.com>

* add guards to headers

* Update mm/src/code/z_parameter.c

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* clean

* macro magic

* Apply suggestions from code review

---------

Co-authored-by: aMannus <mannusmenting@gmail.com>
Co-authored-by: Archez <Archez@users.noreply.github.com>
Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
2024-05-22 09:05:01 -05:00

11 lines
301 B
C++

#include <libultraship/bridge.h>
#include "Enhancements/GameInteractor/GameInteractor.h"
void RegisterFierceDeityAnywhere() {
REGISTER_VB_SHOULD(GI_VB_DISABLE_FD_MASK, {
if (CVarGetInteger("gEnhancements.Masks.FierceDeitysAnywhere", 0)) {
*should = false;
}
});
}