OpenFusion icon indicating copy to clipboard operation
OpenFusion copied to clipboard

Code style consistency

Open Raymonf opened this issue 4 years ago • 1 comments

When I was making a clang-format config, I found that we had some issues with the DEBUGLOG macro. For example, things would be reformatted like this:

DEBUGLOG(
    std::cout << "P_CL2FE_REQ_PC_ENTER:" << std::endl;
    std::cout << "\tID: " << U16toU8(enter->szID) << std::endl;
    std::cout << "\tSerial: " << enter->iEnterSerialKey << std::endl;
    std::cout << "\tTemp: " << enter->iTempValue << std::endl;
    std::cout << "\tPC_UID: " << plr.PCStyle.iPC_UID << std::endl;)

So, I'm just making this issue as we need to eventually figure out a consistent code style and probably change up how DEBUGLOG works.

Raymonf avatar Aug 27 '20 23:08 Raymonf

Partially addressed in #54

CakeLancelot avatar Aug 28 '20 21:08 CakeLancelot