diff --git a/convert_keys_to_cpp.py b/convert_keys_to_cpp.py index d6460f4..6067bf2 100644 --- a/convert_keys_to_cpp.py +++ b/convert_keys_to_cpp.py @@ -14,7 +14,7 @@ with open('bink.h', 'w') as out: #ifndef WINDOWSXPKG_BINK_H #define WINDOWSXPKG_BINK_H -#include "shared.h" +#include "header.h" std::unordered_map> Products; std::unordered_map BINKData; @@ -39,8 +39,8 @@ void initBink() { '{"' + d['g']['x'] + '", "' + d['g']['y'] + '"}, ' + '"' + d['n'] + '", "' + d['priv'] + '"};' + "\n") - out.write(""" + out.write(''' } #endif //WINDOWSXPKG_BINK_H -""") +''') diff --git a/header.h b/header.h index e29356a..17ae298 100644 --- a/header.h +++ b/header.h @@ -6,7 +6,6 @@ #define WINDOWSXPKG_HEADER_H #include -#include #include #include #include @@ -20,6 +19,8 @@ #include #include +#include "bink.h" + #define PK_LENGTH 25 #define NULL_TERMINATOR 1