Fixed a few issues, everything now works again.idlparser-rewrite-pegtlmaster
authorAntoine Chavasse <antoine@Lulz.(none)>
Sun, 14 Jun 2009 16:15:14 +0000 (14 18:15 +0200)
committerAntoine Chavasse <antoine@Lulz.(none)>
Sun, 14 Jun 2009 16:15:14 +0000 (14 18:15 +0200)
src/idl/parser/actions_class.h
src/math/Matrix44f.cpp
src/math/failmath.h [moved from src/math/math.h with 98% similarity]
src/scenegraph/scenegraph.fidl
src/scenegraph/shapes/Cone.cpp
src/scenegraph/shapes/Cylinder.cpp

index 1e6eed5..1e07c66 100644 (file)
@@ -46,6 +46,7 @@ namespace fail { namespace idlparser
                        s.pCurrentNamespace->addStruct( s.pCurrentClass );
 
                        s.pCurrentClass->setFlags( s.ClassFlags );
+                       s.pCurrentClass->setFlag( "ValueType", true );
                        s.MembersFlags.clear();
                        s.pCurrentFlags = &s.MembersFlags;
                }
index dd8c9dc..72ae1c9 100644 (file)
@@ -16,7 +16,7 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-#include "math/math.h"
+#include "math/failmath.h"
 
 using namespace fail;
 using namespace fail::math;
similarity index 98%
rename from src/math/math.h
rename to src/math/failmath.h
index 85995cf..491c1d2 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef FAIL_MATH_MATH_H_
 #define FAIL_MATH_MATH_H_
 
+#include <cmath>
 #include "core/core.h"
 #include "Vector2f.h"
 #include "Vector3f.h"
index d81cccc..73d990c 100644 (file)
@@ -63,7 +63,7 @@ namespace fail { namespace scenegraph
        // It can be a simple mesh, a composite mesh, a character, a world sector,
        // a terrain, a culling object, a portal etc.
        // The root object for the world is a Renderable.
-       [ !Abstract ]
+       [ Abstract ]
        class Renderable : Persistable
        {
                virtual void evaluate( shared_ptr< RenderPass > pPass );
index b8982da..fa1f5b0 100644 (file)
@@ -19,7 +19,7 @@
 #include "scenegraph/shapes/Cone.h"
 #include "scenegraph/RenderPass.h"
 #include "scenegraph/IndexBuffer16.h"
-#include "math/math.h"
+#include "math/failmath.h"
 
 using namespace fail;
 using namespace fail::scenegraph;
index 6b6ad52..548e0e8 100644 (file)
@@ -19,7 +19,7 @@
 #include "scenegraph/shapes/Cylinder.h"
 #include "scenegraph/RenderPass.h"
 #include "scenegraph/IndexBuffer16.h"
-#include "math/math.h"
+#include "math/failmath.h"
 
 using namespace fail;
 using namespace fail::scenegraph;