Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2010-09-24 11:03:56 +02:00
parent 623688f0f0
commit 0c4f818687
7 changed files with 8 additions and 9 deletions

View file

@ -226,6 +226,7 @@ public:
/// Returns the type of the atom. NULL otherwise. /// Returns the type of the atom. NULL otherwise.
virtual const class UType *getType () = 0; virtual const class UType *getType () = 0;
/// Return true if the element is an atom /// Return true if the element is an atom
virtual bool isAtom () const = 0; virtual bool isAtom () const = 0;

View file

@ -66,7 +66,6 @@ template <class T> bool check (T value)
void checkInts () void checkInts ()
{ {
checkInt (uint8, 0, 255, 1); checkInt (uint8, 0, 255, 1);
checkInt (sint8, -128, 127, 1); checkInt (sint8, -128, 127, 1);

View file

@ -553,7 +553,7 @@ void CViewRenderer::drawQuad(sint layerId, const NLMISC::CQuadUV &quadUV, sint32
{ {
// Partially clipped (slowest case) // Partially clipped (slowest case)
// Must do the clip manually // Must do the clip manually
const uint maxNumCorners = 8; static const uint maxNumCorners = 8;
// //
static CVector outPos0[maxNumCorners]; static CVector outPos0[maxNumCorners];
static CUV outUV0[maxNumCorners]; static CUV outUV0[maxNumCorners];

View file

@ -35,7 +35,7 @@ class CBasicEffect
public: public:
/// Constructor /// Constructor
CBasicEffect(EFFECT_FAMILIES::TEffectFamily family, const TDataSetRow & creatorId, const TDataSetRow & targetRowId) CBasicEffect(EFFECT_FAMILIES::TEffectFamily family, const TDataSetRow & creatorId, const TDataSetRow & targetRowId)
: _CreatorRowId(creatorId), _TargetRowId(targetRowId), _Family(family) : _CreatorRowId(creatorId), _TargetRowId(targetRowId), _Family(family), _EffectId(0)
{ {
_EffectId = ++_EffectCounter; _EffectId = ++_EffectCounter;
} }

View file

@ -77,7 +77,7 @@ using namespace NLLIGO;
#define BAR_LENGTH 21 #define BAR_LENGTH 21
char *progressbar[BAR_LENGTH]= const char *progressbar[BAR_LENGTH]=
{ {
"[ ]", "[ ]",
"[. ]", "[. ]",

View file

@ -14,7 +14,8 @@
// You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
/*#include "std_header.h" #if 0
#include "std_header.h"
// //
#include "village.h" #include "village.h"
#include "zone_util.h" #include "zone_util.h"
@ -300,6 +301,4 @@ void CIGInfo::load(TShapeCache &shapeCache)
} }
} }
#endif
*/