File tree Expand file tree Collapse file tree 12 files changed +18
-14
lines changed Expand file tree Collapse file tree 12 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 4
4
#include < iostream>
5
5
#include < sstream>
6
6
7
-
8
- #include " ../magic_enum/include/magic_enum.hpp" // https://github.com/Neargye/magic_enum
7
+ #include " ../magic_enum/include/magic_enum/magic_enum.hpp" // https://github.com/Neargye/magic_enum
9
8
10
9
std::vector<chess_color> get_all_chess_colors () noexcept
11
10
{
Original file line number Diff line number Diff line change 3
3
#include < algorithm>
4
4
#include < cassert>
5
5
6
- #include " ../ magic_enum/include/ magic_enum.hpp"
6
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
7
7
8
8
std::vector<controls_view_item> get_all_controls_view_items () noexcept
9
9
{
Original file line number Diff line number Diff line change @@ -44,5 +44,10 @@ QT += core gui widgets
44
44
45
45
LIBS += -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
46
46
47
- # INCLUDEPATH += ../magic_enum
48
-
47
+ # magic_enum, from https://github.com/Neargye/magic_enum
48
+ #
49
+ # Must allow for:
50
+ #
51
+ # include <magic_enum/magic_enum.hpp>
52
+ #
53
+ INCLUDEPATH += ../magic_enum/include
Original file line number Diff line number Diff line change 5
5
#include < iostream>
6
6
#include < sstream>
7
7
8
- #include " ../ magic_enum/include/ magic_enum.hpp" // https://github.com/Neargye/magic_enum
8
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
9
9
10
10
std::vector<game_speed> get_all_game_speeds () noexcept
11
11
{
Original file line number Diff line number Diff line change 3
3
#include < algorithm>
4
4
#include < cassert>
5
5
6
- #include " ../ magic_enum/include/ magic_enum.hpp"
6
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
7
7
8
8
std::vector<lobby_view_item> get_all_lobby_view_items () noexcept
9
9
{
Original file line number Diff line number Diff line change 3
3
#include < algorithm>
4
4
#include < cassert>
5
5
6
- #include " ../ magic_enum/include/ magic_enum.hpp"
6
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
7
7
8
8
std::vector<menu_view_item> get_all_menu_view_items () noexcept
9
9
{
Original file line number Diff line number Diff line change 1
1
#include " message_type.h"
2
2
3
- #include " ../ magic_enum/include/ magic_enum.hpp"
3
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
4
4
5
5
#include < cassert>
6
6
#include < iostream>
Original file line number Diff line number Diff line change 1
1
#include " options_view_item.h"
2
2
3
- #include " ../ magic_enum/include/ magic_enum.hpp"
3
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
4
4
5
5
#include < algorithm>
6
6
#include < cassert>
Original file line number Diff line number Diff line change 4
4
#include < iostream>
5
5
#include < sstream>
6
6
7
- #include " ../ magic_enum/include/ magic_enum.hpp"
7
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
8
8
9
9
std::vector<piece_action_type> get_all_piece_action_types () noexcept
10
10
{
Original file line number Diff line number Diff line change 5
5
#include < iostream>
6
6
#include < sstream>
7
7
8
- #include " ../ magic_enum/include/ magic_enum.hpp" // https://github.com/Neargye/magic_enum
8
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
9
9
10
10
std::vector<race> get_all_races () noexcept
11
11
{
Original file line number Diff line number Diff line change 5
5
#include < iostream>
6
6
#include < sstream>
7
7
8
- #include " ../ magic_enum/include/ magic_enum.hpp"
8
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
9
9
10
10
std::vector<starting_position_type> get_all_starting_position_types () noexcept
11
11
{
Original file line number Diff line number Diff line change 1
1
#include " user_input_type.h"
2
2
3
- #include " ../ magic_enum/include/ magic_enum.hpp"
3
+ #include < magic_enum/magic_enum.hpp> // https://github.com/Neargye/magic_enum
4
4
5
5
user_input_type create_random_user_input_type (
6
6
std::default_random_engine& rng_engine
You can’t perform that action at this time.
0 commit comments