mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 03:56:39 +00:00 
			
		
		
		
	Move ClassPoint struct definition from source to header file
This commit is contained in:
		
							parent
							
								
									53b85eaaa9
								
							
						
					
					
						commit
						183ccad872
					
				
					 2 changed files with 8 additions and 12 deletions
				
			
		| 
						 | 
					@ -641,18 +641,6 @@ namespace MWGui
 | 
				
			||||||
    } };
 | 
					    } };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace MWGui
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    struct ClassPoint
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        const char *id;
 | 
					 | 
				
			||||||
        // Specialization points to match, in order: Stealth, Combat, Magic
 | 
					 | 
				
			||||||
        // Note: Order is taken from http://www.uesp.net/wiki/Morrowind:Class_Quiz
 | 
					 | 
				
			||||||
        unsigned int points[3];
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
void WindowManager::showClassQuestionDialog()
 | 
					void WindowManager::showClassQuestionDialog()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    if (generateClassStep == generateClassSteps.size())
 | 
					    if (generateClassStep == generateClassSteps.size())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,6 +62,14 @@ namespace MWGui
 | 
				
			||||||
  class BirthDialog;
 | 
					  class BirthDialog;
 | 
				
			||||||
  class ReviewDialog;
 | 
					  class ReviewDialog;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  struct ClassPoint
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					      const char *id;
 | 
				
			||||||
 | 
					      // Specialization points to match, in order: Stealth, Combat, Magic
 | 
				
			||||||
 | 
					      // Note: Order is taken from http://www.uesp.net/wiki/Morrowind:Class_Quiz
 | 
				
			||||||
 | 
					      unsigned int points[3];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  class WindowManager
 | 
					  class WindowManager
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
  public:
 | 
					  public:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue