Reformat all the things. Have fun with merge conflicts.

This commit is contained in:
Pierre Bourdon
2016-06-24 10:43:46 +02:00
parent 2115e8a4a6
commit 3570c7f03a
1116 changed files with 187405 additions and 180344 deletions

View File

@ -11,33 +11,30 @@
namespace Gecko
{
class GeckoCode
{
public:
GeckoCode() : enabled(false) {}
struct Code
{
u32 address = 0;
u32 data = 0;
std::string original_line;
};
class GeckoCode
{
public:
std::vector<Code> codes;
std::string name, creator;
std::vector<std::string> notes;
GeckoCode() : enabled(false) {}
bool enabled;
bool user_defined;
struct Code
{
u32 address = 0;
u32 data = 0;
std::string original_line;
};
bool Compare(const GeckoCode& compare) const;
bool Exist(u32 address, u32 data) const;
};
std::vector<Code> codes;
std::string name, creator;
std::vector<std::string> notes;
void SetActiveCodes(const std::vector<GeckoCode>& gcodes);
bool RunActiveCodes();
void RunCodeHandler();
bool enabled;
bool user_defined;
bool Compare(const GeckoCode& compare) const;
bool Exist(u32 address, u32 data) const;
};
void SetActiveCodes(const std::vector<GeckoCode>& gcodes);
bool RunActiveCodes();
void RunCodeHandler();
} // namespace Gecko
} // namespace Gecko