Update of /cvsroot/ogs/dist/c++/ogs/magic
In directory sc8-pr-cvs1:/tmp/cvs-serv24985/magic
Modified Files:
MetamagicFeat.h Range.h Spell.h
Log Message:
See C++ ChangeLog (Mar 28) for details.
Index: MetamagicFeat.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/magic/MetamagicFeat.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MetamagicFeat.h 27 Feb 2003 01:24:37 -0000 1.4
--- MetamagicFeat.h 29 Mar 2003 02:10:39 -0000 1.5
***************
*** 50,54 ****
virtual int getAddedLevels () = 0;
! ~MetamagicFeat ();
};
--- 50,54 ----
virtual int getAddedLevels () = 0;
! virtual ~MetamagicFeat () { }
};
Index: Range.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/magic/Range.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Range.h 25 Feb 2003 19:40:26 -0000 1.2
--- Range.h 29 Mar 2003 02:10:39 -0000 1.3
***************
*** 79,83 ****
private:
! Type type;
};
--- 79,83 ----
private:
! Type _type;
};
***************
*** 110,113 ****
--- 110,122 ----
/**
+ * Create a new range.
+ *
+ * @param type Type of range.
+ */
+ inline Range::Range (Type type): _type (type) {
+ // empty constructor body
+ }
+
+ /**
* Determine type of this spell range.
*
***************
*** 115,119 ****
*/
inline Range::Type Range::getType () const {
! return (this->type);
};
--- 124,128 ----
*/
inline Range::Type Range::getType () const {
! return (this->_type);
};
Index: Spell.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/magic/Spell.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Spell.h 25 Feb 2003 19:40:26 -0000 1.3
--- Spell.h 29 Mar 2003 02:10:39 -0000 1.4
***************
*** 76,80 ****
virtual bool attachMetamagicFeat (MetamagicFeat& metamagicFeat);
! virtual ~Spell ();
protected:
--- 76,80 ----
virtual bool attachMetamagicFeat (MetamagicFeat& metamagicFeat);
! virtual ~Spell () { }
protected:
|