view codeDoc/debugCodes.txt @ 157:a86f8445ccc8

Reduced the number of draws occuring.
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 22 Apr 2009 10:35:15 +0200
parents 9f035cd139c6
children
line wrap: on
line source

Copyright © 2007-2008 Diggory Hardy
License: GNU General Public License version 2 or later (see COPYING)


General use of debug statement:
Non-critical assertions (i.e. for bug-tracking, usually for conditions which _should_ be guaranteed by the code).
Logging of all trace messages.


Debug codes currently used in mde:

- code -                - purpose -
mdeUnitTest             Compile in unittest code (including extra imports, and a few other bits outside the unittest itself).
drawGlyphCache          Draw the font texture in the upper-left corner of the screen, with a pretty background.
mdeWidgets              Log trace messages for the creation of all widgets.
SDLCalls		Log a message before some SDL calls.
mdeDrawEvents		Log a message each time a draw occurs.

Version identifies:

- code -		- purpose -
mdeBenchmark		Runs main loop as fast as possible forcing continual drawing, and prints framerate every 5 seconds.