Skip to content

Commit

Permalink
Update CONTRIBUTING.md to reflect clang-format-18 as required
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienntindall committed Oct 17, 2024
1 parent 7b8dacb commit cd13953
Show file tree
Hide file tree
Showing 76 changed files with 3,140 additions and 3,140 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This repository includes an opinionated `clang-format` specification to ensure t

### Requirements

- `clang-format@17` or newer
- `clang-format@18` or newer

### Usage

Expand Down
4 changes: 2 additions & 2 deletions include/constants/items.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
#define FIRST_MULCH_IDX ITEM_GROWTH_MULCH
#define LAST_MULCH_IDX ITEM_GOOEY_MULCH
#define NUM_MULCHES (LAST_MULCH_IDX - FIRST_MULCH_IDX + 1)
#define MULCH_IDX(mulch) ((mulch)-FIRST_MULCH_IDX + 1)
#define MULCH_IDX(mulch) ((mulch) - FIRST_MULCH_IDX + 1)
#define MULCH_NONE 0

// Unused
Expand Down Expand Up @@ -506,7 +506,7 @@
#define FIRST_BERRY_IDX ITEM_CHERI_BERRY
#define LAST_BERRY_IDX ITEM_ROWAP_BERRY
#define NUM_BERRIES (LAST_BERRY_IDX - FIRST_BERRY_IDX + 1)
#define BERRY_IDX(berry) ((berry)-FIRST_BERRY_IDX + 1)
#define BERRY_IDX(berry) ((berry) - FIRST_BERRY_IDX + 1)
#define BERRY_NONE 0

// Battle Held items
Expand Down
4 changes: 2 additions & 2 deletions include/constants/std_script.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
#define std_apricorn_tree 2800

#define _std_npc_trainer 3000
#define std_trainer(trainer) ((trainer)-FIRST_TRAINER_INDEX + _std_npc_trainer)
#define std_trainer(trainer) ((trainer) - FIRST_TRAINER_INDEX + _std_npc_trainer)
#define std_trainer_approach std_trainer(LAST_TRAINER_INDEX)

#define _std_npc_trainer_2 5000
#define std_trainer_2(trainer) ((trainer)-FIRST_TRAINER_INDEX + _std_npc_trainer_2)
#define std_trainer_2(trainer) ((trainer) - FIRST_TRAINER_INDEX + _std_npc_trainer_2)

#define _std_item_ball 7000
#define std_itemball_r29_potion 7000
Expand Down
Loading

0 comments on commit cd13953

Please sign in to comment.