adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] GUI question


From: Josh Glover
Subject: Re: [Adonthell-devel] GUI question
Date: Wed, 20 Oct 2010 19:38:40 +0200

On 17 October 2010 12:10, Kai Sterker <address@hidden> wrote:

> Get the latest and greatest code (just added some helpful bits to
> test/inputtest). Run test/inputtest to see if we get any gamepad
> events at all. If we do, it'll print the name of each key you press.
> That's what you'll have to insert into ~/.adonthell/adonthell.xml

OK, inputtest helpfully reports some button events, so I added them to
my ~/.adonthell/adonthell.xml like so:

  <Input>
    <a_button>left shift</a_button>
    <b_button>space</b_button>
    <c_button>left control</c_button>
    <d_button>escape</d_button>
    <move_east>right|button 1</move_east>
    <move_north>up|button 3</move_north>
    <move_south>down|button 0</move_south>
    <move_west>left|button 2</move_west>
  </Input>

If the movement works, I'll hook up the rest of the buttons.

The only problem is, worldtest crashes on me. I pulled the latest
wastesedge from git, and am running worldtest like this:

: address@hidden; pwd
/home/jmglov/Documents/coding/adonthell-build
: address@hidden; ./test/worldtest -g .. wastesedge

I get a bunch of SWIG errors, then:

AttributeError: this
*** character::get_character: no character with id 'Player' found!
Segmentation fault

Any ideas what I'm doing wrong? Do I have to build wastesedge first?

Cheers,
Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]