aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text')
-rw-r--r--cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html108
1 files changed, 108 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html b/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html
new file mode 100644
index 00000000..5ea7d7c6
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?rev=1.1&content-type=text/x-cvsweb-markup&hideattic=0&sortby=date/index.html
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/client/blank_interface.h - view - 1.1</TITLE></HEAD>
+<BODY BGCOLOR="#eeeeee">
+<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="blank_interface.h?hideattic=0&amp;sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="blank_interface.h?hideattic=0&amp;sortby=date">blank_interface.h</A>
+ CVS log</b> <IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to <a href="/cvs/cvsweb.cgi/?hideattic=0&amp;sortby=date">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?hideattic=0&amp;sortby=date">code</a> / <a href="/cvs/cvsweb.cgi/code/client/?hideattic=0&amp;sortby=date">client</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/?hideattic=0&amp;sortby=date">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?hideattic=0&amp;sortby=date">code</a> / <a href="/cvs/cvsweb.cgi/code/client/?hideattic=0&amp;sortby=date">client</a> / <a href="/cvs/cvsweb.cgi/code/client/Attic/?hideattic=0&amp;sortby=date">Attic</a> / <a href="/cvs/cvsweb.cgi/code/client/Attic/blank_interface.h?hideattic=0&amp;sortby=date">blank_interface.h</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.h?rev=1.1&amp;hideattic=0&amp;sortby=date" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.h?rev=1.1','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.1</B>, <i>Thu Nov 23 15:36:14 2000 UTC</i> (20 months ago) by <i>coutelas</i>
+<BR>Branch: <b>MAIN</b>
+<PRE>
+no message
+</PRE>
+</td></tr></table><HR noshade><PRE>/** \file blank_interface.h
+ *
+ *
+ * $Id: blank_interface.h,v 1.1 2000/11/23 15:36:14 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 &lt;vector&gt;
+#include &quot;nel/misc/types_nl.h&quot;
+#include &quot;nel/misc/event_emitter.h&quot;
+#include &quot;nel/misc/event_listener.h&quot;
+#include &quot;nel/3d/scene_ut.h&quot;
+#include &quot;nel/3d/font_manager.h&quot;
+#include &quot;nel/3d/computed_string.h&quot;
+
+
+
+
+/**
+ * Class CBlankInterface
+ * \author Stephane Coutelas
+ * \author Nevrax France
+ * \date 2000
+ */
+class CBlankInterface
+{
+protected:
+ &nbsp; &nbsp; &nbsp; &nbsp;/// screen width
+ &nbsp; &nbsp; &nbsp; &nbsp;uint ScreenWidth;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// screen height
+ &nbsp; &nbsp; &nbsp; &nbsp;uint ScreenHeight;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// font manager providing font textures
+ &nbsp; &nbsp; &nbsp; &nbsp;NL3D::CFontManager _FontManager;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// font generator
+ &nbsp; &nbsp; &nbsp; &nbsp;NL3D::CFontGenerator _FontGenerator;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// scene (provides driver)
+ &nbsp; &nbsp; &nbsp; &nbsp;NL3D::CScene * _Scene;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// event manager
+ &nbsp; &nbsp; &nbsp; &nbsp;NLMISC::CEventServer _EventServer;
+ &nbsp; &nbsp; &nbsp; &nbsp;
+ &nbsp; &nbsp; &nbsp; &nbsp;/// event listener
+ &nbsp; &nbsp; &nbsp; &nbsp;NLMISC::IEventListener * _Listener;
+
+ &nbsp; &nbsp; &nbsp; &nbsp;void release();
+
+public:
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// default constructor
+ &nbsp; &nbsp; &nbsp; &nbsp;CBlankInterface():_FontGenerator(&quot;c:/winnt/fonts/verdana.ttf&quot;)
+ &nbsp; &nbsp; &nbsp; &nbsp;{
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ScreenWidth = 0;
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ScreenHeight = 0;
+ &nbsp; &nbsp; &nbsp; &nbsp;}
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// init font manager, event server,...
+ &nbsp; &nbsp; &nbsp; &nbsp;virtual void init(NL3D::CScene * scene, uint w, uint h);
+
+ &nbsp; &nbsp; &nbsp; &nbsp;/// destructor
+ &nbsp; &nbsp; &nbsp; &nbsp;virtual ~CBlankInterface() { release(); }
+
+};
+
+
+
+
+
+#endif // NL_BLANK_INTERFACE_H
+
+/* End of blank_interface.h */
+</PRE> \ No newline at end of file