#include <landscape.h>
Inheritance diagram for NL3D::EBadBind:
Nevrax France
Definition at line 93 of file landscape.h.
Public Member Functions | |
EBadBind () | |
virtual const char * | what () const throw () |
~EBadBind () throw () | |
Data Fields | |
std::list< CBindError > | BindErrors |
Protected Attributes | |
std::string | _Reason |
Private Attributes | |
std::string | _Output |
|
Definition at line 111 of file landscape.h.
00111 {} |
|
Definition at line 112 of file landscape.h.
00112 {} |
|
Reimplemented from NLMISC::Exception. Definition at line 154 of file landscape.cpp.
00155 { 00156 sint numErr= 0; 00157 const sint NErrByLines= 4; 00158 00159 _Output= "Landscape Bind Error in (3DSMax indices!! (+1) ): "; 00160 00161 std::list<CBindError>::const_iterator it; 00162 for(it= BindErrors.begin();it!=BindErrors.end(); it++, numErr++) 00163 { 00164 char tmp[256]; 00165 sint x= it->ZoneId & 255; 00166 sint y= it->ZoneId >> 8; 00167 sprintf(tmp, "zone%3d_%c%c.patch%3d; ", y+1, (char)('A'+(x/26)), (char)('A'+(x%26)), it->PatchId+1); 00168 if( (numErr%NErrByLines) == 0) 00169 _Output+= "\n"; 00170 _Output+= tmp; 00171 } 00172 return _Output.c_str(); 00173 } |
|
Definition at line 96 of file landscape.h. |
|
Definition at line 244 of file common.h. Referenced by NLMISC::Exception::Exception(). |
|
Definition at line 108 of file landscape.h. Referenced by NL3D::CLandscape::checkBinds(), and NL3D::CLandscape::checkZoneBinds(). |