From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../index.html | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.3&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html (limited to 'cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.3&content-type=text') diff --git a/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.3&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html b/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.3&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html new file mode 100644 index 00000000..00ec8c67 --- /dev/null +++ b/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.3&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html @@ -0,0 +1,113 @@ + + + +code/client/blank_interface.h - view - 1.3 + +
[BACK] Return to blank_interface.h + CVS log [TXT][DIR] Up to Nevrax / code / client

File: Nevrax / code / client / Attic / blank_interface.h (download)
+Revision 1.3, Fri Nov 24 14:17:35 2000 UTC (20 months ago) by coutelas +
Branch: MAIN +
Changes since 1.2: +16 -13 + lines
+font loaded from server
+time displayed on screen
+
+

/** \file blank_interface.h
+ * 
+ *
+ * $Id: blank_interface.h,v 1.3 2000/11/24 14:17:35 coutelas Exp $
+ */
+
+/* Copyright, 2000 Nevrax Ltd.
+ *
+ * This file is part of NEVRAX NEL.
+ * NEVRAX NEL is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+
+ * NEVRAX NEL is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with NEVRAX NEL; see the file COPYING. If not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ */
+
+#ifndef NL_BLANK_INTERFACE_H
+#define NL_BLANK_INTERFACE_H
+
+#include <vector>
+#include "nel/misc/types_nl.h"
+#include "nel/misc/event_emitter.h"
+#include "nel/misc/event_listener.h"
+#include "nel/3d/scene_ut.h"
+#include "nel/3d/font_manager.h"
+#include "nel/3d/computed_string.h"
+
+
+
+
+/**
+ * Class CBlankInterface
+ * \author Stephane Coutelas
+ * \author Nevrax France
+ * \date 2000
+ */
+class CBlankInterface
+{
+protected:
+        /// screen width
+        uint _ScreenWidth;
+
+        /// screen height
+        uint _ScreenHeight;
+
+        /// font manager providing font textures
+        NL3D::CFontManager _FontManager;
+
+        /// font generator 
+        NL3D::CFontGenerator *_FontGenerator;
+
+        /// scene (provides driver)
+        NL3D::CScene * _Scene;
+
+        /// event manager
+        NLMISC::CEventServer _EventServer;
+        
+        /// event listener 
+        NLMISC::IEventListener * _Listener;
+
+        
+public:
+
+        /// default constructor
+        CBlankInterface(NL3D::CScene * scene, NL3D::CFontGenerator *fontGenerator, uint w, uint h)
+        { 
+                _ScreenWidth = w; 
+                _ScreenHeight = h;
+
+                _Scene = scene;
+
+                _FontGenerator = fontGenerator;
+                _FontManager.setMaxMemory(2000000);
+                
+                _EventServer.addEmitter(_Scene->getDriver()->getEventEmitter()); 
+        }
+
+        /// destructor
+        virtual ~CBlankInterface(){}
+
+};
+
+
+
+
+
+#endif // NL_BLANK_INTERFACE_H
+
+/* End of blank_interface.h */
+
\ No newline at end of file -- cgit v1.2.1