Project

General

Profile

Feature #2945

a debug function that prints messages to a separate debug window in the game

Added by Who Knows about 2 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scripting
Target version:
Start date:
09/27/2015
% Done:

0%

Severity:
Normal

Description

e.g.

DebOut "section A\n\tstate: " s_state "\tframecounter: " l_frame_counter
would result in
section A:
    state: 23
    framecounter: 543

Similar to cout you state strings and string variables which are all concatenaded and written to the debug window. Having \t and \n as format characters would be very useful too.
To see the debug messages the user has to give a paramter to openmw[-launcher] or activate a checkbox in the launcher which is not remembered for the next start.
It should be possible to turn the "debug message window" on and off from the console.

this ^ is the short version of https://forum.openmw.org/viewtopic.php?f=2&t=3109

History

#1 Updated by scrawl . 8 months ago

  • Target version set to openmw-future

#2 Updated by Alexei Dobrohotov 2 months ago

  • Category set to Scripting

Also available in: Atom PDF