Project

General

Profile

« Previous | Next » 

Revision 06fba5a0

Added by danij over 13 years ago

Printing a ruler was achieved by calling Con_FPrintf with the CBLF_RULER
flag, however and it was unobvious what the other arguments should be,
or how they would be interpreted. This routine is also variadic and
typical usage when printing a ruler meant passing Con_FPrintf a zero-length
format string and no substitution arguments, resulting in a build
warning each time it used.

  • Replaced flag CBLF_RULER with the new public function Con_PrintRuler
  • CBLF_* consoleBufferLineFlags are now used solely with cbline_t objects
  • All console print routines now use a new set of CPF_* consolePrintFlags
    which are interpreted to CBLF_* flags when writing to the console buffer.
    Note that the logical use and value of the CPF_* flags are identical to
    the former values of the CBLF_* flags, so the net protocol is unaffected
    (the flags are transmitted when printing to a remote console).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences