mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 21:26:48 +00:00 
			
		
		
		
	cleaning up mwgui/widgets part 1
This commit is contained in:
		
							parent
							
								
									7938566004
								
							
						
					
					
						commit
						a1907e7b88
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -23,6 +23,18 @@ namespace MWGui | |||
|     { | ||||
|         void fixTexturePath(std::string &path); | ||||
| 
 | ||||
|         struct SpellEffectParams | ||||
|         { | ||||
|             bool mHasTarget; // potion effects for example have no target (target is always the player)
 | ||||
|             bool mIsConstant; // constant effect means that duration will not be displayed
 | ||||
|             std::string effectID; | ||||
| 
 | ||||
|             // note that the ESM::MagicEffect (retrieved through effectID) might already store skill and attribute,
 | ||||
|             // in that case the ESM::MagicEffect skill/attribute is preferred. this is just here for ingredients which
 | ||||
|             // have them defined elsewhere.
 | ||||
|             signed char skill, attribute; | ||||
|         }; | ||||
| 
 | ||||
|         class MYGUI_EXPORT MWSkill : public Widget | ||||
|         { | ||||
|             MYGUI_RTTI_DERIVED( MWSkill ); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue