178
edits
(→Example: engines/quux/quux.cpp: Add missing include) |
(→Example: engines/quux/quux.h: debug levels -> channels) |
||
Line 117: | Line 117: | ||
class Console; | class Console; | ||
// our engine debug | // our engine debug channels | ||
enum { | enum { | ||
kQuuxDebugExample = 1 << 0, | kQuuxDebugExample = 1 << 0, | ||
kQuuxDebugExample2 = 1 << 1 | kQuuxDebugExample2 = 1 << 1 | ||
// next new | // next new channel must be 1 << 2 (4) | ||
// the current limitation is 32 debug | // the current limitation is 32 debug channels (1 << 31 is the last one) | ||
}; | }; | ||
edits