- Timestamp:
- Mar 17, 2005, 1:06:51 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/defs/debug.h
r3548 r3590 22 22 #define _DEBUG_H 23 23 24 #if HAVE_CONFIG_H 25 #include <config.h> 26 #endif 27 28 #include <stdio.h> 29 30 // DEFINE ERROR MODES 24 31 #define NO 0 25 32 #define ERR 1 … … 29 36 #define vDEBUGING 5 30 37 31 #if HAVE_CONFIG_H 32 #include <config.h> 33 #endif 34 35 #include <stdio.h> 36 38 #ifndef DEBUG_SPECIAL_MODULE 39 extern int verbose; 40 #else 41 // DEFINE MODULES 42 #define DEBUG_MODULE_WORLD 0 43 #define DEBUG_MODULE_PNODE 0 44 #define DEBUG_MODULE_TRACKMANAGER 0 45 #define DEBUG_MODULE_LIGHT 0 46 #define DEBUG_MODULE_WORLD_ENTITY 0 47 #define DEBUG_MODULE_PLAYER 0 48 #define DEBUG_MODULE_PNODE 0 49 #define DEBUG_MODULE_IMPORTER 0 50 #define DEBUG_MODULE_MATH 0 51 52 #define verbose DEBUG_SPECIAL_MODULE 53 54 #endif 37 55 /////////////////////////////////////////////////// 38 56 /// PRINTF: prints with filename and linenumber /// … … 40 58 41 59 #ifdef DEBUG 42 extern int verbose; 60 43 61 #define PRINTF(x) \ 44 62 PRINTF ## x … … 97 115 /////////////////////////////////////////////////// 98 116 #ifdef DEBUG 99 extern int verbose;100 117 #define PRINT(x) \ 101 118 PRINT ## x -
orxonox/trunk/src/lib/coord/p_node.cc
r3567 r3590 17 17 \todo Smooth-Parent: delay, speed 18 18 */ 19 20 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_PNODE 19 21 20 22 -
orxonox/trunk/src/lib/graphics/importer/array.cc
r3548 r3590 13 13 co-programmer: ... 14 14 */ 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER 15 17 16 18 #include "array.h" -
orxonox/trunk/src/lib/graphics/importer/array.h
r3475 r3590 8 8 #ifndef _ARRAY_H 9 9 #define _ARRAY_H 10 11 extern int verbose; //!< will be obsolete soon12 10 13 11 #include "stdincl.h" -
orxonox/trunk/src/lib/graphics/importer/material.cc
r3549 r3590 14 14 15 15 */ 16 17 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER 16 18 17 19 #include "material.h" -
orxonox/trunk/src/lib/graphics/importer/material.h
r3454 r3590 9 9 #define _MATERIAL_H 10 10 11 12 13 extern int verbose; //!< will be obsolete soon.14 11 15 12 #if HAVE_CONFIG_H -
orxonox/trunk/src/lib/graphics/importer/model.cc
r3548 r3590 13 13 co-programmer: ... 14 14 */ 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER 15 17 16 18 #include "model.h" -
orxonox/trunk/src/lib/graphics/importer/objModel.cc
r3548 r3590 13 13 co-programmer: ... 14 14 */ 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER 15 17 16 18 #include "objModel.h" -
orxonox/trunk/src/lib/graphics/importer/texture.cc
r3548 r3590 17 17 */ 18 18 19 20 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER 19 21 20 22 #include "texture.h" -
orxonox/trunk/src/lib/graphics/importer/windowHandler.h
r3479 r3590 7 7 #ifndef _WINDOWHANDLER_H 8 8 #define _WINDOWHANDLER_H 9 10 extern int verbose;11 9 12 10 #include "stdincl.h" -
orxonox/trunk/src/lib/gui/gui/orxonox_gui_gtk.h
r3493 r3590 9 9 #include <config.h> 10 10 #endif 11 12 //! verbose level, soon obsolete13 extern int verbose; // soon obsolete here14 11 15 12 #include "debug.h" -
orxonox/trunk/src/lib/math/vector.cc
r3541 r3590 19 19 */ 20 20 21 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_MATH 21 22 22 23 #include "vector.h" -
orxonox/trunk/src/light.cc
r3544 r3590 16 16 */ 17 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_LIGHT 18 19 19 20 #include "light.h" -
orxonox/trunk/src/story_entities/world.cc
r3588 r3590 14 14 co-programmer: Christian Meyer 15 15 */ 16 17 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD 16 18 17 19 #include "world.h" -
orxonox/trunk/src/track_manager.cc
r3588 r3590 14 14 */ 15 15 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_TRACKMANAGER 16 17 17 18 #include "track_manager.h" -
orxonox/trunk/src/world_entities/player.cc
r3586 r3590 15 15 co-programmer: Christian Meyer 16 16 */ 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_PLAYER 17 19 18 20 #include "player.h" -
orxonox/trunk/src/world_entities/primitive.cc
r3589 r3590 41 41 this->material->setDiffuseMap("../data/pictures/load_screen.jpg"); 42 42 this->material->setIllum(3); 43 this->material->set Ambient(1, 1, 1);43 this->material->setSpecular(1, 1, 1); 44 44 } 45 45 -
orxonox/trunk/src/world_entities/skysphere.cc
r3586 r3590 24 24 */ 25 25 26 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 27 26 28 #include "material.h" 27 29 #include "skysphere.h" … … 29 31 #include "vector.h" 30 32 #include "world_entity.h" 31 32 33 33 34 using namespace std;
Note: See TracChangeset
for help on using the changeset viewer.