ManaPlus
Macros
cast.h File Reference

(dc3c359)

Go to the source code of this file.

Macros

#define CAST_8   static_cast<char>
 
#define CAST_S8   static_cast<int8_t>
 
#define CAST_U8   static_cast<uint8_t>
 
#define CAST_S16   static_cast<int16_t>
 
#define CAST_U16   static_cast<uint16_t>
 
#define CAST_S32   static_cast<int32_t>
 
#define CAST_U32   static_cast<uint32_t>
 
#define CAST_S64   static_cast<int64_t>
 
#define CAST_U64   static_cast<uint64_t>
 
#define CAST_SIZE   static_cast<size_t>
 

Macro Definition Documentation

◆ CAST_8

#define CAST_8   static_cast<char>

◆ CAST_S16

#define CAST_S16   static_cast<int16_t>

Definition at line 27 of file cast.h.

Referenced by EditServerDialog::action(), EAthena::Mail2Handler::addItem(), TmwAthena::TradeHandler::addItem(), EAthena::TradeHandler::addItem(), EAthena::AdminHandler::announce(), TmwAthena::AdminHandler::announce(), EAthena::ChatHandler::battleTalk(), EAthena::VendingHandler::buy(), EAthena::VendingHandler::buy2(), EAthena::CashShopHandler::buyItem(), EAthena::MarketHandler::buyItem(), EAthena::NpcHandler::buyItem(), TmwAthena::NpcHandler::buyItem(), EAthena::CashShopHandler::buyItems(), EAthena::MarketHandler::buyItems(), EAthena::VendingHandler::buyItems(), EAthena::NpcHandler::buyItems(), SDLGraphics::calcPatternInline(), SDLGraphics::calcTileSDL(), EAthena::PlayerHandler::changeCart(), EAthena::GuildHandler::changeEmblem(), EAthena::CharServerHandler::changeSlot(), TmwAthena::PartyHandler::chat(), EAthena::PartyHandler::chat(), EAthena::NpcHandler::cooking(), SurfaceGraphics::copyImage(), SDLImageHelper::copySurfaceToImage(), EAthena::BuyingStoreHandler::create(), EAthena::ChatHandler::createChatRoom(), EAthena::VendingHandler::createShop(), Actions::doSit(), SurfaceGraphics::drawImage(), SDLGraphics::drawImageCached(), SurfaceGraphics::drawImageCached(), SDLGraphics::drawImageInline(), MobileOpenGLGraphics::drawNet(), SDLGraphics::drawPatternCached(), SDLGraphics::drawPatternInline(), SDLGraphics::drawRescaledImage(), SDLGraphics::drawRescaledPattern(), EAthena::InventoryHandler::dropItem(), TmwAthena::InventoryHandler::dropItem(), TmwAthena::InventoryHandler::equipItem(), EAthena::InventoryHandler::equipItem(), EAthena::InventoryHandler::favoriteItem(), SDLGraphics::fillRectangle(), Being::getNumberOfGuilds(), EAthena::NpcHandler::identify(), EAthena::InventoryHandler::identifyItem(), EAthena::PlayerHandler::increaseAttribute(), TmwAthena::PlayerHandler::increaseAttribute(), EAthena::InventoryHandler::insertCard(), TmwAthena::AdminHandler::localAnnounce(), EAthena::AdminHandler::localAnnounce(), EAthena::InventoryHandler::mergeItemsAck(), EAthena::PetHandler::move(), EAthena::InventoryHandler::moveItem2(), TmwAthena::InventoryHandler::moveItem2(), EAthena::InventoryHandler::moveItemInventoryToStorage(), EAthena::AdminHandler::mute(), EAthena::CharServerHandler::newCharacter(), SDLGraphics::popClipArea(), EAthena::ChatHandler::privateMessage(), TmwAthena::ChatHandler::privateMessage(), TmwAthena::BeingRecv::processBeingChangeLook(), EAthena::GuildRecv::processGuildBasicInfo(), EAthena::GuildRecv::processGuildPositionInfo(), TmwAthena::BeingRecv::processPlayerMove(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::ChatHandler::processRaw(), TmwAthena::ChatHandler::processRaw(), EAthena::NpcHandler::produceMix(), SDLGraphics::pushClipArea(), EAthena::BattleGroundHandler::registerBg(), EAthena::Mail2Handler::removeItem(), EAthena::NpcHandler::repair(), EAthena::BeingHandler::requestRanks(), EAthena::CashShopHandler::requestTab(), EAthena::MailHandler::resetAttach(), SDLGraphics::SDL_FakeUpperBlit(), SDLgfxBlitRGBA(), EAthena::SearchStoreHandler::search(), EAthena::AuctionHandler::search(), EAthena::SearchStoreHandler::select(), EAthena::NpcHandler::selectArrow(), EAthena::NpcHandler::selectAutoSpell(), EAthena::InventoryHandler::selectEgg(), EAthena::BuyingStoreHandler::sell(), TmwAthena::NpcHandler::sellItem(), EAthena::NpcHandler::sellItem(), EAthena::NpcHandler::sellItems(), EAthena::MailHandler::send(), EAthena::Mail2Handler::sendMail(), EAthena::ChatHandler::sendRaw(), TmwAthena::ChatHandler::sendRaw(), EAthena::MailHandler::setAttach(), EAthena::MailHandler::setAttachMoney(), EAthena::ChatHandler::setChatRoomOptions(), EAthena::AuctionHandler::setItem(), TmwAthena::PartyHandler::setShareExperience(), EAthena::PartyHandler::setShareExperience(), EAthena::PartyHandler::setShareItems(), TmwAthena::PartyHandler::setShareItems(), EAthena::PlayerHandler::setShortcut(), EAthena::AdminHandler::setTileType(), TmwAthena::NpcHandler::stringInput(), EAthena::NpcHandler::stringInput(), SubImage::SubImage(), EAthena::ChatHandler::talk(), TmwAthena::ChatHandler::talk(), EAthena::MercenaryHandler::talk(), EAthena::HomunculusHandler::talk(), EAthena::ChatHandler::talkPet(), EAthena::ChatHandler::talkRaw(), TmwAthena::ChatHandler::talkRaw(), EAthena::InventoryHandler::unequipItem(), TmwAthena::InventoryHandler::unequipItem(), TmwAthena::SkillHandler::useBeing(), EAthena::SkillHandler::useBeing(), EAthena::InventoryHandler::useCard(), EAthena::InventoryHandler::useItem(), TmwAthena::InventoryHandler::useItem(), EAthena::SkillHandler::useMap(), TmwAthena::SkillHandler::useMap(), EAthena::SkillHandler::usePos(), TmwAthena::SkillHandler::usePos(), EAthena::AdminHandler::warp(), Net::MessageOut::writeString(), and Net::MessageOut::writeStringNoLog().

◆ CAST_S32

#define CAST_S32   static_cast<int32_t>

Definition at line 29 of file cast.h.

Referenced by _SDL_gfxBlitRGBACall(), IPC::acceptLoop(), MailViewWindow::action(), MailWindow::action(), Setup_Video::action(), OutfitWindow::action(), ItemAmountWindow::action(), TextSelectDialog::action(), CharCreateDialog::action(), CharSelectDialog::action(), SkillDialog::action(), SellDialog::action(), NpcDialog::action(), BuyDialog::action(), anonymous_namespace{client.cpp}::LoginListener::action(), InputManager::addActionKey(), EquipmentWindow::addBox(), WindowMenu::addButton(), InputManager::addChatCommands(), UserPalette::addColor(), ChatWindow::addInputText(), EquipmentWindow::addPage(), StaticBrowserBox::addRow(), BrowserBox::addRow(), SpellManager::addSpell(), ComplexInventory::addVirtualItem(), Inventory::addVirtualItem(), ColorPage::adjustSize(), ParticleEmitter::adjustSize(), ListBox::adjustSize(), TextBox::adjustSize(), Palette::advanceGradient(), AmbientLayer::AmbientLayer(), EAthena::AdminHandler::announce(), TmwAthena::AdminHandler::announce(), Setup_Theme::apply(), Setup_Video::apply(), StatsPageBasic::attributeChanged(), DialogsManager::attributeChanged(), StatusWindow::attributeChanged(), ChatWindow::attributeChanged(), LocalPlayer::attributeChanged(), ChatWindow::autoComplete(), ConfigManager::backupConfig(), EAthena::ChatHandler::battleTalk(), BeingEquipBackend::BeingEquipBackend(), Being::botLogic(), TestLauncher::calcFps(), BrowserBox::calcHeight(), ObjectsLayer::calcMemoryLocal(), Resource::calcMemoryLocal(), Image::calcMemoryLocal(), Setup_Colors::cancel(), Setup_Video::cancel(), EAthena::GuildHandler::changeEmblem(), Actions::changeRelation(), CharacterViewNormal::CharacterViewNormal(), CharacterViewSmall::CharacterViewSmall(), CharSelectDialog::CharSelectDialog(), EAthena::PartyHandler::chat(), TmwAthena::PartyHandler::chat(), EAthena::GuildHandler::chat(), ChatTab::chatLog(), ConfigManager::checkConfigVersion(), Widget2::checkPalette(), PlayerRelationsManager::checkPermissionSilently(), OpenGLGraphicsVertexes::clear(), ActorManager::cloneBeing(), ColorPage::ColorPage(), TmwAthena::InventoryHandler::convertFromServerSlot(), EAthena::InventoryHandler::convertFromServerSlot(), OutfitWindow::copyFromEquiped(), OutfitWindow::copyOutfit(), ActorManager::createBeing(), EAthena::BeingRecv::createBeing2(), GraphicsManager::createRenderers(), TabStrip::createWidget(), decodeBase64String(), GraphicsManager::detectGraphics(), GraphicsManager::detectVideoSettings(), XML::Document::Document(), Actions::doSit(), ServerDialog::downloadUpdate(), ColorPage::draw(), TextParticle::draw(), ExtendedListBox::draw(), ServersListBox::draw(), ImageParticle::draw(), AmbientLayer::draw(), FloorItem::draw(), ProgressBar::draw(), SkillListBox::draw(), TextPreview::draw(), StaticBrowserBox::draw(), ListBox::draw(), TextBox::draw(), BrowserBox::draw(), GuiTable::draw(), SkillRectangleListBox::draw(), Minimap::draw2(), BasicContainer::drawChildren(), DropDown::drawFrame(), Viewport::drawPath(), DropDown::dropDown(), ImageHelper::dumpSurfaceFormat(), encodeBase64String(), MiniStatusWindow::eraseIcon(), InputManager::executeChatCommand(), TmwAthena::MessageOut::expand(), EAthena::MessageOut::expand(), extractNameFromSprite(), fastSqrtInt(), MobileOpenGL2Graphics::finalize(), ModernOpenGLGraphics::finalize(), findSameSubstring(), Ea::Network::flush(), FocusHandler::focusNext(), FocusHandler::focusPrevious(), UnitsDb::formatCurrency64(), formatUnit(), Net::MessageIn::fromServerDirection(), SetupActionDropDown::fromWidget(), ImageSet::get(), InputManager::getActionByConfigField(), InputManager::getActionByKey(), Map::getActorsCount(), SDL::getAllVideoModes(), Actions::getAmountFromEvent(), ActorManager::getAttackMobsSize(), PlayerInfo::getAttribute(), Configuration::getBoolValue(), TextBox::getCaretPosition(), DyePalette::getColor(), Theme::getColor(), UserPalette::getColor(), ItemInfo::getColor(), ColorModel::getColorAt(), ItemInfo::getColorName(), ItemInfo::getColorsSize(), CharCreateDialog::getDistributedPoints(), Inventory::getFreeSlot(), ItemInfo::getIconColor(), ItemInfo::getIconColorName(), ItemInfo::getIconColorsSize(), ExtendedNamesModel::getImageAt(), EmotePage::getIndexFromGrid(), OutfitWindow::getIndexFromGrid(), ShortcutContainer::getIndexFromGrid(), Configuration::getIntValue(), Inventory::getItem(), ShortcutBase::getItemCount(), InputManager::getKey(), KeyboardConfig::getKeyName(), KeyboardConfig::getKeyValueFromEvent(), SimpleAnimation::getLength(), Viewport::getMouseTile(), ExtendedNamesModel::getNumberOfElements(), NamesModel::getNumberOfElements(), ColorModel::getNumberOfElements(), SkillModel::getNumberOfElements(), ModeListModel::getNumberOfElements(), IgnoreChoicesListModel::getNumberOfElements(), WorldListModel::getNumberOfElements(), UpdateListModel::getNumberOfElements(), BeingsListModel::getNumberOfElements(), ServersListModel::getNumberOfElements(), ItemsModal::getNumberOfElements(), IconsModel::getNumberOfElements(), ShopItems::getNumberOfElements(), UserPalette::getNumberOfElements(), NpcDialog::getNumberOfElements(), Party::getNumberOfElements(), Guild::getNumberOfElements(), CompoundSprite::getNumberOfLayers(), TextBox::getNumberOfRows(), TabbedArea::getNumberOfTabs(), OutfitWindow::getOutfitString(), LocalPlayer::getPathLength(), ActorManager::getPickupItemsSize(), LocalPlayer::getPingTime(), Actor::getPixelX(), TextParticle::getPixelY(), Particle::getPixelY(), Actor::getPixelY(), PlayerTableModel::getPlayerAt(), PlayerRelationsManager::getPlayerIgnoreStrategyIndex(), SocialPlayersTab::getPlayersAvatars(), ActorManager::getPriorityAttackMobsSize(), Theme::getProgressColor(), Window::getResizeHandles(), PlayerTableModel::getRows(), ExtendedListBox::getSelectionByMouse(), ListBox::getSelectionByMouse(), LayoutArray::getSize(), LayoutArray::getSizes(), SkillModel::getSkillAt(), TmwAthena::InventoryRecv::getSlot(), EAthena::InventoryRecv::getSlot(), TextParticle::getSortPixelY(), Particle::getSortPixelY(), Actor::getSortPixelY(), Being::getSortPixelY(), ItemInfo::getSprite(), Font::getStringIndexAt(), MemoryManager::getSurfaceSize(), TabbedArea::getTabByIndex(), TextBox::getText(), Wallpaper::getWallpaper(), TabbedArea::getWidgetByIndex(), TextField::handleCtrlKeys(), PopupMenu::handleLink(), KeyboardConfig::handleRepeat(), LocalPlayer::handleStatusEffect(), InputManager::hasConflicts(), Map::indexTilesets(), ConfigManager::initConfiguration(), GraphicsManager::initGraphics(), PacketLimiter::initPacketLimiter(), SpellManager::invoke(), TestMain::invokeMobileOpenBatchTest(), TestMain::invokeModernOpenBatchTest(), TestMain::invokeModernOpenGLRenderTest(), TestMain::invokeNormalOpenBatchTest(), TestMain::invokeNormalOpenGLRenderTest(), TestMain::invokeSafeOpenBatchTest(), TestMain::invokeSafeOpenGLRenderTest(), TestMain::invokeSoftwareRenderTest(), TestMain::invokeTest(), TouchManager::isActionActive(), LocalPlayer::isReachable(), Window::isResizeAllowed(), TextBox::keyPressed(), TextField::keyPressed(), TabbedArea::keyPressed(), PacketLimiter::limitPackets(), ColorDB::load(), ItemShortcut::load(), ShortcutBase::load(), PlayerRelationsManager::load(), OutfitWindow::load(), Theme::loadColors(), VirtFs::FsDir::loadFile(), EquipmentWindow::loadSlot(), NPCDB::loadXmlFile(), EAthena::AdminHandler::localAnnounce(), TmwAthena::AdminHandler::localAnnounce(), EventsManager::logEvent(), LocalPlayer::logic(), UpdaterWindow::logic(), NpcDialog::logic(), Being::logic(), LoginDialog::LoginDialog(), WhoIsOnline::memoryWrite(), UpdaterWindow::memoryWrite(), Dirs::mountDataDir(), StaticBrowserBox::mouseMoved(), BrowserBox::mouseMoved(), ItemContainer::mousePressed(), ScrollArea::mousePressed(), TextBox::mousePressed(), Window::mousePressed(), SpellShortcutContainer::mouseReleased(), Inventory::moveItem(), StaticBrowserBox::moveSelectionUp(), BrowserBox::moveSelectionUp(), LocalPlayer::moveToHome(), LocalPlayer::moveToTarget(), OutfitWindow::next(), operator &(), operator+(), operator-(), operator|(), parseOptions(), php3_base64_decode(), QuitDialog::placeOption(), PlayerTableModel::playerRelationsUpdated(), LoginDialog::prepareUpdate(), EAthena::ChatHandler::privateMessage(), TmwAthena::ChatHandler::privateMessage(), EAthena::BankRecv::processBankDeposit(), EAthena::BankRecv::processBankStatus(), EAthena::BankRecv::processBankWithdraw(), Ea::BeingRecv::processBeingAction(), EAthena::BeingRecv::processBeingAction2(), TmwAthena::ChatRecv::processBeingChat(), TmwAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingSpawn(), TmwAthena::BeingRecv::processBeingVisible(), EAthena::BeingRecv::processBeingVisible(), TmwAthena::ItemRecv::processItemDropped(), EAthena::ItemRecv::processItemDropped(), EAthena::ItemRecv::processItemDropped2(), TmwAthena::ItemRecv::processItemVisible(), EAthena::ItemRecv::processItemVisible(), EAthena::ItemRecv::processItemVisible2(), EAthena::Mail2Recv::processMailListPage(), EAthena::PartyRecv::processPartyAutoItemSettingsContinue(), Ea::PartyRecv::processPartyExpSettingsContinue(), Ea::PartyRecv::processPartyItemSettingsContinue(), TmwAthena::InventoryRecv::processPlayerEquipment(), TmwAthena::InventoryRecv::processPlayerInventory(), TmwAthena::BeingRecv::processPlayerMove(), TmwAthena::InventoryRecv::processPlayerStorage(), TmwAthena::InventoryRecv::processPlayerStorageEquip(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::ChatHandler::processRaw(), TmwAthena::ChatHandler::processRaw(), TmwAthena::SkillRecv::processSkillFailed(), EAthena::SkillRecv::processSkillFailed(), VirtFs::ZipReader::readArchiveInfo(), MapReader::readBase64Layer(), readColorType(), anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::readConfigItem(), Net::MessageIn::readCoordinatePair(), Net::MessageIn::readCoordinates(), readProgressType(), QuestsWindow::rebuild(), Being::recalcSpritesOrder(), KillStats::recalcStats(), LayoutArray::reflow(), EAthena::Network::registerFakeHandlers(), MailViewWindow::removeItems(), MailViewWindow::removeMoney(), removeSpriteIndex(), TabbedArea::removeTab(), Setup_Relations::reset(), InputManager::resetKeys(), CharacterViewSmall::resize(), LayoutArray::resizeGrid(), Graphics::resizeScreen(), Theme::resolveThemePath(), NpcDialog::restoreCamera(), Inventory::restoreVirtuals(), InputManager::retrieve(), roundDouble(), VirtFs::FsZip::rwops_read(), VirtFs::FsDir::rwops_read(), VirtFs::FsDir::rwops_seek(), VirtFs::FsZip::rwops_seek(), VirtFs::FsDir::rwops_write(), ProgressBar::safeDraw(), GuiTable::safeDraw(), BasicContainer::safeDrawChildren(), DropDown::safeDrawFrame(), ItemShortcut::save(), ShortcutBase::save(), OutfitWindow::save(), NpcDialog::saveCamera(), Map::saveExtraLayer(), ChatWindow::saveTab(), Being::searchSlotValue(), CharSelectDialog::selectByName(), TabbedArea::selectNextTab(), TabbedArea::selectPrevTab(), EAthena::MailHandler::send(), EAthena::Mail2Handler::sendMail(), LocalPlayer::setAction(), TouchManager::setActionActive(), CharCreateDialog::setAttributes(), EAthena::setBasicFields(), Inventory::setCards(), TextBox::setCaretColumn(), TextField::setCaretPosition(), TextBox::setCaretPosition(), TextBox::setCaretRow(), CharSelectDialog::setCharacter(), EAthena::ChatHandler::setChatRoomOptions(), setConfigDefaults(), LocalPlayer::setHome(), MiniStatusWindow::setIcon(), Item::setId(), ComplexInventory::setItem(), Inventory::setItem(), Graphics::setOpenGLMode(), Inventory::setOptions(), Widget2::setPalette(), Actor::setPixelPositionF(), Being::setPixelPositionF(), GameModifiers::setQuickDropCounter(), ListBox::setSelected(), EAthena::PartyHandler::setShareExperience(), EAthena::PartyHandler::setShareItems(), Being::setSpeech(), ItemInfo::setSprite(), ActorSprite::setStatusEffectBlock(), Being::setSubtype(), Inventory::setTag(), ActorSprite::setTargetType(), TextBox::setText(), setTile(), Slider::setValue(), ServersListModel::setVersionString(), CharacterViewNormal::show(), CharacterViewSmall::show(), OutfitWindow::showCurrentOutfit(), PopupMenu::showPopup(), PopupMenu::showWindowsPopup(), ResourceManager::size(), Net::MessageIn::skip(), Net::MessageIn::skipToEnd(), Actions::splitWhisper(), Client::stateSwitchLogin1(), InputManager::store(), ConfigManager::storeSafeParameters(), EAthena::NpcHandler::stringInput(), TmwAthena::NpcHandler::stringInput(), FocusHandler::tabNext(), FocusHandler::tabPrevious(), EAthena::ChatHandler::talk(), TmwAthena::ChatHandler::talk(), EAthena::MercenaryHandler::talk(), EAthena::HomunculusHandler::talk(), EAthena::ChatHandler::talkPet(), EAthena::ChatHandler::talkRaw(), TmwAthena::ChatHandler::talkRaw(), TextCommandEditor::TextCommandEditor(), TextDialog::TextDialog(), Theme::Theme(), SkillInfo::toDataStr(), InputManager::triggerAction(), SkillInfo::update(), Setup_Colors::updateColor(), PacketCounters::updateCounter(), CharCreateDialog::updateHair(), StaticBrowserBox::updateHeight(), Game::updateHistory(), SetupItemSlider2::updateLabel(), ItemContainer::updateMatrix(), ActorManager::updateNameId(), LocalPlayer::updateNavigateList(), UpdaterWindow::updateProgress(), CharCreateDialog::updateSliders(), TabbedArea::updateVisibleTabsWidth(), Setup_Colors::valueChanged(), Slider::valueToMarkerPosition(), MailWindow::viewNext(), MailWindow::viewPrev(), Inventory::virtualRestore(), OutfitWindow::wearNextOutfit(), OutfitWindow::wearOutfit(), OutfitWindow::wearPreviousOutfit(), FlowContainer::widgetResized(), LocalPlayer::withinAttackRange(), TestMain::writeConfig(), anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::writeConfigItem(), PacketLimiter::writePacketLimits(), Net::MessageOut::writeString(), Net::MessageOut::writeStringNoLog(), Net::MessageIn::~MessageIn(), and UserPalette::~UserPalette().

◆ CAST_S64

#define CAST_S64   static_cast<int64_t>

Definition at line 31 of file cast.h.

◆ CAST_S8

#define CAST_S8   static_cast<int8_t>

◆ CAST_SIZE

#define CAST_SIZE   static_cast<size_t>

Definition at line 33 of file cast.h.

Referenced by TabbedArea::action(), InputManager::addActionKey(), UserPalette::addColor(), UserPalette::addLabel(), BrowserBox::addRow(), Logger::assertLog(), LayoutArray::at(), BrowserBox::calcHeight(), PacketLimiter::checkPackets(), Ea::LoginHandler::chooseServer(), OpenGLGraphicsVertexes::continueFloatTexArray(), OpenGLGraphicsVertexes::continueIntTexArray(), OpenGLGraphicsVertexes::continueIntVertArray(), OpenGLGraphicsVertexes::continueShortVertArray(), ShadersManager::createProgram(), ShadersManager::createShader(), debugCallback(), ParticleVector::delLocally(), Font::doClean(), Net::Download::downloadProgress(), MapLayer::draw(), StaticBrowserBox::draw(), TextBox::draw(), BrowserBox::draw(), Gui::draw(), MapLayer::drawFringe(), SDLGraphics::drawHLine(), SDLGraphics::drawVLine(), DyePalette::DyePalette(), TestMain::exec(), InputManager::executeAction(), InputManager::executeChatCommand(), extractNameFromSprite(), Net::Download::fadler32(), SDLGraphics::fillRectangle(), InputManager::getActionByKey(), Theme::getColor(), UserPalette::getColor(), ColorModel::getColorAt(), Palette::getColorChar(), UserPalette::getColorWithAlpha(), UserPalette::getCommittedColor(), ExtendedNamesModel::getElementAt(), NamesModel::getElementAt(), ColorModel::getElementAt(), ModeListModel::getElementAt(), UserPalette::getGradientDelay(), UserPalette::getGradientType(), ExtendedNamesModel::getImageAt(), ScrollArea::getImageByState(), InputManager::getKey(), InputManager::getKeyIndex(), InputManager::getKeyStringLong(), InputManager::getKeyValueString(), Graphics::getMemoryUsage(), ActorSprite::getParticlesCount(), Theme::getProgressColor(), LayoutArray::getSize(), LayoutArray::getSizes(), BeingInfo::getSound(), SpellManager::getSpell(), Being::getSpriteColor(), Being::getSpriteID(), Being::getSpriteSlot(), UserPalette::getTestColor(), GroupInfo::GroupInfo(), Gui::handleMouseMoved(), TextField::handlePaste(), Map::indexTilesets(), inflateMemory(), InputManager::init(), GraphicsManager::initGraphics(), PacketLimiter::initPacketLimiter(), InputManager::invokeKey(), InputManager::isActionActive(), TouchManager::isActionActive(), PopupMenu::isAllowCommand(), PopupMenu::isAllowOtherCommand(), ChatWindow::keyPressed(), PacketLimiter::limitPackets(), Theme::loadColors(), loadCommands(), VirtFs::FsDir::loadFile(), loadPermissions(), Logger::log(), Logger::log_r(), UpdaterWindow::logic(), LayoutArray::matchColWidth(), WhoIsOnline::memoryWrite(), UpdaterWindow::memoryWrite(), EAthena::MessageOut::MessageOut(), TmwAthena::MessageOut::MessageOut(), mkdir_r(), EmoteShortcutContainer::mouseMoved(), LocalPlayer::moveToTarget(), Dye::normalDye(), Dye::normalOGLDye(), InputActionSortFunctor::operator()(), parseInherit(), ActorManager::parseLevels(), php3_base64_encode(), LayoutArray::place(), EAthena::PlayerRecv::processOnlineList(), Net::MessageIn::readBytes(), readColorType(), Net::MessageIn::readCoordinatePair(), Net::MessageIn::readCoordinates(), TmwAthena::MessageIn::readId(), EAthena::MessageIn::readId(), TmwAthena::MessageIn::readInt16(), EAthena::MessageIn::readInt16(), TmwAthena::MessageIn::readInt32(), EAthena::MessageIn::readInt32(), TmwAthena::MessageIn::readInt64(), EAthena::MessageIn::readInt64(), readProgressType(), Net::MessageIn::readRawString(), Net::MessageIn::readString(), TmwAthena::MessageIn::readUInt16(), EAthena::MessageIn::readUInt16(), Ea::Network::readWord(), Ea::Network::receive(), Map::reduce(), LayoutArray::reflow(), EmoteShortcut::removeEmote(), removeSpriteIndex(), DyePalette::replaceAColorDefault(), DyePalette::replaceAOGLColorDefault(), DyePalette::replaceSColorDefault(), DyePalette::replaceSOGLColorDefault(), InputManager::resetKey(), Inventory::resize(), LayoutArray::resizeGrid(), ServerDialog::saveCustomServers(), SDLputPixel(), SDLputPixelAlpha(), SocialNavigationTab::selectIndex(), StaticBrowserBox::selectSelection(), BrowserBox::selectSelection(), TouchManager::setActionActive(), UserPalette::setColor(), LayoutArray::setColWidth(), UserPalette::setGradient(), UserPalette::setGradientDelay(), ParticleVector::setLocally(), LayoutArray::setRowHeight(), ActorSprite::setTargetType(), UserPalette::setTestColor(), Ea::Network::skip(), OpenGLGraphicsVertexes::switchFloatTexArray(), OpenGLGraphicsVertexes::switchIntTexArray(), OpenGLGraphicsVertexes::switchIntVertArray(), OpenGLGraphicsVertexes::switchShortVertArray(), Theme::Theme(), InputManager::triggerAction(), InputManager::unassignKey(), SimpleAnimation::update(), StaticBrowserBox::updateHeight(), InputManager::updateKeyActionMap(), ItemContainer::updateMatrix(), MapLayer::updateOGL(), MapLayer::updateSDL(), GraphicsManager::updateTextureCompressionFormat(), EmoteShortcut::useEmote(), EmoteShortcut::useEmotePlayer(), UserPalette::UserPalette(), TmwAthena::MessageOut::writeCoordinates(), EAthena::MessageOut::writeCoordinates(), TmwAthena::MessageOut::writeInt16(), EAthena::MessageOut::writeInt16(), TmwAthena::MessageOut::writeInt32(), EAthena::MessageOut::writeInt32(), EAthena::MessageOut::writeInt64(), PngLib::writePNG(), Net::MessageOut::writeString(), and Net::MessageOut::writeStringNoLog().

◆ CAST_U16

#define CAST_U16   static_cast<uint16_t>

Definition at line 28 of file cast.h.

Referenced by SkillDialog::action(), anonymous_namespace{client.cpp}::LoginListener::action(), SDLGraphics::calcPatternInline(), SDLGraphics::calcTileSDL(), EAthena::GuildHandler::chat(), SurfaceGraphics::copyImage(), SDLImageHelper::copySurfaceToImage(), SDLGraphics::drawHLine(), SurfaceGraphics::drawImage(), SDLGraphics::drawImageCached(), SurfaceGraphics::drawImageCached(), SDLGraphics::drawImageInline(), SDLGraphics::drawPatternCached(), SDLGraphics::drawPatternInline(), SDLGraphics::drawRescaledImage(), SDLGraphics::drawRescaledPattern(), SDLGraphics::drawVLine(), SDLGraphics::fillRectangle(), ActorManager::findBeing(), getCrc16(), Image::Image(), ServerDialog::loadCustomServers(), ServerDialog::loadServers(), EAthena::HomunculusHandler::move(), EAthena::MercenaryHandler::move(), parseOptions(), SDLGraphics::popClipArea(), EAthena::BattleGroundRecv::processBattleEmblem2(), TmwAthena::BeingRecv::processBeingChangeLookContinue(), TmwAthena::CharServerRecv::processCharLogin(), EAthena::CharServerRecv::processCharLogin(), EAthena::CharServerRecv::processPincodeStatus(), TmwAthena::BeingRecv::processPvpSet(), SDLGraphics::pushClipArea(), Net::MessageIn::readCoordinatePair(), Net::MessageIn::readCoordinates(), TmwAthena::MessageIn::readInt16(), EAthena::MessageIn::readInt16(), TmwAthena::MessageIn::readUInt16(), EAthena::MessageIn::readUInt16(), SDLgfxBlitRGBA(), SDLputPixel(), TmwAthena::PlayerHandler::setDestination(), EAthena::PlayerHandler::setDestination(), Graphics::setOpenGLMode(), ActorSprite::setStatusEffectOpiton0(), ActorSprite::setStatusEffectOpitons(), SDLGraphics::setVideoMode(), SubImage::SubImage(), TmwAthena::MessageOut::writeInt16(), and EAthena::MessageOut::writeInt16().

◆ CAST_U32

#define CAST_U32   static_cast<uint32_t>

Definition at line 30 of file cast.h.

Referenced by Setup_Video::action(), CharSelectDialog::action(), UserPalette::addColor(), UserPalette::addLabel(), StaticBrowserBox::addRow(), BrowserBox::addRow(), SkillDialog::addSkill(), Setup_Video::apply(), Logger::assertLog(), BrowserBox::BrowserBox(), SocialGuildTab2::buildCounter(), SocialGuildTab::buildCounter(), SocialPartyTab::buildCounter(), BrowserBox::calcHeight(), TextField::caretDelete(), CharCreateDialog::CharCreateDialog(), ParticleVector::clearLocally(), ColorPage::ColorPage(), SDLInput::convertKeyCharacter(), SpellManager::createNewSpell(), ChatWindow::defaultTab(), ShopItems::del(), GraphicsManager::detectGraphics(), WhoIsOnline::downloadThread(), ColorPage::draw(), TextParticle::draw(), ExtendedListBox::draw(), EmoteShortcutContainer::draw(), OutfitWindow::draw(), ShopListBox::draw(), DropDown::draw(), ProgressBar::draw(), ListBox::draw(), GuiTable::draw(), DropDown::DropDown(), ImageHelper::dumpSurfaceFormat(), ShopItems::erase(), TmwAthena::MessageOut::expand(), EAthena::MessageOut::expand(), formatUnit(), Theme::getColor(), UserPalette::getColor(), UserPalette::getColorWithAlpha(), ShopItems::getElementAt(), AnimatedSprite::getFrameCount(), ScrollArea::getImageByState(), SocialFriendsTab::getPlayersAvatars(), Window::getResizeHandles(), TabbedArea::getSelectedTabIndex(), ItemInfo::getSound(), ConfigurationObject::getValue(), Wallpaper::getWallpaper(), TextField::handleNormalKeys(), TextField::handlePaste(), ChatWindow::keyPressed(), TextField::keyPressed(), ListBox::ListBox(), ItemShortcut::load(), ChatLogger::loadLast(), UpdaterWindow::loadLocalUpdates(), UpdaterWindow::loadManaPlusUpdates(), UpdaterWindow::loadMods(), ServerDialog::loadServers(), SkillDialog::loadSkill(), UpdaterWindow::loadUpdates(), Logger::log(), Logger::log_r(), EventsManager::logEvent(), UpdaterWindow::logic(), MailViewWindow::MailViewWindow(), TmwAthena::Network::messageReady(), EAthena::Network::messageReady(), CharacterDisplay::mouseMoved(), TextField::moveCaretForward(), TextField::moveCaretWordForward(), Joystick::open(), FindBeingFunctor::operator()(), Color::operator*(), operator+(), PlayerTableModel::playerRelationsUpdated(), RegisterDialog::postInit(), EAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingSpawn(), EAthena::BeingRecv::processBeingVisible(), EAthena::GeneralRecv::processConnectionProblem(), TmwAthena::GeneralRecv::processConnectionProblem(), EAthena::PlayerRecv::processKilledBy(), Ea::LoginRecv::processLoginError(), EAthena::BeingRecv::processMapTypeProperty(), TmwAthena::InventoryRecv::processPlayerStorageEquip(), VirtFs::FsZip::read(), VirtFs::ZipReader::readArchiveInfo(), Net::MessageIn::readBytes(), VirtFs::ZipReader::readFile(), TmwAthena::MessageIn::readInt16(), EAthena::MessageIn::readInt16(), TmwAthena::MessageIn::readInt32(), EAthena::MessageIn::readInt32(), TmwAthena::MessageIn::readInt64(), EAthena::MessageIn::readInt64(), Net::MessageIn::readInt8(), TmwAthena::MessageIn::readUInt16(), EAthena::MessageIn::readUInt16(), Net::MessageIn::readUInt8(), Being::recalcSpritesOrder(), Ea::Network::receive(), TabbedArea::removeAll(), BrowserBoxTools::replaceTabs(), FocusHandler::requestFocus(), VirtFs::FsZip::rwops_read(), EmoteShortcutContainer::safeDraw(), OutfitWindow::safeDraw(), ProgressBar::safeDraw(), GuiTable::safeDraw(), ItemShortcut::save(), SpellManager::save(), EmoteShortcut::save(), ServerDialog::saveCustomServers(), Being::setAction(), TextField::setCaretPosition(), SimpleAnimation::setFrame(), Being::setGender(), Being::setHairColorSpriteID(), Being::setHairTempSprite(), ItemPopup::setItem(), CharSelectDialog::setName(), Being::setSpriteCards(), Being::setSpriteColor(), Being::setSpriteColorId(), Being::setSpriteId(), Being::setTempSprite(), TextField::setText(), Setup_Joystick::Setup_Joystick(), IntTextField::setValue(), BeingPopup::show(), PopupMenu::showPopup(), StaticBrowserBox::StaticBrowserBox(), stringToHexPath(), ItemShortcut::swap(), Being::undressItemById(), Logger::unimplemented(), UpdaterWindow::unloadManaPlusUpdates(), UpdaterWindow::unloadUpdates(), Being::unSetSprite(), AnimatedSprite::updateCurrentAnimation(), StaticBrowserBox::updateHeight(), SocialNavigationTab::updateList(), Particle::updateSelf(), Being::updateSprite(), GraphicsManager::updateTextureCompressionFormat(), WhoIsOnline::updateWindow(), ShortcutContainer::widgetResized(), Window::Window(), TmwAthena::MessageOut::writeCoordinates(), EAthena::MessageOut::writeCoordinates(), TmwAthena::MessageOut::writeInt16(), EAthena::MessageOut::writeInt16(), EAthena::MessageOut::writeInt32(), TmwAthena::MessageOut::writeInt32(), EAthena::MessageOut::writeInt64(), Net::MessageOut::writeInt8(), and Net::MessageIn::~MessageIn().

◆ CAST_U64

#define CAST_U64   static_cast<uint64_t>

◆ CAST_U8

#define CAST_U8   static_cast<uint8_t>

Definition at line 26 of file cast.h.

Referenced by CharCreateDialog::action(), RegisterDialog::action(), NpcDialog::action(), Actions::changeRelation(), CharCreateDialog::CharCreateDialog(), EAthena::CharServerHandler::chooseCharacter(), TmwAthena::CharServerHandler::chooseCharacter(), CrazyMoves::crazyMoveAe(), SDLImageHelper::createTextSurface(), ExtendedListBox::draw(), SDLGraphics::drawHLine(), SDLGraphics::drawVLine(), DyePalette::DyePalette(), SDLGraphics::fillRectangle(), TextChunk::generate(), MapHeights::getHeight(), Actions::getPet(), DyePalette::hexToColor(), ipToString(), EmoteShortcut::load(), OutfitWindow::load(), PaletteDB::loadPalette(), WhoIsOnline::loadWebList(), TmwAthena::CharServerHandler::newCharacter(), EAthena::CharServerHandler::newCharacter(), php3_base64_decode(), TmwAthena::BeingRecv::processBeingChangeDirection(), EAthena::BeingRecv::processBeingChangeDirection(), EAthena::BeingRecv::processBeingChangeLookContinue(), EAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingSpawn(), EAthena::BeingRecv::processBeingVisible(), EAthena::GuildRecv::processGuildMemberList(), EAthena::GuildRecv::processGuildMemberLogin(), TmwAthena::LoginRecv::processLoginData(), EAthena::LoginRecv::processLoginData(), Ea::NpcRecv::processNpcCommand(), EAthena::InventoryRecv::processPlayerEquipment(), TmwAthena::BeingRecv::processPlayerMove(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::ChatHandler::processRaw(), TmwAthena::ChatHandler::processRaw(), Net::MessageIn::readCoordinates(), Net::MessageIn::readInt8(), TmwAthena::CharServerRecv::readPlayerData(), EAthena::CharServerRecv::readPlayerData(), Net::MessageIn::readUInt8(), BeingCommon::readWalkingAttributes(), EmoteShortcut::save(), SDLputPixel(), SDLputPixelAlpha(), EAthena::SearchStoreHandler::search(), Image::setAlpha(), TmwAthena::PlayerHandler::setDestination(), EAthena::PlayerHandler::setDestination(), setTile(), SoundManager::testAudio(), Net::MessageOut::toServerDirection(), CharCreateDialog::updateLook(), TmwAthena::MessageOut::writeCoordinates(), EAthena::MessageOut::writeCoordinates(), and Net::MessageOut::writeInt8().