#include <config.h>
#include <ostream>
Go to the source code of this file.
Defines | |
#define | log_debug log_debug_f(__FILE__, __LINE__) |
#define | log_info log_info_f(__FILE__, __LINE__) |
#define | log_warning log_warning_f(__FILE__, __LINE__) |
#define | log_fatal log_fatal_f(__FILE__, __LINE__) |
Functions | |
std::ostream & | log_debug_f (const char *file, int line) |
std::ostream & | log_info_f (const char *file, int line) |
std::ostream & | log_warning_f (const char *file, int line) |
std::ostream & | log_fatal_f (const char *file, int line) |
std::ostream & | operator<< (std::ostream &str, const Vector &vector) |
std::ostream & | operator<< (std::ostream &str, const Rectf &rect) |
#define log_debug log_debug_f(__FILE__, __LINE__) |
Definition at line 24 of file log.hpp.
Referenced by WeakBlock::collision(), IceCrusher::collision_solid(), SDLRenderer::do_take_screenshot(), GLRenderer::do_take_screenshot(), worldmap::Tux::draw(), Statistics::draw_worldmap_info(), Addon::get_md5(), Player::handle_input(), AddonManager::install(), SoundManager::intern_create_sound_source(), AddonManager::load(), AddonManager::load_addons(), worldmap::WorldMap::load_state(), Font::loadFontFile(), UTF8Iterator::operator++(), Tile::print_debug(), JoystickKeyboardController::process_button_event(), Camera::reload_config(), AddonManager::remove(), Main::run(), Sprite::set_action(), Sprite::set_action_continued(), Player::set_ghost_mode(), IceCrusher::set_state(), WeakBlock::spreadHit(), TileSet::TileSet(), TinyGetText::Dictionary::translate(), worldmap::Tux::tryContinueWalking(), AddonManager::unload(), IceCrusher::update(), UTF8Iterator::UTF8Iterator(), and WavSoundFile::WavSoundFile().
#define log_fatal log_fatal_f(__FILE__, __LINE__) |
Definition at line 33 of file log.hpp.
Referenced by Console::execute_script(), Owl::initialize(), World::load_state(), GameSession::restart_level(), Main::run(), scripting::Camera::set_mode(), TitleScreen::start_game(), and worldmap::WorldMap::update().
#define log_info log_info_f(__FILE__, __LINE__) |
Definition at line 27 of file log.hpp.
Referenced by GLRenderer::apply_config(), scripting::camera(), ContribMenu::ContribMenu(), GameSession::get_demo_random_seed(), GLRenderer::GLRenderer(), Main::init_config(), Main::init_physfs(), scripting::init_squirrel(), Main::init_video(), Level::load(), VideoSystem::new_renderer(), scripting::play_demo(), SoundManager::print_openal_version(), JoystickKeyboardController::read(), scripting::record_demo(), Camera::reload_config(), scripting::restart(), GameSession::restart_level(), SDLRenderer::SDLRenderer(), TileMap::TileMap(), TileSet::TileSet(), timelog(), StreamSoundSource::update(), JoystickKeyboardController::updateAvailableJoysticks(), scripting::validate_sector_player(), and scripting::whereami().
#define log_warning log_warning_f(__FILE__, __LINE__) |
Definition at line 30 of file log.hpp.
Referenced by Sector::activate(), AmbientSound::AmbientSound(), Background::Background(), Sector::before_object_add(), BonusBlock::BonusBlock(), Bullet::Bullet(), AddonMenu::check_menu(), AddonManager::check_online(), TinyGetText::convert(), Tile::correct_attributes(), TextureManager::create_dummy_texture(), TextureManager::create_image_texture(), SoundManager::create_sound_source(), DartTrap::DartTrap(), SDLRenderer::do_take_screenshot(), GLRenderer::do_take_screenshot(), lisp::Writer::end_list(), TinyGetText::POFileReader::expectContent(), TinyGetText::POFileReader::expectToken(), worldmap::WorldMap::finished_level(), funcSeek(), TileSet::get(), get_anchor_pos(), get_color_by_format_char(), TinyGetText::DictionaryManager::get_dictionary(), get_font_by_format_char(), TinyGetText::DictionaryManager::get_languages(), TitleScreen::get_level_name(), worldmap::WorldMap::get_level_title(), get_linetype_by_format_char(), Addon::get_md5(), get_pixel_mapping(), Player::handle_input_climbing(), InfoBlock::InfoBlock(), InfoBox::InfoBox(), Main::init_physfs(), scripting::init_squirrel(), Main::init_video(), Owl::initialize(), Ispy::Ispy(), Totem::jump_off(), Totem::jump_on(), Dispenser::launch_badguy(), worldmap::LevelTile::LevelTile(), worldmap::WorldMap::load(), World::load(), Level::load(), AddonManager::load(), AddonManager::load_addons(), Font::loadFontFile(), TileSet::merge(), worldmap::WorldMap::move_to_spawnpoint(), VideoSystem::new_renderer(), TinyGetText::POFileReader::nextToken(), FileSystem::normalize(), TileSetParser::parse(), Sector::parse(), Main::parse_commandline(), TinyGetText::POFileReader::parse_header(), Sector::parse_object(), Sector::parse_old_format(), TileSetParser::parse_tile(), TileSetParser::parse_tile_images(), TileSetParser::parse_tiles(), TileManager::parse_tileset_definition(), SoundManager::play(), SoundManager::play_music(), SoundManager::preload(), PlayerStatus::read(), Path::read(), Console::ready_vm(), Sector::run_script(), TextObject::set_font(), Gradient::set_gradient(), Sector::set_gravity(), SoundManager::SoundManager(), worldmap::SpawnPoint::SpawnPoint(), SpawnPoint::SpawnPoint(), SpriteData::SpriteData(), AmbientSound::start_playing(), GameSession::start_sequence(), BadGuy::str2dir(), worldmap::string_to_direction(), Thunderstorm::Thunderstorm(), TileMap::TileMap(), TinyGetText::POFileReader::tokenize_po(), TinyGetText::Dictionary::translate(), worldmap::WorldMap::try_unexpose(), Sector::try_unexpose(), Sector::try_unexpose_me(), worldmap::Tux::tryContinueWalking(), AddonManager::unload(), worldmap::WorldMap::update(), GameSession::update(), scripting::TimeScheduler::update(), scripting::ThreadQueue::wakeup(), PlayerStatus::write(), TextureManager::~TextureManager(), and lisp::Writer::~Writer().
std::ostream& log_debug_f | ( | const char * | file, | |
int | line | |||
) |
Definition at line 39 of file log.cpp.
References log_generic_f().
00040 { 00041 return (log_generic_f ("[DEBUG]", file, line)); 00042 }
std::ostream& log_fatal_f | ( | const char * | file, | |
int | line | |||
) |
Definition at line 54 of file log.cpp.
References log_generic_f().
00055 { 00056 return (log_generic_f ("[FATAL]", file, line)); 00057 }
std::ostream& log_info_f | ( | const char * | file, | |
int | line | |||
) |
Definition at line 44 of file log.cpp.
References log_generic_f().
00045 { 00046 return (log_generic_f ("[INFO]", file, line)); 00047 }
std::ostream& log_warning_f | ( | const char * | file, | |
int | line | |||
) |
Definition at line 49 of file log.cpp.
References log_generic_f().
00050 { 00051 return (log_generic_f ("[WARNING]", file, line)); 00052 }
std::ostream& operator<< | ( | std::ostream & | str, | |
const Rectf & | rect | |||
) |
Definition at line 65 of file log.cpp.
References Rectf::get_bottom(), Rectf::get_left(), Rectf::get_right(), and Rectf::get_top().
00066 { 00067 out << "[" << rect.get_left() << "," << rect.get_top() << " " 00068 << rect.get_right() << "," << rect.get_bottom() << "]"; 00069 return out; 00070 }
std::ostream& operator<< | ( | std::ostream & | str, | |
const Vector & | vector | |||
) |