Skip to content

Commit 7d8c2fb

Browse files
committed
Use spaces instead of tabs for main project
1 parent 20a9721 commit 7d8c2fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+24986
-24984
lines changed

ttyd-tools/rel/include/draw.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,34 @@ void drawText(const char *text, int32_t x, int32_t y, uint32_t color, float scal
2121
void drawTextInit(uint8_t alpha, bool drawFontEdge);
2222

2323
void drawTextAndInit(const char *text, int32_t x, int32_t y,
24-
uint8_t alpha, uint32_t color, bool drawDontEdge, float scale);
24+
uint8_t alpha, uint32_t color, bool drawDontEdge, float scale);
2525

2626
uint16_t getMessageWidth(const char *text, float scale);
2727
void getOnOffTextAndColor(bool valueToCheck, const char **textOut, uint32_t *colorOut);
2828
void getYesNoTextAndColor(bool valueToCheck, const char **textOut, uint32_t *colorOut);
2929
uint32_t getSelectedTextColor(bool valueToCheck);
3030

3131
void drawTextWithWindow(const char *text, int32_t textPosX, int32_t textPosY, uint32_t textColor,
32-
float textScale, int32_t windowWidth, uint32_t windowColor, float windowCurve);
32+
float textScale, int32_t windowWidth, uint32_t windowColor, float windowCurve);
3333

3434
void drawSingleColumnMain();
3535
void drawSingleColumnSelectedOption();
3636

3737
void drawSingleColumn(int32_t posY, uint32_t maxOptionsPerPage,
38-
uint32_t currentPage, bool adjustSelectedOption);
38+
uint32_t currentPage, bool adjustSelectedOption);
3939

4040
void drawMultipleColumnsVertical(int32_t posX, int32_t posY, uint32_t currentMenuOption,
41-
uint32_t currentPage, uint32_t size, uint32_t maxOptionsPerPage,
42-
uint32_t maxOptionsPerRow, bool showCurrentOption,
43-
uint32_t posXIncrementAmount, const char **lines);
41+
uint32_t currentPage, uint32_t size, uint32_t maxOptionsPerPage,
42+
uint32_t maxOptionsPerRow, bool showCurrentOption,
43+
uint32_t posXIncrementAmount, const char **lines);
4444

4545
void drawInventoryIconAndTextColumns();
4646

4747
void drawItemIconsColumn(uint32_t indexStart, uint32_t indexIncrement, uint32_t size,
48-
int32_t posX, int32_t posY, uint32_t address, float scale);
48+
int32_t posX, int32_t posY, uint32_t address, float scale);
4949

5050
void drawItemTextColumn(uint32_t indexStart, uint32_t indexIncrement,
51-
uint32_t size, int32_t posX, int32_t posY, uint32_t address, float scale);
51+
uint32_t size, int32_t posX, int32_t posY, uint32_t address, float scale);
5252

5353
void drawMarioSpecialMovesOptions();
5454
void drawFollowersOptions();
@@ -60,7 +60,7 @@ void drawBattlesActorsHeldItem();
6060
void drawCurrentFollowerOut();
6161

6262
void drawMemoryWatchValueString(int32_t slot, int32_t posX,
63-
int32_t posY, uint32_t color, bool drawFontEdge, float scale);
63+
int32_t posY, uint32_t color, bool drawFontEdge, float scale);
6464

6565
void drawMemoryWatches();
6666
void drawMemoryModifyList();
@@ -83,13 +83,13 @@ void drawNotInBattleErrorMessage();
8383
void drawConfirmationWindow(const char *message);
8484

8585
void drawSingleLineFromArray(int32_t posX, int32_t posY,
86-
int32_t currentMenuOption, const char **line);
86+
int32_t currentMenuOption, const char **line);
8787

8888
void drawSingleLineFromStringAndValue(int32_t posX, int32_t posY,
89-
const char *line, int32_t value);
89+
const char *line, int32_t value);
9090

9191
void drawSingleLineFromStringAndArray(int32_t posX, int32_t posY,
92-
int32_t currentMenuOption, const char *string, const char **line);
92+
int32_t currentMenuOption, const char *string, const char **line);
9393

9494
void drawAdjustableValueSpawnItem();
9595
void drawAdjustableValueMemoryEditor();

0 commit comments

Comments
 (0)