mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
5027632925
commit
48e05d0056
17 changed files with 98 additions and 97 deletions
|
@ -782,7 +782,7 @@ inline void CIndexBuffer::lock (CIndexBufferRead &accessor, uint first, uint las
|
|||
|
||||
// ***************************************************************************
|
||||
|
||||
inline void CIndexBuffer::unlock (uint first, uint end)
|
||||
inline void CIndexBuffer::unlock (uint /* first */, uint /* end */)
|
||||
{
|
||||
nlassertex (_LockCounter!=0, ("Index buffer not locked"));
|
||||
nlassert (_LockedBuffer || (!isResident() && _NonResidentIndexes.empty()));
|
||||
|
|
|
@ -147,7 +147,7 @@ public:
|
|||
static void addTriangles (const IShape &shape, const NLMISC::CMatrix& modelMT, std::vector<CTriangle>& triangleArray, sint instanceId);
|
||||
|
||||
// Progress callback
|
||||
virtual void progress (const char *message, float progress) {}
|
||||
virtual void progress (const char * /* message */, float /* progress */) {}
|
||||
|
||||
|
||||
/// \name Static PointLights mgt.
|
||||
|
|
|
@ -157,7 +157,7 @@ public:
|
|||
}
|
||||
|
||||
/// return true if an operation is supported. The default support all ops
|
||||
bool supportOp(CPSBinOp::BinOp op) { return true; }
|
||||
bool supportOp(CPSBinOp::BinOp /* op */) { return true; }
|
||||
|
||||
/// get the current operator
|
||||
CPSBinOp::BinOp getOp(void) const { return _Op; }
|
||||
|
|
|
@ -57,13 +57,13 @@ inline CPlaneBasis PSBinOpModulate(CPlaneBasis p1, CPlaneBasis p2)
|
|||
|
||||
}
|
||||
template <>
|
||||
inline CPlaneBasis PSBinOpAdd(CPlaneBasis p1, CPlaneBasis p2)
|
||||
inline CPlaneBasis PSBinOpAdd(CPlaneBasis /* p1 */, CPlaneBasis /* p2 */)
|
||||
{
|
||||
nlassert(0); // not allowed for now
|
||||
return CPlaneBasis(NLMISC::CVector::Null);
|
||||
}
|
||||
template <>
|
||||
inline CPlaneBasis PSBinOpSubtract(CPlaneBasis p1, CPlaneBasis p2)
|
||||
inline CPlaneBasis PSBinOpSubtract(CPlaneBasis /* p1 */, CPlaneBasis /* p2 */)
|
||||
{
|
||||
nlassert(0); // not allowed for now
|
||||
return CPlaneBasis(NLMISC::CVector::Null);
|
||||
|
|
|
@ -60,7 +60,7 @@ namespace NL3D
|
|||
{
|
||||
GET_INLINE float get() const { return float(rand() * (1 / double(RAND_MAX))); } // this may be optimized with a table...
|
||||
void advance() {}
|
||||
void advance(uint quantity) {}
|
||||
void advance(uint /* quantity */) {}
|
||||
};
|
||||
|
||||
/// this iterator just return the same value
|
||||
|
@ -69,7 +69,7 @@ namespace NL3D
|
|||
float Value;
|
||||
GET_INLINE float get() const { return Value; }
|
||||
void advance() {}
|
||||
void advance(uint quantity) {}
|
||||
void advance(uint /* quantity */) {}
|
||||
};
|
||||
|
||||
/// iterator that use dist to compute the value
|
||||
|
|
|
@ -38,7 +38,7 @@ public :
|
|||
/** The direction is taken from a global vector defined in the particle system
|
||||
* NULL or an empty string as a name disable the use of a global value
|
||||
*/
|
||||
virtual void enableGlobalVectorValue(const std::string &name) {}
|
||||
virtual void enableGlobalVectorValue(const std::string &/* name */) {}
|
||||
virtual std::string getGlobalVectorValueName() const { return ""; }
|
||||
};
|
||||
|
||||
|
|
|
@ -65,13 +65,13 @@ struct IPSMover
|
|||
virtual bool supportNonUniformScaling(void) const { NL_PS_FUNC(supportNonUniformScaling); return false ; }
|
||||
|
||||
// set the scale of the object (uniform scale). The default does nothing
|
||||
virtual void setScale(uint32 index, float scale) {} ;
|
||||
virtual void setScale(uint32 /* index */, float /* scale */) {}
|
||||
|
||||
// set a non uniform scale (if supported)
|
||||
virtual void setScale(uint32 index, const NLMISC::CVector &s) { NL_PS_FUNC(setScale); }
|
||||
virtual void setScale(uint32 /* index */, const NLMISC::CVector &/* s */) { NL_PS_FUNC(setScale); }
|
||||
|
||||
// get the scale of the object
|
||||
virtual NLMISC::CVector getScale(uint32 index) const { NL_PS_FUNC(getScale); return NLMISC::CVector(1.f, 1.f, 1.f) ; }
|
||||
virtual NLMISC::CVector getScale(uint32 /* index */) const { NL_PS_FUNC(getScale); return NLMISC::CVector(1.f, 1.f, 1.f) ; }
|
||||
|
||||
/** some object may not store a whole matrix (e.g planes)
|
||||
* this return true if only a normal is needed to set the orientation of the object
|
||||
|
@ -79,10 +79,10 @@ struct IPSMover
|
|||
virtual bool onlyStoreNormal(void) const { NL_PS_FUNC(onlyStoreNormal); return false ; }
|
||||
|
||||
/// if the object only needs a normal, this return the normal. If not, is return (0, 0, 0)
|
||||
virtual NLMISC::CVector getNormal(uint32 index) { NL_PS_FUNC(getNormal); return NLMISC::CVector::Null ; }
|
||||
virtual NLMISC::CVector getNormal(uint32 /* index */) { NL_PS_FUNC(getNormal); return NLMISC::CVector::Null ; }
|
||||
|
||||
/// if the object only stores a normal, this set the normal of the object. Otherwise it has no effect
|
||||
virtual void setNormal(uint32 index, NLMISC::CVector n) { NL_PS_FUNC(setNormal); }
|
||||
virtual void setNormal(uint32 /* index */, NLMISC::CVector /* n */) { NL_PS_FUNC(setNormal); }
|
||||
|
||||
// set a new orthogonal matrix for the object
|
||||
virtual void setMatrix(uint32 index, const NLMISC::CMatrix &m) = 0 ;
|
||||
|
|
|
@ -87,9 +87,9 @@ public:
|
|||
* 'accumulate' set to false.
|
||||
* NB : works only with integrable forces
|
||||
*/
|
||||
virtual void integrate(float date, CPSLocated *src, uint32 startIndex, uint32 numObjects, NLMISC::CVector *destPos = NULL, NLMISC::CVector *destSpeed = NULL,
|
||||
bool accumulate = false,
|
||||
uint posStride = sizeof(NLMISC::CVector), uint speedStride = sizeof(NLMISC::CVector)
|
||||
virtual void integrate(float /* date */, CPSLocated * /* src */, uint32 /* startIndex */, uint32 /* numObjects */, NLMISC::CVector * /* destPos */ = NULL, NLMISC::CVector * /* destSpeed */ = NULL,
|
||||
bool /* accumulate */ = false,
|
||||
uint /* posStride */ = sizeof(NLMISC::CVector), uint /* speedStride */ = sizeof(NLMISC::CVector)
|
||||
) const
|
||||
{
|
||||
nlassert(0); // not an integrable force
|
||||
|
@ -100,11 +100,11 @@ public:
|
|||
* If the start date is lower than the creation date, the initial position is used
|
||||
* NB : works only with integrable forces
|
||||
*/
|
||||
virtual void integrateSingle(float startDate, float deltaT, uint numStep,
|
||||
const CPSLocated *src, uint32 indexInLocated,
|
||||
NLMISC::CVector *destPos,
|
||||
bool accumulate = false,
|
||||
uint posStride = sizeof(NLMISC::CVector)) const
|
||||
virtual void integrateSingle(float /* startDate */, float /* deltaT */, uint /* numStep */,
|
||||
const CPSLocated * /* src */, uint32 /* indexInLocated */,
|
||||
NLMISC::CVector * /* destPos */,
|
||||
bool /* accumulate */ = false,
|
||||
uint /* posStride */ = sizeof(NLMISC::CVector)) const
|
||||
{
|
||||
nlassert(0); // not an integrable force
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ public:
|
|||
virtual void setIntensityScheme(CPSAttribMaker<float> *scheme);
|
||||
|
||||
// deriver have here the opportunity to setup the functor object. The default does nothing
|
||||
virtual void setupFunctor(uint32 indexInLocated) { }
|
||||
virtual void setupFunctor(uint32 /* indexInLocated */) { }
|
||||
|
||||
/// get the attribute maker for a non constant intensity
|
||||
CPSAttribMaker<float> *getIntensityScheme(void) { return _IntensityScheme; }
|
||||
|
@ -493,22 +493,22 @@ public:
|
|||
#ifdef NL_OS_WINDOWS
|
||||
__forceinline
|
||||
#endif
|
||||
void operator() (const NLMISC::CVector &pos, NLMISC::CVector &speed, float invMass)
|
||||
{
|
||||
void operator() (const NLMISC::CVector &/* pos */, NLMISC::CVector &speed, float invMass)
|
||||
{
|
||||
speed -= (CParticleSystem::EllapsedTime * _K * invMass * speed);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream)
|
||||
{
|
||||
f.serialVersion(1);
|
||||
// we don't save intensity info : it is saved by the owning object (and set before each use of this functor)
|
||||
}
|
||||
virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream)
|
||||
{
|
||||
f.serialVersion(1);
|
||||
// we don't save intensity info : it is saved by the owning object (and set before each use of this functor)
|
||||
}
|
||||
|
||||
// get the friction coefficient
|
||||
float getK(void) const { return _K; }
|
||||
// get the friction coefficient
|
||||
float getK(void) const { return _K; }
|
||||
|
||||
// set the friction coefficient
|
||||
void setK(float coeff) { _K = coeff; }
|
||||
// set the friction coefficient
|
||||
void setK(float coeff) { _K = coeff; }
|
||||
protected:
|
||||
// the friction coeff
|
||||
float _K;
|
||||
|
@ -630,7 +630,7 @@ struct CPSTurbulForceFunc
|
|||
#ifdef NL_OS_WINDOWS
|
||||
__forceinline
|
||||
#endif
|
||||
void operator() (const NLMISC::CVector &pos, NLMISC::CVector &speed, float invMass)
|
||||
void operator() (const NLMISC::CVector &/* pos */, NLMISC::CVector &/* speed */, float /* invMass */)
|
||||
{
|
||||
nlassert(0);
|
||||
|
||||
|
|
|
@ -1223,7 +1223,7 @@ inline void CVertexBuffer::lock (CVertexBufferRead &accessor, uint first, uint l
|
|||
|
||||
// --------------------------------------------------
|
||||
|
||||
inline void CVertexBuffer::unlock (uint first, uint end)
|
||||
inline void CVertexBuffer::unlock (uint /* first */, uint /* end */)
|
||||
{
|
||||
nlassertex (_LockCounter!=0, ("Vertex buffer not locked"));
|
||||
nlassert (_LockedBuffer || (!isResident() && _NonResidentVertices.empty()));
|
||||
|
|
|
@ -188,8 +188,8 @@ namespace NLNET
|
|||
|
||||
// unused interceptors
|
||||
std::string fwdBuildModuleManifest() const { return std::string(); }
|
||||
void fwdOnModuleSecurityChange(NLNET::IModuleProxy *moduleProxy) {}
|
||||
bool fwdOnProcessModuleMessage(NLNET::IModuleProxy *sender, const NLNET::CMessage &message) {return false;}
|
||||
void fwdOnModuleSecurityChange(NLNET::IModuleProxy * /* moduleProxy */) {}
|
||||
bool fwdOnProcessModuleMessage(NLNET::IModuleProxy * /* sender */, const NLNET::CMessage &/* message */) {return false;}
|
||||
|
||||
// check module up
|
||||
void fwdOnModuleUp(NLNET::IModuleProxy *moduleProxy)
|
||||
|
|
|
@ -335,7 +335,7 @@ protected:
|
|||
|
||||
T *Value;
|
||||
|
||||
virtual void serialDefaultValue (NLMISC::IStream &f)
|
||||
virtual void serialDefaultValue (NLMISC::IStream &/* f */)
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
|
|
@ -437,7 +437,7 @@ public:
|
|||
// PUBLIC because template friend classes are not supported
|
||||
/// Return the pointer to the property value
|
||||
template <class T>
|
||||
void getPropPointerForList( TSharedListRow **ppt, TPropertyIndex propIndex, const TDataSetRow& entityIndex, T* typeHint ) const
|
||||
void getPropPointerForList( TSharedListRow **ppt, TPropertyIndex propIndex, const TDataSetRow& entityIndex, T* /* typeHint */ ) const
|
||||
{
|
||||
#ifndef FAST_MIRROR
|
||||
nlassert( (propIndex != INVALID_PROPERTY_INDEX) && (propIndex < (TPropertyIndex)_PropertyContainer.PropertyValueArrays.size()) ); // Wrong property
|
||||
|
|
|
@ -349,7 +349,7 @@ namespace INVENTORIES
|
|||
|
||||
/// Serial from/to bit stream
|
||||
template <class CInventoryCategoryTemplate>
|
||||
void serialAll( NLMISC::CBitMemStream& bms, const CInventoryCategoryTemplate *templ=0 )
|
||||
void serialAll( NLMISC::CBitMemStream& bms, const CInventoryCategoryTemplate * /* templ */ =0 )
|
||||
{
|
||||
bms.serial( _SlotIndex, CInventoryCategoryTemplate::SlotBitSize );
|
||||
|
||||
|
@ -385,7 +385,7 @@ namespace INVENTORIES
|
|||
|
||||
/// Serial from/to bit stream
|
||||
template <class CInventoryCategoryTemplate>
|
||||
void serialOneProp( NLMISC::CBitMemStream& bms, const CInventoryCategoryTemplate *templ=0 )
|
||||
void serialOneProp( NLMISC::CBitMemStream& bms, const CInventoryCategoryTemplate * /* templ */ =0 )
|
||||
{
|
||||
bms.serial( _SlotIndex, CInventoryCategoryTemplate::SlotBitSize );
|
||||
bms.serial( _OneProp );
|
||||
|
|
|
@ -420,7 +420,9 @@ inline const CPersistentDataRecord::CArg& CPersistentDataRecord::popNextArg(TTok
|
|||
inline void CPersistentDataRecord::popNextArg(TToken token,CPersistentDataRecord::CArg& result)
|
||||
{
|
||||
#ifdef NL_DEBUG
|
||||
BOMB_IF(peekNextToken()!=token,"Error on read code - token requested doesn't match token found",return);
|
||||
BOMB_IF(peekNextToken()!=token,"Error on read code - token requested doesn't match token found",return);
|
||||
#else
|
||||
nlunreferenced(token);
|
||||
#endif
|
||||
|
||||
peekNextArg(result);
|
||||
|
@ -445,7 +447,6 @@ inline void CPersistentDataRecord::popNextArg(TToken token,CPersistentDataRecord
|
|||
++_ArgOffset;
|
||||
++_TokenOffset;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
//inline CPersistentDataRecord::CArg CPersistentDataRecord::popNextArg(TToken token)
|
||||
|
|
|
@ -390,7 +390,7 @@ public:
|
|||
:CMissionEvent(EndDynChat,TDataSetRow()){}
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log){return false;};
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
class CMissionEventDebug : public CMissionEvent
|
||||
|
@ -400,7 +400,7 @@ public:
|
|||
:CMissionEvent(Debug,TDataSetRow()){}
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log){return false;};
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
|
||||
|
@ -412,7 +412,7 @@ public:
|
|||
uint32 Points;
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log){return false;};
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
class CMissionEventOutpostGain : public CMissionEvent
|
||||
|
@ -422,7 +422,7 @@ public:
|
|||
:CMissionEvent(OutpostGain,TDataSetRow()){}
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log){return false;};
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
|
||||
|
@ -437,7 +437,7 @@ public:
|
|||
bool Guild;
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log){return false;}
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
class CMissionEventQueueEntryOk: public CMissionEvent
|
||||
|
@ -447,7 +447,7 @@ public:
|
|||
:CMissionEvent(QueueEntryOk, TDataSetRow()) {}
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log) { return false; }
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
|
||||
|
@ -458,7 +458,7 @@ public:
|
|||
:CMissionEvent(QueueExit, TDataSetRow()) {}
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log) { return false; }
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
class CMissionEventGroupSpawned : public CMissionEvent
|
||||
|
@ -470,8 +470,8 @@ public:
|
|||
TAIAlias Alias;
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
CMissionEventGroupSpawned(){};
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log) { return false; }
|
||||
CMissionEventGroupSpawned(){}
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
class CMissionEventGroupDespawned : public CMissionEvent
|
||||
|
@ -483,8 +483,8 @@ public:
|
|||
TAIAlias Alias;
|
||||
protected:
|
||||
friend class CMissionEvent;
|
||||
CMissionEventGroupDespawned(){};
|
||||
bool buildFromScript( const std::vector< std::string > & script ,NLMISC::CLog& log) { return false; }
|
||||
CMissionEventGroupDespawned(){}
|
||||
bool buildFromScript( const std::vector< std::string > & /* script */, NLMISC::CLog& /* log */){return false;}
|
||||
};
|
||||
|
||||
#endif // RY_MISSION_EVENT_H
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
propertyCont ("Character", PropDataSetRow, Character);
|
||||
propertyCont ("Creature", PropDataSetRow, Creature);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {};
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -68,7 +68,7 @@ public:
|
|||
propertyCont ("Content", PropString, Content);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -94,7 +94,7 @@ public:
|
|||
propertyCont ("Params", PropString, Params);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -115,7 +115,7 @@ public:
|
|||
propertyCont ("GrpAlias", PropUInt32, GrpAlias);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -138,7 +138,7 @@ public:
|
|||
property ("TeamId", PropUInt16, CTEAM::InvalidTeamId, TeamId);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -160,7 +160,7 @@ public:
|
|||
// propertyCont ("OutpostNames", PropString, OutpostNames);
|
||||
// }
|
||||
//
|
||||
// virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
// virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
//};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -198,7 +198,7 @@ public:
|
|||
//// propertyCont ("Fames", PropString, DutyNames);
|
||||
// }
|
||||
//
|
||||
// virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
// virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
//};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -227,7 +227,7 @@ public:
|
|||
propertyCont ("Parameters", PropString, Parameters);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -253,7 +253,7 @@ public:
|
|||
// property ("GuildIndex", PropDataSetRow, TDataSetRow() ,GuildIndex);
|
||||
// }
|
||||
//
|
||||
// virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
// virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
//};
|
||||
|
||||
|
||||
|
@ -280,7 +280,7 @@ public:
|
|||
// property ("GuildId", PropDataSetRow, TDataSetRow() ,GuildId);
|
||||
// }
|
||||
//
|
||||
// virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
// virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
//};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -299,7 +299,7 @@ public:
|
|||
property ("BotRowId", PropDataSetRow, TDataSetRow() , BotRowId);
|
||||
property ("Heading", PropFloat,0.0f,Heading);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -317,7 +317,7 @@ public:
|
|||
property ("PlayerRowId", PropDataSetRow, TDataSetRow(), PlayerRowId);
|
||||
property ("TargetRowId", PropDataSetRow, TDataSetRow(), TargetRowId);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -336,7 +336,7 @@ public:
|
|||
property ("PlayerRowId", PropDataSetRow, TDataSetRow(), PlayerRowId);
|
||||
property ("CreatureRowId", PropDataSetRow, TDataSetRow(), CreatureRowId);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -365,7 +365,7 @@ public:
|
|||
property ("PlayerRowId", PropDataSetRow, TDataSetRow(), PlayerRowId);
|
||||
property ("TargetRowId", PropDataSetRow, TDataSetRow(), TargetRowId);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -394,7 +394,7 @@ public:
|
|||
property ("PlayerRowId", PropDataSetRow, TDataSetRow(), PlayerRowId);
|
||||
property ("TargetRowId", PropDataSetRow, TDataSetRow(), TargetRowId);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -410,7 +410,7 @@ public:
|
|||
className ("CAIPlayerRespawnMsg");
|
||||
property ("PlayerRowId", PropDataSetRow, TDataSetRow(), PlayerRowId);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -428,7 +428,7 @@ public:
|
|||
property ("EntityRowId", PropDataSetRow, TDataSetRow(), EntityRowId);
|
||||
property ("AskerRowID", PropDataSetRow, TDataSetRow(), AskerRowID);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -448,7 +448,7 @@ public:
|
|||
property ("AskerRowID", PropDataSetRow, TDataSetRow(), AskerRowID);
|
||||
propertyCont ("Infos", PropString, Infos);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -466,7 +466,7 @@ public:
|
|||
property ("EntityRowId", PropDataSetRow, TDataSetRow(), EntityRowId);
|
||||
property ("EnableAggro", PropBool, true, EnableAggro);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -482,7 +482,7 @@ public:
|
|||
className ("CReportAICollisionAvailableMsg");
|
||||
propertyCont ("ContinentsCollision", PropString, ContinentsCollision);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -500,7 +500,7 @@ public:
|
|||
property ("InstanceNumber", PropUInt32, uint32(0), InstanceNumber);
|
||||
property ("InstanceContinent", PropString, std::string(), InstanceContinent);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -520,7 +520,7 @@ public:
|
|||
property ("ActionName", PropString, std::string(), ActionName);
|
||||
property ("Url", PropString, std::string(), Url);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -536,7 +536,7 @@ public:
|
|||
className ("CReportAIInstanceDespawnMsg");
|
||||
propertyCont ("InstanceNumbers", PropUInt32, InstanceNumbers);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
|
||||
|
@ -555,7 +555,7 @@ public:
|
|||
className ("CWarnBadInstanceMsg");
|
||||
property ("InstanceNumber", PropUInt32, uint32(0), InstanceNumber);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -575,7 +575,7 @@ public:
|
|||
propertyCont ("ActionFlags", PropUInt8, ActionFlags);
|
||||
propertyVector ("Values", PropBool, Values);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
|
||||
inline void push(TDataSetRow entity, uint8 flag, bool value)
|
||||
{
|
||||
|
@ -599,7 +599,7 @@ public:
|
|||
propertyCont ("Entities", PropDataSetRow, Entities);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -620,7 +620,7 @@ public:
|
|||
propertyCont ("SetFull", PropUInt8, SetFull);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -639,7 +639,7 @@ public:
|
|||
propertyCont ("DeltaHp", PropSInt32, DeltaHp);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -657,7 +657,7 @@ public:
|
|||
property ("CreatureId", PropDataSetRow, TDataSetRow(), CreatureId);
|
||||
property ("NewMode", PropUInt8, (uint8)0, NewMode); }
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -673,7 +673,7 @@ public:
|
|||
className ("CCreatureDespawnMsg");
|
||||
propertyCont ("Entities", PropDataSetRow, Entities);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -934,7 +934,7 @@ public:
|
|||
property ("MissionAlias", PropUInt32, uint32(0xffffffff), MissionAlias);
|
||||
property ("DespawnTimeInTick", PropUInt32, uint32(0), DespawnTimeInTick);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -954,7 +954,7 @@ public:
|
|||
property ("GroupAlias", PropUInt32, uint32(0xffffffff), GroupAlias);
|
||||
property ("MissionAlias", PropUInt32, uint32(0xffffffff), MissionAlias);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -974,7 +974,7 @@ public:
|
|||
property ("GroupAlias", PropUInt32, uint32(0xffffffff), GroupAlias);
|
||||
property ("MissionAlias", PropUInt32, uint32(0xffffffff), MissionAlias);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -994,7 +994,7 @@ public:
|
|||
property ("GroupAlias", PropUInt32, uint32(0xffffffff), GroupAlias);
|
||||
property ("MissionAlias", PropUInt32, uint32(0xffffffff), MissionAlias);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
|
||||
|
@ -1046,7 +1046,7 @@ public:
|
|||
propertyCont ("Quantities", PropUInt32, Quantities);
|
||||
property ("MissionText", PropString, std::string(), MissionText);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -1082,7 +1082,7 @@ public:
|
|||
propertyCont ("Quantities", PropUInt32, Quantities);
|
||||
property ("MissionText", PropString, std::string(), MissionText);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {}
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
|
||||
|
@ -1130,7 +1130,7 @@ public:
|
|||
propertyCont ("Params", PropString, Params);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
|
||||
TFunEnum getFunEnum(const std::string& funName) const;
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
property ("CustomName", PropUCString, ucstring(""), CustomName);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
|
||||
|
@ -93,7 +93,7 @@ public:
|
|||
property ("PetMirrorRow", PropDataSetRow, TDataSetRow(), PetMirrorRow);
|
||||
property ("PetIndex", PropUInt16, (uint16)0, PetIdx);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
|
||||
|
@ -123,7 +123,7 @@ public:
|
|||
property ("Heading", PropFloat, 0.0f, Heading);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
@ -151,7 +151,7 @@ public:
|
|||
className ("CPetCommandConfirmationMsg");
|
||||
property ("CommandError", PropUInt16, (uint16)NO_ERROR_COMMAND, CommandError);
|
||||
}
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
@ -171,7 +171,7 @@ public:
|
|||
property ("PetMirrorRow", PropDataSetRow, TDataSetRow(), PetMirrorRow);
|
||||
}
|
||||
|
||||
virtual void callback (const std::string &name, NLNET::TServiceId id) {};
|
||||
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
|
||||
};
|
||||
|
||||
#endif //RY_PET_INTERFACE_MESSAGES_H
|
||||
|
|
Loading…
Reference in a new issue