Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / client / src / attack_info.h
blobc9e1cf58eea1ed7a410dd91d16f26b7e1188b70d
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef CL_ATTACK_INFO
20 #define CL_ATTACK_INFO
22 #include "game_share/body.h"
23 #include "game_share/hit_type.h"
25 /** General a description of an attack. This describe parameters common to melee/magic/range/creature_attack attacks
26 * This is filled when an attack behaviour is received
28 * \author Nicolas Vizerie
29 * \author Nevrax France
30 * \date 1/2004
32 struct CAttackInfo
34 uint Intensity; // intensity of attack
35 uint PhysicalImpactIntensity; // intensity (for physical damages only)
36 BODY::TBodyPart Localisation; // localisation (for physical damages only)
37 HITTYPE::THitType HitType; // if there are physical damages, tells how critical they are
38 DMGTYPE::EDamageType DamageType; // if there are physical damages, give their nature
39 BODY::TSide Side; // side of body that receives the impact
44 #endif