Noob here. I’m about to update to OS7. My config contains several ‘FIRE1’ defines. Am I correct that those are no longer used since many versions ago?
Here’s the defines:
#define FIRE1_SPEED 2
#define FIRE1_DELAY 800
#define FIRE1_NORMAL 0, 1000, 2
#define FIRE1_CLASH 3000, 0, 0
#define FIRE1_LOCKUP 0, 5000, 10
#define FIRE1PTR(NUM, DELAY) \
StyleFirePtr<RED, YELLOW, NUM, DELAY, FIRE1_SPEED, \
FIRE1_NORMAL, FIRE1_CLASH, FIRE1_LOCKUP>()
They should still work, the OS is backwards compatible. However, very old styles will use up additional memory and not be able to do all current features and effects so it’s probably better to generate an OS7 version of the style with current syntax and features.
These defines are not actually used by ProffieOS. They are simply shorthand that is used further down in the same file. It makes it easier to change something which is repeated multiple times in the file.
Thank you both. They are indeed macros defined for later reference in the blade styles. I’m going to come clean on how truly stupid I was in asking this question. I’ve been coding C, C++, and then Java over the span of the last 20 years. Apparently my child brain took over with “how do I make lightsaber magic work” and forgot EVERYTHING I’ve been doing in my career over two decades. Thank you for the assist and I’ll try to rub two brain cells together before posting next time.