~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/manipulation/entityrecipes/test.entityrecipe

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-10-22 23:21:17 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091022232117-isr8u3402qmu7ilo
Tags: 0.5.7-1
* New upstream release.
  - Compile against current ogre (Closes: #551431)
  - Removed debian/patches/ember-gcc4.4.patch. Merged upstream.
  - Updated Depends on ember-media.
* Add libboost-thread-dev tp Build-Depends.
* Make debian/rules independent from upstream version.
* Updated watch file to allow automatic download of new upstream
  tarballs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<entityrecipes>
2
 
  <entityrecipe name="test">
3
 
    <entity type="boulder">
4
 
      <atlas>
5
 
        <map>
6
 
          <int name="foo">$bar</int>
7
 
          <float name="meep">1.5</float>
8
 
          <string name="bar">$hello</string>
9
 
          <list name="args">
10
 
            <int>1</int>
11
 
            <int>$foo</int>
12
 
            <float>3.0</float>
13
 
          </list>
14
 
        </map>
15
 
      </atlas>
16
 
    </entity>
17
 
    <adapters>
18
 
      <adapter name="value_of_a" type="position2d" />
19
 
      <adapter name="value_of_b" type="number" />
20
 
      <adapter name="value_of_c" type="number" />
21
 
    </adapters>
22
 
    <bindings>
23
 
      <bind name="hello">
24
 
        <adapter name="value_of_b" />
25
 
      </bind>
26
 
      <bind name="foo" func="testFunc">
27
 
        <adapter name="value_of_a" />
28
 
      </bind>
29
 
      <bind name="bar">
30
 
        <adapter name="value_of_c" />
31
 
      </bind>
32
 
    </bindings>
33
 
    <script><![CDATA[
34
 
      function testFunc(a)
35
 
        print("Poof!")
36
 
        print(tolua.type(a), a:isList(), a:asList():size())
37
 
        for k, v in a:asList():pairs() do
38
 
          print(k, '=>', tolua.type(v), v:getType())
39
 
        end
40
 
        return Atlas.Message.Element(123)
41
 
      end
42
 
 
43
 
      function fTest ()
44
 
        print("Yay!")
45
 
        return Atlas.Message.Element(123)
46
 
      end
47
 
 
48
 
      function fTest_error ()
49
 
        print("Yay!")
50
 
        return Atlas.Message.IntElement(123)
51
 
      end
52
 
    ]]></script>
53
 
  </entityrecipe>
54
 
</entityrecipes>