summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-17 19:41:29 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-17 19:41:29 +0000
commitd398b01eb2dceba231b7c313e402817554c3a43d (patch)
treee58896ff84ea57f360a79a00693ad80d4321937b /src/map/pc.h
parentc03b423beb53c93a24075516597617ca3f40a493 (diff)
downloadhercules-d398b01eb2dceba231b7c313e402817554c3a43d.tar.gz
hercules-d398b01eb2dceba231b7c313e402817554c3a43d.tar.bz2
hercules-d398b01eb2dceba231b7c313e402817554c3a43d.tar.xz
hercules-d398b01eb2dceba231b7c313e402817554c3a43d.zip
Added 2 (3) new atcommands:
* @unloadnpcfile <file path> ** e.g. "@unloadnpcfile npc/cities/alberta.txt" unloads all npcs created by the npc/cities/alberta.txt file. * @addperm/@rmvperm <permission_name> ** e.g. "@addperm skill_unconditional" / "#rmvperm "player" skill_unconditional" git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16656 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index a62ea2b3b..a87544d0c 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -18,6 +18,7 @@
#include "vending.h" // struct s_vending
#include "mob.h"
#include "log.h"
+#include "pc_groups.h"
#define MAX_PC_BONUS 10
#define MAX_PC_SKILL_REQUIRE 5
@@ -580,30 +581,6 @@ enum equip_index {
EQI_MAX
};
-enum e_pc_permission {
- PC_PERM_NONE = 0,
- PC_PERM_TRADE = 0x00001,
- PC_PERM_PARTY = 0x00002,
- PC_PERM_ALL_SKILL = 0x00004,
- PC_PERM_USE_ALL_EQUIPMENT = 0x00008,
- PC_PERM_SKILL_UNCONDITIONAL = 0x00010,
- PC_PERM_JOIN_ALL_CHAT = 0x00020,
- PC_PERM_NO_CHAT_KICK = 0x00040,
- PC_PERM_HIDE_SESSION = 0x00080,
- PC_PERM_WHO_DISPLAY_AID = 0x00100,
- PC_PERM_RECEIVE_HACK_INFO = 0x00200,
- PC_PERM_WARP_ANYWHERE = 0x00400,
- PC_PERM_VIEW_HPMETER = 0x00800,
- PC_PERM_VIEW_EQUIPMENT = 0x01000,
- PC_PERM_USE_CHECK = 0x02000,
- PC_PERM_USE_CHANGEMAPTYPE = 0x04000,
- PC_PERM_USE_ALL_COMMANDS = 0x08000,
- PC_PERM_RECEIVE_REQUESTS = 0x10000,
- PC_PERM_SHOW_BOSS = 0x20000,
- PC_PERM_DISABLE_PVM = 0x40000,
- PC_PERM_DISABLE_PVP = 0x80000,
-};
-
#define pc_setdead(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 1 )
#define pc_setsit(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 2 )
#define pc_isdead(sd) ( (sd)->state.dead_sit == 1 )