mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
Over 100 camangos Cata commits applied (to c12950)
Over 100 camangos Cata commits applied. up to and inclusing c12950.
This commit is contained in:
parent
b4ec0440aa
commit
eef77eadb9
117 changed files with 4314 additions and 3547 deletions
|
|
@ -39,13 +39,15 @@
|
|||
#define CONTACT_DISTANCE 0.5f
|
||||
#define INTERACTION_DISTANCE 5.0f
|
||||
#define ATTACK_DISTANCE 5.0f
|
||||
#define MAX_VISIBILITY_DISTANCE 333.0f // max distance for visible object show, limited in 333 yards
|
||||
#define DEFAULT_VISIBILITY_DISTANCE 90.0f // default visible distance, 90 yards on continents
|
||||
#define DEFAULT_VISIBILITY_INSTANCE 120.0f // default visible distance in instances, 120 yards
|
||||
#define DEFAULT_VISIBILITY_BGARENAS 180.0f // default visible distance in BG/Arenas, 180 yards
|
||||
#define INSPECT_DISTANCE 28.0f
|
||||
#define TRADE_DISTANCE 11.11f
|
||||
#define MAX_VISIBILITY_DISTANCE 333.0f // max distance for visible object show, limited in 333 yards
|
||||
#define DEFAULT_VISIBILITY_DISTANCE 90.0f // default visible distance, 90 yards on continents
|
||||
#define DEFAULT_VISIBILITY_INSTANCE 120.0f // default visible distance in instances, 120 yards
|
||||
#define DEFAULT_VISIBILITY_BGARENAS 180.0f // default visible distance in BG/Arenas, 180 yards
|
||||
|
||||
#define DEFAULT_WORLD_OBJECT_SIZE 0.388999998569489f // currently used (correctly?) for any non Unit world objects. This is actually the bounding_radius, like player/creature from creature_model_data
|
||||
#define DEFAULT_OBJECT_SCALE 1.0f // player/item Scale as default, npc/go from database, pets from dbc
|
||||
#define DEFAULT_OBJECT_SCALE 1.0f // player/item scale as default, npc/go from database, pets from dbc
|
||||
|
||||
#define MAX_STEALTH_DETECT_RANGE 45.0f
|
||||
|
||||
|
|
@ -601,8 +603,8 @@ class WorldObject : public Object
|
|||
virtual void SendMessageToSetInRange(WorldPacket* data, float dist, bool self) const;
|
||||
void SendMessageToSetExcept(WorldPacket* data, Player const* skipped_receiver) const;
|
||||
|
||||
void MonsterSay(const char* text, uint32 language, Unit const* target = nullptr) const;
|
||||
void MonsterYell(const char* text, uint32 language, Unit const* target = nullptr) const;
|
||||
void MonsterSay(const char* text, uint32 language, Unit const* target = NULL) const;
|
||||
void MonsterYell(const char* text, uint32 language, Unit const* target = NULL) const;
|
||||
void MonsterTextEmote(const char* text, Unit const* target, bool IsBossEmote = false) const;
|
||||
void MonsterWhisper(const char* text, Unit const* target, bool IsBossWhisper = false) const;
|
||||
void MonsterText(MangosStringLocale const* textData, Unit const* target) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue