diff options
Diffstat (limited to '')
-rw-r--r-- | cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.cpp?rev=1.1&content-type=text/plain&hideattic=0&sortby=date/index.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.cpp?rev=1.1&content-type=text/plain&hideattic=0&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.cpp?rev=1.1&content-type=text/plain&hideattic=0&sortby=date/index.html new file mode 100644 index 00000000..2176da62 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/client/Attic/blank_interface.cpp?rev=1.1&content-type=text/plain&hideattic=0&sortby=date/index.html @@ -0,0 +1,66 @@ +/** \file blank_interface.cpp + * Language interface + * + * $Id: blank_interface.cpp,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. + */ + +#include "nel/misc/i18n.h" +#include "blank_interface.h" + + +using namespace NL3D; +using namespace NLMISC; + + + + + + +/****************************************************************\ + init() +\****************************************************************/ +void CBlankInterface::init(NL3D::CScene * scene, uint w, uint h) +{ + _Scene = scene; + + _FontManager.setMaxMemory(2000000); + _EventServer.addEmitter(_Scene->getDriver()->getEventEmitter()); + + CDisplayDescriptor displayDesc; + displayDesc.ResX = w; + displayDesc.ResY = h; + ScreenWidth = w; + ScreenHeight = h; + +} + + + + +/****************************************************************\ + release() +\****************************************************************/ +void CBlankInterface::release() +{ + _EventServer.removeListener(EventCharId, _Listener); +} + |