Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3204 in orxonox.OLD for orxonox/trunk/src/importer


Ignore:
Timestamp:
Dec 17, 2004, 5:39:03 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: added simple debug-function PRINTF()

Location:
orxonox/trunk/src/importer
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/importer/framework.cc

    r3201 r3204  
    1515
    1616#include "framework.h"
    17 #define PRINTF(x) \
    18         if (verbose = x ) \
    19            printf ("%s:%d:", __FILE__, __LINE__); printf
    20 
    2117
    2218void DrawGLScene()
     
    5551int main(int argc, char *argv[])
    5652{
     53  int verbose = 2;
    5754
    5855  PRINTF(1)("This is The big verbose-Test %i, %s\n", 1, "cool");
    5956
    60   int verbose = 2;
    6157  Uint8* keys; // This variable will be used in the keyboard routine
    6258  int done=FALSE; // We aren't done yet, are we?
Note: See TracChangeset for help on using the changeset viewer.