Add SF_CANBREAKWALLS, SF_CANBREAKFLOORS and SF_BUSTABLEBUSTER

This commit is contained in:
Snu 2020-09-29 09:45:34 +01:00
parent e593610862
commit 07a57d0419
2 changed files with 6 additions and 0 deletions

View file

@ -51,6 +51,9 @@ typedef enum
SF_NONIGHTSSUPER = 1<<15, // Disable super colors for NiGHTS (if you have SF_SUPER)
SF_NOSUPERSPRITES = 1<<16, // Don't use super sprites while super
SF_NOSUPERJUMPBOOST = 1<<17, // Disable the jump boost given while super (i.e. Knuckles)
SF_CANBREAKWALLS = 1<<18, // Can naturally break walls on contact? (i.e. Knuckles)
SF_CANBREAKFLOORS = 1<<19, // Can naturally break floors on contact?
SF_BUSTABLEBUSTER = SF_CANBREAKWALLS|SF_CANBREAKFLOORS, // Convenience skinflag.
// free up to and including 1<<31
} skinflags_t;

View file

@ -9666,6 +9666,9 @@ struct {
{"SF_NONIGHTSSUPER",SF_NONIGHTSSUPER},
{"SF_NOSUPERSPRITES",SF_NOSUPERSPRITES},
{"SF_NOSUPERJUMPBOOST",SF_NOSUPERJUMPBOOST},
{"SF_CANBREAKWALLS",SF_CANBREAKWALLS},
{"SF_CANBREAKFLOORS",SF_CANBREAKFLOORS},
{"SF_BUSTABLEBUSTER",SF_BUSTABLEBUSTER},
// Dashmode constants
{"DASHMODE_THRESHOLD",DASHMODE_THRESHOLD},