1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2013 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
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 Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef SBCLIENT_SNOWBALLS_CLIENT_H
21 #define SBCLIENT_SNOWBALLS_CLIENT_H
22 #include <nel/misc/types_nl.h>
23 #include "snowballs_config.h"
25 #include <nel/misc/types_nl.h>
31 #include <nel/misc/rgba.h>
32 #include <nel/misc/ucstring.h>
33 #include <nel/misc/time_nl.h>
34 #include <nel/3d/animation_time.h>
53 class C3dMouseListener
;
55 /*******************************************************************
57 *******************************************************************/
62 static void assertNull();
65 extern NL3D::UDriver
*Driver
;
66 extern NL3D::IStereoDisplay
*StereoDisplay
;
67 extern NL3D::IStereoHMD
*StereoHMD
;
68 extern NL3D::UScene
*Scene
;
69 extern NL3D::UTextContext
*TextContext
;
70 extern NLMISC::CConfigFile
*ConfigFile
;
71 extern NL3D::ULandscape
*Landscape
;
72 extern C3dMouseListener
*MouseListener
;
74 extern NLMISC::TLocalTime LocalTime
; // use for delta only
75 extern NLMISC::TLocalTime LocalTimeDelta
;
76 // extern NLMISC::TLocalTime ServerTime; // use for delta only
77 // extern NLMISC::TLocalTime ServerTimeDelta;
78 // extern NLMISC::TGameTime GameTime;
79 // extern NLMISC::TGameTime GameTimeDelta;
80 // extern NLMISC::TGameCycle GameCycle;
81 // extern NLMISC::TGameCycle GameCycleDelta;
82 extern NL3D::TGlobalAnimationTime AnimationTime
;
83 extern NL3D::TAnimationTime AnimationTimeDelta
;
84 extern float FramesPerSecond
;
85 extern float FramesPerSecondSmooth
;
87 // Stuff for connection
88 extern ucstring Login
;
90 /*******************************************************************
92 *******************************************************************/
94 class CSnowballsClient
99 static void release();
102 } /* namespace SBCLIENT */
104 #endif /* #ifndef SBCLIENT_SNOWBALLS_CLIENT_H */