mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 14:59:01 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
623688f0f0
commit
0c4f818687
7 changed files with 8 additions and 9 deletions
|
@ -226,6 +226,7 @@ public:
|
|||
|
||||
/// Returns the type of the atom. NULL otherwise.
|
||||
virtual const class UType *getType () = 0;
|
||||
|
||||
/// Return true if the element is an atom
|
||||
virtual bool isAtom () const = 0;
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ template <class T> bool check (T value)
|
|||
|
||||
void checkInts ()
|
||||
{
|
||||
|
||||
checkInt (uint8, 0, 255, 1);
|
||||
checkInt (sint8, -128, 127, 1);
|
||||
|
||||
|
|
|
@ -553,7 +553,7 @@ void CViewRenderer::drawQuad(sint layerId, const NLMISC::CQuadUV &quadUV, sint32
|
|||
{
|
||||
// Partially clipped (slowest case)
|
||||
// Must do the clip manually
|
||||
const uint maxNumCorners = 8;
|
||||
static const uint maxNumCorners = 8;
|
||||
//
|
||||
static CVector outPos0[maxNumCorners];
|
||||
static CUV outUV0[maxNumCorners];
|
||||
|
|
|
@ -612,4 +612,4 @@ private:
|
|||
|
||||
#endif // CL_PATCH_H
|
||||
|
||||
/* End of login_patch.h */
|
||||
/* End of login_patch.h */
|
||||
|
|
|
@ -35,7 +35,7 @@ class CBasicEffect
|
|||
public:
|
||||
/// Constructor
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ using namespace NLLIGO;
|
|||
|
||||
#define BAR_LENGTH 21
|
||||
|
||||
char *progressbar[BAR_LENGTH]=
|
||||
const char *progressbar[BAR_LENGTH]=
|
||||
{
|
||||
"[ ]",
|
||||
"[. ]",
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
// 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/>.
|
||||
|
||||
/*#include "std_header.h"
|
||||
#if 0
|
||||
#include "std_header.h"
|
||||
//
|
||||
#include "village.h"
|
||||
#include "zone_util.h"
|
||||
|
@ -300,6 +301,4 @@ void CIGInfo::load(TShapeCache &shapeCache)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
*/
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue