xoreos  0.0.5
charactergeneration.h
Go to the documentation of this file.
1 /* xoreos - A reimplementation of BioWare's Aurora engine
2  *
3  * xoreos is the legal property of its developers, whose names
4  * can be found in the AUTHORS file distributed with this source
5  * distribution.
6  *
7  * xoreos is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 3
10  * of the License, or (at your option) any later version.
11  *
12  * xoreos is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with xoreos. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
25 #ifndef ENGINES_KOTOR2_GUI_CHARGEN_CHARACTERGENERATION_H
26 #define ENGINES_KOTOR2_GUI_CHARGEN_CHARACTERGENERATION_H
27 
29 
34 
35 namespace Engines {
36 
37 namespace KotOR2 {
38 
39 class CharacterGeneration : public GUI {
40 public:
42 
43  void showQuickOrCustom();
44  void showQuickChar();
45  void showCustomChar();
46 
47  void showName();
48  void showPortrait();
49 
50  int getStep();
51  void decStep();
52  void resetStep();
53 
54  void start();
55 
56 private:
58 
60 
61  int _step;
62 
66 
68 };
69 
70 } // End of namespace KotOR2
71 
72 } // End of namespace Engines
73 
74 #endif // ENGINES_KOTOR2_GUI_CHARGEN_CHARACTERGENERATION_H
Common::ScopedPtr< GUI > _quickCharPanel
CharacterGenerationInfo * _chargenInfo
The KotOR 2 character generation info.
Common::ScopedPtr< GUI > _quickOrCustomPanel
A KotOR2 GUI.
Common::ScopedPtr< CharacterGenerationBaseMenu > _charGenMenu
void info(const char *s,...)
Definition: util.cpp:69
Generic Aurora engines (debug) console.
A scoped plain pointer, allowing pointer-y access and normal deletion.
Definition: scopedptr.h:120
The context needed to run a Star Wars: Knights of the Old Republic II - The Sith Lords module...
CharacterGeneration(Module *module, CharacterGenerationInfo *info, Engines::Console *console=0)
The KotOR 2 character generation base menu.
Common::ScopedPtr< GUI > _customCharPanel