Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 12 and Version 13 of code/FAQ


Ignore:
Timestamp:
Aug 22, 2011, 2:01:48 PM (13 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/FAQ

    v12 v13  
    1717You have to [wiki:SVN checkout] the repository via https. Http is anonymous and therefore can't be used to commit something.
    1818
    19 === What's that COUT(x) crap? ===
    20 COUT(level) is a macro that works almost exactly like std::cout. The number inside the parentheses denotes the level of the output. Read [wiki:howto/Output this] for more information.
     19=== What's that orxout() crap? ===
     20orxout(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.
    2121
    2222=== 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].
     23First 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].
    2424
    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.
     25There'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.
    2626
    2727=== I have to call a function requesting a '!MultiType' but all I've got is an int/float/string/whatever ===