Niotso  git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LoginScreen.hpp
Go to the documentation of this file.
1 /*
2  Niotso - The New Implementation of The Sims Online
3  Scene/LoginScreen/LoginScreen.hpp
4  Copyright (c) 2012 Niotso Project <http://niotso.org/>
5  Author(s): Fatbag <X-Fi6@phppoll.org>
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 class LoginScreen : public Scene {
22  enum {
24  IMG_STATUS, //value = 1..9
25  IMG_COUNT = 10
26  };
27 
28  enum {
33  TEX_STATUS, //value = 4..12
34  TEX_COUNT = 13
35  };
36 
37  enum {
40  };
41 
43  float Time;
44  float ScrollPos;
46  GLuint texture[TEX_COUNT];
48 
49  public:
50  LoginScreen();
51  ~LoginScreen();
52  void Render();
53 
54  private:
55  int Run(float TimeDelta);
56 };