DDNet documentation
Loading...
Searching...
No Matches
Deprecated List
Member dbg_msg (const char *sys, const char *fmt,...)
Use log_* functions with appropriate severity instead.
Member IConsole::Print (int Level, const char *pFrom, const char *pStr, ColorRGBA PrintColor=CONSOLE_DEFAULT_COLOR) const =0
Prefer using the log_* functions from base/log.h instead of this function for the following reasons:
  • They support printf-formatting without a separate buffer.
  • They support all five log levels.
  • They do not require a pointer to IConsole to be used.
Member IGraphics::SetColor (float r, float g, float b, float a)=0
Use SetColor(ColorRGBA) instead of this function (avoid primitive obsession code smell).