annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
85
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
1 Copyright © 2007-2008 Diggory Hardy
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
2 License: GNU General Public License version 2 or later (see COPYING)
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
3
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
4
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
5 General use of debug statement:
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
6 Non-critical assertions (i.e. for bug-tracking, usually for conditions which _should_ be guaranteed by the code).
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
7 Logging of all trace messages.
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
8
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
9
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
10 Debug codes currently used in mde:
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
11
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
12 - code - - purpose -
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
13 mdeUnitTest Compile in unittest code (including extra imports, and a few other bits outside the unittest itself).
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
14 drawGlyphCache Draw the font texture in the upper-left corner of the screen, with a pretty background.
56c0ddd90193 Intermediate commit (not stable). Changes to init system.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
15 mdeWidgets Log trace messages for the creation of all widgets.
116
5ee69b3ed9c9 Partial implementation of infinite widget recursion protection; some cleanup.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 85
diff changeset
16 SDLCalls Log a message before some SDL calls.
157
a86f8445ccc8 Reduced the number of draws occuring.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 137
diff changeset
17 mdeDrawEvents Log a message each time a draw occurs.
137
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
18
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
19 Version identifies:
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
20
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
21 - code - - purpose -
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
22 mdeBenchmark Runs main loop as fast as possible forcing continual drawing, and prints framerate every 5 seconds.