Pol
Revision:cb584c9
|
#include "rawtypes.h"
Go to the source code of this file.
Macros | |
#define | cfBEu16(x) flipEndian16( x ) |
#define | cfBEu32(x) flipEndian32( x ) |
#define | cfLEu16(x) ( x ) |
#define | cfLEu32(x) ( x ) |
#define | ctBEu16(x) flipEndian16( x ) |
#define | ctBEu32(x) flipEndian32( x ) |
#define | ctLEu16(x) ( x ) |
#define | ctLEu32(x) ( x ) |
#define | flipEndian16(x) ( ( ( ( x ) >> 8 ) & 0x00FF ) | ( ( ( x ) << 8 ) & 0xFF00 ) ) |
#define | flipEndian32(x) |
#define | U_LITTLE_ENDIAN |
Definition in file clib_endian.h.
#define cfBEu16 | ( | x | ) | flipEndian16( x ) |
Definition at line 44 of file clib_endian.h.
Referenced by Pol::Module::buyhandler(), Pol::Module::calculate_cost(), Pol::Core::BPacket::call_method_id(), Pol::Core::BBinaryfile::call_method_id(), Pol::Network::CallOutgoingPacketExportedFunction(), Pol::Module::character_race_changer_handler(), Pol::Core::ClientCreateChar(), Pol::Core::ClientCreateChar70160(), Pol::Core::ClientCreateCharKR(), Pol::Core::convertUCtoArray(), Pol::Multi::CustomHousesAdd(), Pol::Multi::CustomHousesAddMulti(), Pol::Multi::CustomHousesErase(), Pol::Multi::CustomHousesRoofRemove(), Pol::Multi::CustomHousesRoofSelect(), Pol::Multi::CustomHousesSendFull(), Pol::Core::drop_item(), Pol::Core::drop_item_v2(), Pol::Network::ExportedPacketHookHandler(), Pol::Core::Get12BitNumber(), Pol::Core::get_item(), Pol::Network::GetSubCmd(), Pol::Module::gumpbutton_handler(), Pol::Core::handle_aos_commands(), Pol::Core::handle_char_profile_request(), Pol::Core::handle_client_version(), Pol::Module::handle_coord_cursor(), Pol::Core::handle_D9(), Pol::Network::PacketRegistry::handle_extended_cmd(), Pol::Core::handle_get_tip(), Pol::Core::handle_ident_cursor(), Pol::Core::handle_map_pin(), Pol::Core::handle_member_msg(), Pol::Core::handle_menu_selection(), Pol::Core::handle_msg_BF(), Pol::Core::handle_party_msg(), Pol::Core::handle_processed_speech(), Pol::Core::handle_prompt(), Pol::Core::handle_se_object_list(), Pol::Module::handle_selcolor(), Pol::Core::handle_skill_lock(), Pol::Module::handle_textentry(), Pol::Core::handle_unicode_prompt(), Pol::Core::invoke(), Pol::Core::login2(), Pol::Module::menu_selection_made(), Pol::Core::Map::msgCoordsInBounds(), Pol::Module::oldBuyHandler(), Pol::Module::oldSellHandler(), Pol::Core::process_tildecommand(), Pol::Module::read_book_page_handler(), Pol::Network::PacketWriterDefs::PacketTemplateSub< _id, _suboff, _sub, _size >::ReSetBuffer(), Pol::Core::select_server(), Pol::Module::sellhandler(), Pol::Core::SendUnicodeSpeech(), Pol::Core::SpeechHandler(), Pol::Core::UnicodeSpeechHandler(), Pol::Network::PacketWriterDefs::PktWriterTemplateSpecs::WriteHelper< u16 >::WriteFlipped(), and Pol::Network::PacketWriterDefs::PktWriterTemplateSpecs::WriteHelper< s16 >::WriteFlipped().
#define cfBEu32 | ( | x | ) | flipEndian32( x ) |
Definition at line 43 of file clib_endian.h.
Referenced by Pol::Module::buyhandler(), Pol::Module::calculate_cost(), Pol::Core::BPacket::call_method_id(), Pol::Core::BBinaryfile::call_method_id(), Pol::Core::char_select(), Pol::Multi::CustomHousesAdd(), Pol::Multi::CustomHousesAddMulti(), Pol::Multi::CustomHousesBackup(), Pol::Multi::CustomHousesClear(), Pol::Multi::CustomHousesCommit(), Pol::Multi::CustomHousesErase(), Pol::Multi::CustomHousesQuit(), Pol::Multi::CustomHousesRestore(), Pol::Multi::CustomHousesRevert(), Pol::Multi::CustomHousesRoofRemove(), Pol::Multi::CustomHousesRoofSelect(), Pol::Multi::CustomHousesSelectFloor(), Pol::Multi::CustomHousesSynch(), Pol::Core::destroy_item(), Pol::Core::doubleclick(), Pol::Core::drop_item(), Pol::Core::drop_item_v2(), Pol::Core::equip_item(), Pol::Core::get_item(), Pol::Network::GetSubCmd(), Pol::Module::gumpbutton_handler(), Pol::Core::handle_accept_invite(), Pol::Core::handle_add(), Pol::Core::handle_add_member_cursor(), Pol::Core::handle_allnames(), Pol::Core::handle_aos_commands(), Pol::Mobile::handle_attack(), Pol::Core::handle_char_profile_request(), Pol::Module::handle_coord_cursor(), Pol::Core::handle_D9(), Pol::Core::handle_decline_invite(), Pol::Core::handle_delete_character(), Pol::Core::handle_e1_clienttype(), Pol::Core::handle_ef_seed(), Pol::Core::handle_ident_cursor(), Pol::Core::handle_map_pin(), Pol::Core::handle_member_msg(), Pol::Core::handle_msg_BF(), Pol::Core::handle_remove(), Pol::Core::handle_remove_member_cursor(), Pol::Core::handle_rename_char(), Pol::Core::handle_request_tooltip(), Pol::Core::handle_se_object_list(), Pol::Core::handle_singleclick(), Pol::Core::TargetCursor::handle_target_cursor(), Pol::Core::handle_target_cursor(), Pol::Module::oldBuyHandler(), Pol::Module::oldSellHandler(), Pol::Core::LosCheckedTargetCursor::on_target_cursor(), Pol::Core::NoLosCheckedTargetCursor::on_target_cursor(), Pol::Core::NoLosCharacterCursor::on_target_cursor(), Pol::Core::NoLosUObjectCursor::on_target_cursor(), Pol::Module::open_book_handler(), Pol::Module::read_book_page_handler(), Pol::Core::ObjectHash::Reap(), Pol::Core::remove_item_from_world(), Pol::Module::sellhandler(), Pol::Core::srequest(), Pol::Core::write_dirty_data(), Pol::Core::write_dirty_storage(), Pol::Network::PacketWriterDefs::PktWriterTemplateSpecs::WriteHelper< u32 >::WriteFlipped(), and Pol::Network::PacketWriterDefs::PktWriterTemplateSpecs::WriteHelper< s32 >::WriteFlipped().
#define cfLEu16 | ( | x | ) | ( x ) |
Definition at line 39 of file clib_endian.h.
Referenced by Pol::Core::BPacket::call_method_id().
#define cfLEu32 | ( | x | ) | ( x ) |
Definition at line 38 of file clib_endian.h.
Referenced by Pol::Core::BPacket::call_method_id().
#define ctBEu16 | ( | x | ) | flipEndian16( x ) |
Definition at line 46 of file clib_endian.h.
Referenced by Pol::Core::BPacket::call_method_id(), Pol::Module::character_race_changer_handler(), Pol::Core::convertArrayToUC(), Pol::Core::createchar2(), Pol::Multi::CustomHousesSendFull(), Pol::Core::handle_char_profile_request(), Pol::Core::handle_member_msg(), Pol::Core::handle_party_msg(), Pol::Network::open_listen_socket(), Pol::Core::process_tildecommand(), Pol::Core::SendUnicodeSpeech(), Pol::Core::BPacket::SetSize(), Pol::Core::UnicodeSpeechHandler(), Pol::Clib::PolToolMain::unpackCompressedGump(), and Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >::WriteFlipped().
#define ctBEu32 | ( | x | ) | flipEndian32( x ) |
Definition at line 45 of file clib_endian.h.
Referenced by Pol::Items::allocate_intrinsic_equipment_serials(), Pol::Core::BPacket::call_method_id(), Pol::Core::ClientCreateChar(), Pol::Core::ClientCreateChar70160(), Pol::Core::ClientCreateCharKR(), Pol::Multi::UMulti::create(), Pol::Items::Item::create(), Pol::Core::createchar2(), Pol::Multi::CustomHousesSendFull(), Pol::Core::handle_msg_BF(), Pol::Core::import(), Pol::Module::UOExecutorModule::mf_PromptInput(), Pol::Module::UnicodeExecutorModule::mf_RequestInputUC(), Pol::Mobile::Character::readCommonProperties(), Pol::Items::register_intrinsic_equipment(), Pol::Multi::UHouse::scripted_create(), and Pol::Multi::UBoat::scripted_create().
#define ctLEu16 | ( | x | ) | ( x ) |
Definition at line 41 of file clib_endian.h.
Referenced by Pol::Core::BPacket::call_method_id().
#define ctLEu32 | ( | x | ) | ( x ) |
Definition at line 40 of file clib_endian.h.
Referenced by Pol::Core::BPacket::call_method_id().
#define flipEndian16 | ( | x | ) | ( ( ( ( x ) >> 8 ) & 0x00FF ) | ( ( ( x ) << 8 ) & 0xFF00 ) ) |
Definition at line 20 of file clib_endian.h.
#define flipEndian32 | ( | x | ) |
Definition at line 17 of file clib_endian.h.
#define U_LITTLE_ENDIAN |
Definition at line 14 of file clib_endian.h.