Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5041 in orxonox.OLD for orxonox/trunk/src/util/fast_factory.cc


Ignore:
Timestamp:
Aug 16, 2005, 7:56:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: less output of Weapon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/fast_factory.cc

    r4980 r5041  
    1616
    1717#include "fast_factory.h"
     18
    1819#include "compiler.h"
    1920#include "debug.h"
    20 #include "string.h"
     21#include <string.h>
    2122
    2223using namespace std;
     
    144145  while (tmpFac != NULL)
    145146  {
    146     printf("DELETEING ALL OF %s\n",tmpFac->getName());
     147    PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->getName());
    147148    tmpFac->flush(hardFLUSH);
    148149    tmpFac = tmpFac->next;
     
    163164    if (hardFLUSH)
    164165    {
    165       PRINTF(1)("COOL\n");
    166166      delete delMember->objectPointer;
    167167    }
     
    205205  if (unlikely(this->deadList == NULL))
    206206  {
    207     PRINTF(2)("The deadList of Class %s is empty, this may be either because it has not been filled yet, or the cache is to small.\n" \
    208         "Fabricating a new %s\n", this->getName(), this->getName());
     207    PRINTF(3)("The deadList of Class %s is empty, this may be either because it has not been filled yet, or the cache is to small.\n" \
     208        "  Developer: try increasing the count with FastFactory::prepare(contHigher than actual)\n" \
     209        "    Fabricating a new %s\n", this->getName(), this->getName());
    209210    this->fabricate();
    210211    return this->resurrect();
Note: See TracChangeset for help on using the changeset viewer.