Pol  Revision:cb584c9
core.h
Go to the documentation of this file.
1 
17 #ifndef CORE_H
18 #define CORE_H
19 
20 #include <string>
21 
22 namespace Pol
23 {
24 namespace Items
25 {
26 class Item;
27 }
28 namespace Mobile
29 {
30 class Character;
31 }
32 namespace Realms
33 {
34 class Realm;
35 }
36 namespace Core
37 {
38 class ItemsVector;
40 {
45 };
46 void CoreSetSysTrayToolTip( const std::string& text, Priority pri );
47 
48 bool move_character_to( Mobile::Character* chr, unsigned short x, unsigned short y, short z,
49  int flags, Realms::Realm* oldrealm );
50 
51 const int MOVEITEM_IGNOREMOVABLE = 0x20000000L;
52 const int MOVEITEM_FORCELOCATION = 0x40000000L;
53 const int RESURRECT_FORCELOCATION = 0x01;
54 
55 const int INSERT_ADD_ITEM = 0x01;
56 const int INSERT_INCREASE_STACK = 0x02;
57 
58 const int DELETE_BY_PLAYER = 0x00;
59 const int DELETE_BY_SCRIPT = 0x01;
60 
61 const int ENUMERATE_IGNORE_LOCKED = 0x01;
62 const int ENUMERATE_ROOT_ONLY = 0x02;
63 
64 const int ITEMS_IGNORE_STATICS = 0x01;
65 const int ITEMS_IGNORE_MULTIS = 0x02;
66 
67 const int LIST_IGNORE_Z = 0x40000000L;
68 
69 const int FP_IGNORE_MOBILES = 0x01;
70 const int FP_IGNORE_DOORS = 0x02;
71 
72 const int VENDOR_SEND_AOS_TOOLTIP = 0x01;
74 
75 const int SENDDIALOGMENU_FORCE_OLD = 0x01;
76 
77 const int SAVE_FULL = 0x00;
78 const int SAVE_INCREMENTAL = 0x01;
79 
80 const int LOG_DATETIME = 0x01;
81 
82 const int FINDOBJTYPE_IGNORE_LOCKED = 0x01;
83 const int FINDOBJTYPE_ROOT_ONLY = 0x02;
84 
85 const int FINDSUBSTANCE_IGNORE_LOCKED = 0x01;
86 const int FINDSUBSTANCE_ROOT_ONLY = 0x02;
87 const int FINDSUBSTANCE_FIND_ALL = 0x04;
88 
89 const int JOURNAL_PRINT_NAME = 0x00;
90 const int JOURNAL_PRINT_YOU_SEE = 0x01;
91 
92 Items::Item* find_walkon_item( ItemsVector& ivec, short z );
93 void restart_all_clients();
94 } // namespace Core
95 } // namespace Pol
96 #endif
const int VENDOR_SEND_AOS_TOOLTIP
Definition: core.h:72
const int JOURNAL_PRINT_NAME
Definition: core.h:89
const int ITEMS_IGNORE_STATICS
Definition: core.h:64
const int LIST_IGNORE_Z
Definition: core.h:67
const int FINDSUBSTANCE_IGNORE_LOCKED
Definition: core.h:85
const int VENDOR_BUYABLE_CONTAINER_FILTER
Definition: core.h:73
const int INSERT_ADD_ITEM
Definition: core.h:55
const int INSERT_INCREASE_STACK
Definition: core.h:56
const int SAVE_FULL
Definition: core.h:77
const int SENDDIALOGMENU_FORCE_OLD
Definition: core.h:75
Priority
Definition: core.h:39
bool move_character_to(Mobile::Character *chr, unsigned short x, unsigned short y, short z, int flags, Realms::Realm *oldrealm)
Definition: core.cpp:50
const int DELETE_BY_SCRIPT
Definition: core.h:59
void CoreSetSysTrayToolTip(const std::string &text, Priority priority)
Definition: core.cpp:36
const int DELETE_BY_PLAYER
Definition: core.h:58
const int FP_IGNORE_DOORS
Definition: core.h:70
Items::Item * find_walkon_item(ItemsVector &ivec, short z)
Definition: core.cpp:169
const int FINDOBJTYPE_ROOT_ONLY
Definition: core.h:83
const int SAVE_INCREMENTAL
Definition: core.h:78
const int FINDSUBSTANCE_FIND_ALL
Definition: core.h:87
const int RESURRECT_FORCELOCATION
Definition: core.h:53
const int JOURNAL_PRINT_YOU_SEE
Definition: core.h:90
const int FP_IGNORE_MOBILES
Definition: core.h:69
const int MOVEITEM_FORCELOCATION
Definition: core.h:52
const int ITEMS_IGNORE_MULTIS
Definition: core.h:65
const int MOVEITEM_IGNOREMOVABLE
Definition: core.h:51
const int LOG_DATETIME
Definition: core.h:80
const int FINDOBJTYPE_IGNORE_LOCKED
Definition: core.h:82
void restart_all_clients()
Definition: pol.cpp:505
const int ENUMERATE_IGNORE_LOCKED
Definition: core.h:61
const int ENUMERATE_ROOT_ONLY
Definition: core.h:62
const int FINDSUBSTANCE_ROOT_ONLY
Definition: core.h:86
Definition: berror.cpp:12