Changes between Version 12 and Version 13 of code/FAQ
- Timestamp:
- Aug 22, 2011, 2:01:48 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/FAQ
v12 v13 17 17 You have to [wiki:SVN checkout] the repository via https. Http is anonymous and therefore can't be used to commit something. 18 18 19 === What's that COUT(x) crap? ===20 COUT(level) is a macro that works almost exactly like std::cout. The numberinside the parentheses denotes the level of the output. Read [wiki:howto/Output this] for more information.19 === What's that orxout() crap? === 20 orxout(level) is a function that works almost exactly like std::cout. The value inside the parentheses denotes the level of the output. Read [wiki:howto/Output this] for more information. 21 21 22 22 === I don't get no output in my console/logfile/shell === 23 First you have to use [wiki:howto/Output COUT] to send output to those devices. Then you have to ensure the maximal output level of the concerned device is >= the level of your output. You can configure those maximal levels in the [wiki:howto/ConfigFile config file].23 First you have to use [wiki:howto/Output orxout()] to send output to those devices. Then you have to ensure the maximal output level of the concerned device is >= the level of your output. You can configure those maximal levels in the [wiki:howto/ConfigFile config file]. 24 24 25 There's a possible third problem: If your output comes too early (before the game has started) and the level of your output is > 2, it wont be displayed by default. If it's just for debuging purpose, change the value temporarily in util/OutputHandler.cc (constructor). If your output is really important for the game, use a lower level.25 There's a possible third problem: If your output comes too early (before the game has started) and the level of your output is > user_info, it wont be displayed by default. However you can still find the output in the log-file. If your output is really important for the game, use a lower level. 26 26 27 27 === I have to call a function requesting a '!MultiType' but all I've got is an int/float/string/whatever ===