Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKarsten_

Posted 12 January 2013 - 01:40 PM

Rather than outputing to an intermediate file, why not add the messages to a std::vector?
Then just display the last 10 lines or so or delete the first one until the length is less than 10 messages.

Also, rather than using Windows GUI components to display the messages, perhaps just make the messages draw to the screen as basic bitmap fonts or something. Have a basic boolean to toggle when you press the '`' key to specify if to draw the console or not every game loop.

#1Karsten_

Posted 12 January 2013 - 01:38 PM

Rather than outputing to an intermediate file, why not add the messages to a std::vector?<br />Then just display the last 10 lines or so.<br /><br />Also, rather than using Windows GUI components to display the messages, perhaps just make the messages draw to the screen as basic bitmap fonts or something.

PARTNERS