EPrintLevel

From ZDoom Wiki
Jump to navigation Jump to search
Note: This page describes the flags defined in the EPrintLevel enum. It's mainly meant to be included into other pages that describe functions that use print levels, such as Console, using the {{: EPrintLevel}} syntax. (This note will not be included.)

The following are unique and that cannot be combined with each other, but can be combined with the actual flags further below.

  • PRINT_LOW — pickup messages
  • PRINT_MEDIUM — death messages
  • PRINT_HIGH — critical messages
  • PRINT_CHAT — chat messages
  • PRINT_TEAMCHAT — chat messages from a teammate
  • PRINT_LOG — only to logfile
  • PRINT_BOLD — a global message, such as printed with A_PrintBold
  • PRINT_TYPES — Bitmask. Do not pass into functions. Used solely to remove all flags and filter which of the above the message type is for comparison, like this: variable & PRINT_TYPES

The following are flags can be combined with the '|' symbol, along with one of the above, except the bitmask.

  • PRINT_NONOTIFY — do not add to notify buffer; this means the message will not be displayed on screen.
  • PRINT_NOLOG — do not save to logfile
Note: logfile can be created by launching GZDoom with the -logfile mylogfile.txt command line parameter. This will write console log into a txt file of your choice (the file will be overwritten on every launch).