Skip to content

Code style consistency #52

@Raymonf

Description

@Raymonf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions