[Top][All Lists]

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

Re: [Help-liquidwar6] Custom controller

From: Andy Armstrong
Subject: Re: [Help-liquidwar6] Custom controller
Date: Mon, 14 Dec 2009 00:43:57 +0000


Whenever I add a function into lw6-main.c like - void andyfunc(){} then add extern void andyfunc(); to the it fails with compilation errors:

Description        Resource        Path        Location        Type
Misplaced {.        liquidwar6-gdoc.texi        /BODY/liquidwar6-0.0.7beta/doc        line 3        C/C++ Problem

And lots of them all the way through that .texi file?!?!!?

What am i doing wrong?!

Andy Armstrong
CICS Explorer Test
IBM United Kingdom Ltd
Hursley Park
Winchester SO21 2JN
Mailpoint 208
Desk location A3/2/04
address@hidden | Internal 245898 | +44 (0)1962 815898 | 07771330510

From: "Christian Mauduit" <address@hidden>
To: "Main discussion list for Liquid War 6,        a unique multiplayer wargame" <address@hidden>
Date: 13/12/2009 20:52
Subject: Re: [Help-liquidwar6] Custom controller
Sent by: address@hidden

On Fri, December 11, 2009 10:40 am, Andy Armstrong wrote:
> Can you please guide me a little more I really dont understand the guile
> bindings.
> I have an x and y co-ord being sent over the OSC network protocol from one
> of my wii controllers which I want to drive one of the custom controllers.
> Therefore I have the raw values, just need to know what to add and where.
The key file is "src/lib/gfx/mod-gl/gl-utils/gl-utils-event.c". This is
where the various declared in "src/lib/gui/gui.h" are filled with real
data. If you hack things directly so that, say, joystick2 is your special
controller, you'll bypass the scheme wizardry. But the patch will sort of
be hardcoded ;) An option can be that you do it that way, I can still take
a look afterwards at the code and see how I can manage proper bindings. I
can't garantee I'll have the time but I would try, at least.

BTW, for your liquidwar6.h problem, the best way is to modify instead, it's pretty much the same file, only some
constants are replaced when "./configureing".

Have a nice day,


Christian Mauduit <address@hidden> - ___ __/\__
Liquid War 6 -      / _")\~ \~/
"Les amis de la vérité sont ceux qui la cherchent et non _/ /   /_ o_\
ceux qui se vantent de l'avoir trouvée" - Condorcet     (__/      \/

Help-liquidwar6 mailing list

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

reply via email to

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