Coder Social home page Coder Social logo

qo0-base's Introduction

qo0-base

GitHub issues GitHub license

πŸ‘Ύ menu

qo0-base

menu key is HOME
panic key is END

πŸ—ΊοΈ comments navigation

  1. @note:
  2. @todo:
  3. @test: [things to test] [date]
  4. @credits:
  5. @xref:

πŸ§ͺ conventions

  1. prefix classes with 'C' and interfaces classes 'I'
CSomeClass
ISomeInterface
  1. postfix structs with '_t' e.g. SomeStruct_t
  2. prefix enums with 'E' e.g. enum ESomeEnum
  3. thirdparty (sdk, dependencies) macroses should be uppercase e.g. #define SOMEMACROS
  4. prefix own macroses with the first filename character e.g. #define M_SOMEMATHMACROS

πŸ“„ code style

  1. all curly braces should be on it's own line
if (true)
{
	while (true)
	{
		// something...
	}
}
  1. the first characters of variables must be like type
bool bSomeBool; int iSomeInt; float flSomeFloat; double dbSomeDouble;
char chSomeSymbol; const char* szSomeString (std::string too);
BYTE dSomeByte; DWORD dwSomeDword; unsigned uSomeInt + type (e.g. unsigned long ulOffset);
CSomeClass someClass; CSomeClass* pSomeClass;
  1. enumerations must inherit type e.g. enum ESomeEnum : short

3.1. enumerations members should be uppercase SOME_ENUM_MEMBER = 0

  1. includes paths must be separated with one slash additional: file names preferably be lowercase

  2. use number literal's (uppercase)

long lSomeLong = 0L;
unsigned int uSomeOffset = 0x0; // hex
unsigned int uSomeInt = 0U;
unsigned long ulSomeULong = 0UL;
  1. use c-style casts int* pSomePointer = *(int**)pSomeAddress;

πŸ”– preproccesor definitions

  1. _DEBUG 1 - disable string encryption enables console logs (automatic switches with compilation configuration)
  2. NDEBUG 1 - fully disables debug, opposite of _DEBUG (automatic switches with compilation configuration)
  3. DEBUG_CONSOLE 1 - enables external console logging but deactivates file logging

🎈 additional dependencies

  1. dear imgui
  2. json
  3. freetype font rasterizer
  4. {fmt} formatting
  5. minhook

qo0-base's People

Contributors

rollraw avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.