xoreos  0.0.5
Functions
debug.cpp File Reference

Utility functions for debug output. More...

#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include "src/common/debug.h"
#include "src/common/debugman.h"
Include dependency graph for debug.cpp:

Go to the source code of this file.

Functions

void debugC (Common::DebugChannel channel, uint32 level, const char *s,...)
 
void debugCN (Common::DebugChannel channel, uint32 level, const char *s,...)
 

Detailed Description

Utility functions for debug output.

Definition in file debug.cpp.

Function Documentation

◆ debugC()

void debugC ( Common::DebugChannel  channel,
uint32  level,
const char *  s,
  ... 
)

Definition at line 34 of file debug.cpp.

References DebugMan, and STRINGBUFLEN.

Referenced by Aurora::ActionScript::ASBuffer::actionAdd2(), Aurora::ActionScript::ASBuffer::actionAnd(), Aurora::ActionScript::ASBuffer::actionCallFunction(), Aurora::ActionScript::ASBuffer::actionCallMethod(), Aurora::ActionScript::ASBuffer::actionConstantPool(), Aurora::ActionScript::ASBuffer::actionDefineFunction(), Aurora::ActionScript::ASBuffer::actionDefineFunction2(), Aurora::ActionScript::ASBuffer::actionDefineLocal(), Aurora::ActionScript::ASBuffer::actionDivide(), Aurora::ActionScript::ASBuffer::actionEnumerate2(), Aurora::ActionScript::ASBuffer::actionEquals2(), Aurora::ActionScript::ASBuffer::actionExtends(), Aurora::ActionScript::ASBuffer::actionGetMember(), Aurora::ActionScript::ASBuffer::actionGetURL(), Aurora::ActionScript::ASBuffer::actionGetURL2(), Aurora::ActionScript::ASBuffer::actionGetVariable(), Aurora::ActionScript::ASBuffer::actionIf(), Aurora::ActionScript::ASBuffer::actionIncrement(), Aurora::ActionScript::ASBuffer::actionInitArray(), Aurora::ActionScript::ASBuffer::actionJump(), Aurora::ActionScript::ASBuffer::actionLess2(), Aurora::ActionScript::ASBuffer::actionMultiply(), Aurora::ActionScript::ASBuffer::actionNewObject(), Aurora::ActionScript::ASBuffer::actionNot(), Aurora::ActionScript::ASBuffer::actionOr(), Aurora::ActionScript::ASBuffer::actionPop(), Aurora::ActionScript::ASBuffer::actionPush(), Aurora::ActionScript::ASBuffer::actionPushDuplicate(), Aurora::ActionScript::ASBuffer::actionReturn(), Aurora::ActionScript::ASBuffer::actionSetMember(), Aurora::ActionScript::ASBuffer::actionSetVariable(), Aurora::ActionScript::ASBuffer::actionStop(), Aurora::ActionScript::ASBuffer::actionStoreRegister(), Aurora::ActionScript::ASBuffer::actionSubtract(), Aurora::ActionScript::ASBuffer::actionToggleQuality(), Aurora::ActionScript::ASBuffer::actionToNumber2(), Aurora::ActionScript::ASBuffer::actionTrace(), Aurora::NWScript::FunctionManager::call(), Aurora::NWScript::NCSFile::callEngine(), Sound::WMACodec::decodeSuperFrame(), Aurora::ActionScript::ASBuffer::execute(), Aurora::NWScript::NCSFile::execute(), Aurora::NWScript::NCSFile::executeStep(), Engines::NWN2::Functions::findSubString(), Engines::NWN::Functions::findSubString(), Engines::DragonAge::Functions::findSubString(), Engines::DragonAge2::Functions::findSubString(), Engines::KotOR2::Functions::getStringLeft(), Engines::NWN::Functions::getStringLeft(), Engines::NWN2::Functions::getStringLeft(), Engines::KotOR::Functions::getStringLeft(), Engines::Witcher::Functions::getStringLeft(), Engines::Jade::Functions::getStringLeft(), Engines::KotOR2::Functions::getStringRight(), Engines::NWN::Functions::getStringRight(), Engines::NWN2::Functions::getStringRight(), Engines::KotOR::Functions::getStringRight(), Engines::Witcher::Functions::getStringRight(), Engines::Jade::Functions::getStringRight(), Engines::NWN::Functions::getSubString(), Engines::KotOR2::Functions::getSubString(), Engines::NWN2::Functions::getSubString(), Engines::KotOR::Functions::getSubString(), Engines::Witcher::Functions::getSubString(), Engines::Jade::Functions::getSubString(), Engines::KotOR2::Functions::insertString(), Engines::NWN2::Functions::insertString(), Engines::NWN::Functions::insertString(), Engines::KotOR::Functions::insertString(), Engines::Witcher::Functions::insertString(), Engines::Jade::Functions::insertString(), Engines::DragonAge::Functions::insertString(), Engines::DragonAge2::Functions::insertString(), Graphics::Aurora::ModelNode_NWN_Binary::load(), Sound::WwiseSoundBank::load(), Graphics::Aurora::ModelNode_NWN_ASCII::load(), Graphics::Aurora::Model_NWN::loadASCII(), Graphics::Aurora::Model_NWN::loadBinary(), Sound::SoundManager::pauseChannel(), Video::Aurora::VideoPlayer::play(), Sound::SoundManager::playAudioStream(), Engines::playSound(), Engines::playVideo(), Aurora::NWScript::NCSStack::print(), Graphics::Aurora::Model_NWN::readAnimBinary(), Aurora::NWScript::NCSFile::run(), Engines::KotOR2::Functions::sendMessageToPC(), Engines::NWN2::Functions::sendMessageToPC(), Engines::NWN::Functions::sendMessageToPC(), Engines::KotOR::Functions::sendMessageToPC(), Engines::Witcher::Functions::sendMessageToPC(), Engines::Jade::Functions::sendMessageToPC(), Sound::SoundManager::startChannel(), Sound::SoundManager::stopChannel(), Engines::DragonAge2::Functions::stringLeft(), Engines::DragonAge::Functions::stringLeft(), Engines::DragonAge::Functions::stringRight(), Engines::DragonAge2::Functions::stringRight(), Engines::NWN2::Functions::stringToFloat(), Engines::NWN::Functions::stringToFloat(), Engines::KotOR2::Functions::stringToFloat(), Engines::KotOR::Functions::stringToFloat(), Engines::Witcher::Functions::stringToFloat(), Engines::Jade::Functions::stringToFloat(), Engines::DragonAge2::Functions::stringToFloat(), Engines::DragonAge::Functions::stringToFloat(), Engines::NWN2::Functions::stringToInt(), Engines::KotOR2::Functions::stringToInt(), Engines::NWN::Functions::stringToInt(), Engines::KotOR::Functions::stringToInt(), Engines::Witcher::Functions::stringToInt(), Engines::DragonAge2::Functions::stringToInt(), Engines::Jade::Functions::stringToInt(), Engines::DragonAge::Functions::stringToInt(), Engines::DragonAge::Functions::stringToVector(), Engines::DragonAge2::Functions::stringToVector(), Engines::DragonAge2::Functions::subString(), Engines::DragonAge::Functions::subString(), Engines::KotOR::GUIBackground::tryBackground(), Engines::Jade::GUIBackground::tryBackground(), Sound::SoundManager::update(), and Video::VideoDecoder::update().

◆ debugCN()

void debugCN ( Common::DebugChannel  channel,
uint32  level,
const char *  s,
  ... 
)

Definition at line 54 of file debug.cpp.

References DebugMan, and STRINGBUFLEN.

Referenced by Aurora::NWScript::FunctionManager::call().

Here is the caller graph for this function: