Skip to content

Commit

Permalink
redefine: separate trait type #33, ref rotators/ReDefine#6
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Feb 29, 2020
1 parent f0cc574 commit 0a1bd0c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts_src/headers/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@


// Trait defines //
#define TRAIT_PERK (0)
#define TRAIT_OBJECT (1)
#define TRAIT_TRAIT (2)
#include "define_pre.h" // ReRefine needs this

// Perk Trait Types
#define PERK_bonus_awareness (0)
#define PERK_bonus_hth_attacks (1)
Expand Down
9 changes: 9 additions & 0 deletions scripts_src/headers/define_pre.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef DEFINE_PRE_H
#define DEFINE_PRE_H

// Trait defines //
#define TRAIT_PERK (0)
#define TRAIT_OBJECT (1)
#define TRAIT_TRAIT (2)

#endif // DEFINE_PRE_H

0 comments on commit 0a1bd0c

Please sign in to comment.