Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@
constexpr uint8_t MaxSpellLevel = 15;
constexpr int PlayerNameLength = 32;

constexpr size_t NumHotkeys = 12;
constexpr size_t NumHotkeys = 100;

/** Walking directions */
enum {
// clang-format off
WALK_NE = 1,

Check warning on line 48 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:48:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_NE'
WALK_NW = 2,

Check warning on line 49 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:49:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_NW'
WALK_SE = 3,

Check warning on line 50 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:50:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_SE'
WALK_SW = 4,

Check warning on line 51 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:51:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_SW'
WALK_N = 5,

Check warning on line 52 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:52:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_N'
WALK_E = 6,

Check warning on line 53 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:53:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_E'
WALK_S = 7,

Check warning on line 54 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:54:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_S'
WALK_W = 8,

Check warning on line 55 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:55:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_W'
WALK_NONE = -1,

Check warning on line 56 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:56:2 [readability-identifier-naming]

invalid case style for enum constant 'WALK_NONE'
// clang-format on
};

Expand All @@ -69,7 +69,7 @@

// Logical equipment locations
enum inv_body_loc : uint8_t {
INVLOC_HEAD,

Check warning on line 72 in Source/player.h

View workflow job for this annotation

GitHub Actions / tidy-check

Source/player.h:72:2 [readability-identifier-naming]

invalid case style for enum constant 'INVLOC_HEAD'
INVLOC_RING_LEFT,
INVLOC_RING_RIGHT,
INVLOC_AMULET,
Expand Down
Loading