Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5048 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Aug 16, 2005, 9:35:31 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: debug, and shoot-intervall

Location:
orxonox/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/defs/debug.h

    r5041 r5048  
    5555#else /* DEBUG_SPECIAL_MODULE */
    5656// DEFINE MODULES
    57 #define DEBUG_MODULE_ORXONOX            0
    58 #define DEBUG_MODULE_WORLD              0
    59 #define DEBUG_MODULE_PNODE              0
    60 #define DEBUG_MODULE_WORLD_ENTITY       0
    61 #define DEBUG_MODULE_COMMAND_NODE       0
    62 #define DEBUG_MODULE_GRAPHICS           0
     57#define DEBUG_MODULE_ORXONOX            2
     58#define DEBUG_MODULE_WORLD              2
     59#define DEBUG_MODULE_PNODE              2
     60#define DEBUG_MODULE_WORLD_ENTITY       2
     61#define DEBUG_MODULE_COMMAND_NODE       2
     62#define DEBUG_MODULE_GRAPHICS           2
    6363#define DEBUG_MODULE_LOAD               2
    6464
    65 #define DEBUG_MODULE_IMPORTER           0
     65#define DEBUG_MODULE_IMPORTER           2
    6666#define DEBUG_MODULE_TRACK_MANAGER      2
    67 #define DEBUG_MODULE_GARBAGE_COLLECTOR  0
     67#define DEBUG_MODULE_GARBAGE_COLLECTOR  2
    6868#define DEBUG_MODULE_OBJECT_MANAGER     2
    69 #define DEBUG_MODULE_LIGHT              0
    70 #define DEBUG_MODULE_PLAYER             1
    71 #define DEBUG_MODULE_WEAPON             3
    72 #define DEBUG_MODULE_MATH               0
    73 #define DEBUG_MODULE_FONT               1
    74 #define DEBUG_MODULE_ANIM               1
    75 #define DEBUG_MODULE_PARTICLE           1
    76 #define DEBUG_MODULE_PHYSICS            1
    77 #define DEBUG_MODULE_EVENT              3
    78 
    79 #define DEBUG_MODULE_NULL_PARENT        0
    80 #define DEBUG_MODULE_NETWORK            0
    81 
    82 #define DEBUG_MODULE_COLLISON_DETECTION 0
    83 #define DEBUG_MODULE_SPATIAL_SEPARATION 0
     69#define DEBUG_MODULE_LIGHT              2
     70#define DEBUG_MODULE_PLAYER             2
     71#define DEBUG_MODULE_WEAPON             2
     72#define DEBUG_MODULE_MATH               2
     73#define DEBUG_MODULE_FONT               2
     74#define DEBUG_MODULE_ANIM               2
     75#define DEBUG_MODULE_PARTICLE           2
     76#define DEBUG_MODULE_PHYSICS            2
     77#define DEBUG_MODULE_EVENT              2
     78
     79#define DEBUG_MODULE_NULL_PARENT        2
     80#define DEBUG_MODULE_NETWORK            2
     81
     82#define DEBUG_MODULE_COLLISON_DETECTION 2
     83#define DEBUG_MODULE_SPATIAL_SEPARATION 2
    8484
    8585#define HARD_DEBUG_LEVEL DEBUG_SPECIAL_MODULE
  • orxonox/trunk/src/story_entities/world.cc

    r5045 r5048  
    752752    {
    753753      ++this->cycle;
    754       PRINTF(3)("World::mainloop() - number of entities: %i\n", this->entities->getSize());
     754      PRINTF(4)("World::mainloop() - number of entities: %i\n", this->entities->getSize());
    755755      // Network
    756756      this->synchronize ();
     
    828828             nothing.
    829829          */
    830           PRINTF(2)("fps = 1000 - frame rate is adjusted\n");
     830          PRINTF(3)("fps = 1000 - frame rate is adjusted\n");
    831831          SDL_Delay(10-dt);
    832832          this->dt = 10;
  • orxonox/trunk/src/world_entities/weapons/test_gun.cc

    r5041 r5048  
    120120  this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);
    121121
    122   this->setStateDuration(WS_SHOOTING, .4);
     122  this->setStateDuration(WS_SHOOTING, .1);
    123123  this->setStateDuration(WS_RELOADING, 1);
    124124  this->setStateDuration(WS_ACTIVATING, .4);
    125125  this->setStateDuration(WS_DEACTIVATING, .4);
    126126
    127   this->setMaximumEnergy(1000, 10);
    128   this->increaseEnergy(100);
     127  this->setMaximumEnergy(1000, 100);
     128  this->increaseEnergy(1000);
    129129  //this->minCharge = 2;
    130130
Note: See TracChangeset for help on using the changeset viewer.