[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/objects/test_object.cpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/objects/test_object.cpp |
Date: |
Tue, 01 Mar 2005 19:27:12 -0500 |
Index: usata2/src/objects/test_object.cpp
diff -u usata2/src/objects/test_object.cpp:1.15
usata2/src/objects/test_object.cpp:1.16
--- usata2/src/objects/test_object.cpp:1.15 Tue Jan 25 19:26:33 2005
+++ usata2/src/objects/test_object.cpp Wed Mar 2 00:27:11 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: test_object.cpp,v 1.15 2005/01/25 19:26:33 skunix Exp $
+// $Id: test_object.cpp,v 1.16 2005/03/02 00:27:11 skunix Exp $
#include "../object.hpp"
#include "../object-registry.hpp"
@@ -34,7 +34,7 @@
virtual void realize(Usata&, const Object_sp& );
Something();
virtual ResourceList
- construct(const
ObjectProperties&){return ResourceList();}
+
construct(ObjectProperties&){return ResourceList();}
virtual void update(void);
virtual void draw (void);
virtual ~Something(){};
@@ -103,7 +103,7 @@
Something::realize(Usata& game, const Object_sp& self)
{
t = game.images().get("atex");
- game.scene().add(self, "gui");
+ game.scene()->add(self, "gui");
}
USATA_OBJECT_REGISTER(Something)
- [Usata-commits] Changes to usata2/src/objects/test_object.cpp,
David Lau <=