Pol  Revision:4b29d2b
customhouses.cpp File Reference
#include "customhouses.h"
#include <cstddef>
#include <stdlib.h>
#include <string.h>
#include <string>
#include "../../bscript/bstruct.h"
#include "../../clib/cfgelem.h"
#include "../../clib/clib_endian.h"
#include "../../clib/logfacility.h"
#include "../../clib/passert.h"
#include "../../clib/stlutil.h"
#include "../../clib/streamsaver.h"
#include "../../plib/systemstate.h"
#include "../clidata.h"
#include "../core.h"
#include "../globals/uvars.h"
#include "../item/item.h"
#include "../item/itemdesc.h"
#include "../mkscrobj.h"
#include "../mobile/charactr.h"
#include "../network/cgdata.h"
#include "../network/client.h"
#include "../network/packethelper.h"
#include "../network/packets.h"
#include "../pktboth.h"
#include "../pktout.h"
#include "../pktoutid.h"
#include "../realms/realm.h"
#include "../scrdef.h"
#include "../scrsched.h"
#include "../syshook.h"
#include "../ufunc.h"
#include "../uoscrobj.h"
#include "../uworld.h"
#include "house.h"
#include "multidef.h"
#include "../../../lib/zlib/zlib.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Multi
 

Macros

#define BYTES_PER_TILE   5
 

Functions

void Pol::Multi::CustomHousesAdd (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesAddMulti (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesBackup (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesClear (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesCommit (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesErase (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesQuit (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesRestore (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesRevert (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesRoofRemove (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesRoofSelect (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesSelectFloor (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHousesSendFull (UHouse *house, Network::Client *client, int design)
 
void Pol::Multi::CustomHousesSendFullToInRange (UHouse *house, int design, int range)
 
void Pol::Multi::CustomHousesSendShort (UHouse *house, Network::Client *client)
 
void Pol::Multi::CustomHousesSynch (Core::PKTBI_D7 *msg)
 
void Pol::Multi::CustomHouseStopEditing (Mobile::Character *chr, UHouse *house)
 

Detailed Description

History
  • 2005/08/19 Shinigami: ZLib functionality linked directly into Core
  • 2005/09/26 Shinigami: wrong styled break condition in CustomHouseDesign::Compress
  • 2009/09/03 MuadDib: Relocation of multi related cpp/h
  • 2009/12/02 Turley: added config.max_tile_id - Tomi
Todo:
Will require a special Character member to check in all kinds of places. Character.EditHouse=0/1 The purpose, is to make NPCs IGNORE THIS PERSON, and to NOT send ANY packets about this person to ANYONE. This will also need to be checked when using all sorts of crap. Like when triggering equip/insert/item use/etc. This char should be able to do NOTHING except edit the house when in edit house mode, etc. Enabling this mode can be internal only, simply by linking it with the Custom housing tool. Have a script that can be made to run additional stuff with using the tool, so scripters can check extra stuff if they want, etc, and that script's return decides if to activate the housing tool. Should suffice.

Definition in file customhouses.cpp.

Macro Definition Documentation

#define BYTES_PER_TILE   5