help-liquidwar6
[Top][All Lists]
Advanced

[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: Fri, 11 Dec 2009 10:08:31 +0000


I also want to add a new set of functions for some new functionality to lw6-main.c however I cannot do it - because it seems liquidwars.h is being auto generated thus removing my newly added function definitions.... Can you tell me how to stop it from doing this - or If i wanted to add a new bit of functionality - say an OSC listen server whenever the game is run where I could tie that in to the c code which would not be overwritten when calling make!

Thanks

Andy
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: 11/12/2009 06:25
Subject: Re: [Help-liquidwar6] Custom controller
Sent by: address@hidden






On Thu, December 10, 2009 10:33 pm, Andy Armstrong wrote:
> I dont want to have to edit anything to do with Guile.
>
> Surely at some point a C function is called to update the position of the
> mouse..... cannot I call this directly for a different cursor?
Yes, sure, in practice the *real* function with the "intelligence" in it,
the real code that says "return true if device foo is in state bar" would
be in C, but you'll need a Guile /binding/ such as one found in
lw6-funcs.c (which sort of grew "jumbo size" lately, but most bindings are
trivial).

Have a nice day,

Christian.

--
Christian Mauduit <address@hidden> -
http://deca.ufoot.org ___ __/\__
Liquid War 6 -
http://www.gnu.org/software/liquidwar6      / _")\~ \~/
"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
address@hidden
http://lists.gnu.org/mailman/listinfo/help-liquidwar6








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]