Implemented Crafting enhancement window, item enhancement checks, and enhancement implementation done.

This commit is contained in:
2023-12-28 06:10:46 -06:00
parent 8f41870b46
commit 64694e1b63
15 changed files with 366 additions and 14 deletions
+7 -6
View File
@@ -47,12 +47,13 @@ enum class ButtonAttr{
};
enum class ComponentAttr{
NONE= 0b000000,
LEFT_ALIGN= 0b000001, //Labels are centered by default.
SHADOW= 0b000010, //Adds shadows to the label text.
OUTLINE= 0b000100, //Adds an outline around the component.
BACKGROUND= 0b001000, //Renders the background of the menu theme for this component.
FIT_TO_LABEL= 0b010000, //Scales the text horizontally to fit the label if the text takes up more space rather than wrapping.
NONE= 0b0'0000'0000,
LEFT_ALIGN= 0b0'0000'0001, //Labels are centered by default.
SHADOW= 0b0'0000'0010, //Adds shadows to the label text.
OUTLINE= 0b0'0000'0100, //Adds an outline around the component.
BACKGROUND= 0b0'0000'1000, //Renders the background of the menu theme for this component.
FIT_TO_LABEL= 0b0'0001'0000, //Scales the text horizontally to fit the label if the text takes up more space rather than wrapping.
FIXED_WIDTH_FONT= 0b0'0010'0000, //Uses a fixed-width font (instead of a proportional one) for text rendering.
};
enum class SelectionType{