Re: [Widelands-public] Languagebindings
Status: Beta
Brought to you by:
sirver
From: Florian L. <di...@ph...> - 2006-10-29 09:43:59
|
Florian Falkner wrote: > Hi, > > I took a look at another oss game (RPG) called "Rastullahs Lockenpracht" ( > http://www.rastullahs-lockenpracht.de). They have really decent language > bindings for Ruby. > > [...] > > The bindings are made with Swig: > http://wiki.team-pantheon.de/Swig > > I can think of several areas where Widelands could make use of this: > > - Buildings / Wares / Programs > Currently the logic is partly in the conf files, the programs are hardcoded in > cpp. > > - AI > The most obvious area. > Another game you all know uses a interpreted language for AI to: wesnoth. Its possible to write an AI with python but also with cpp. > maybe campaings, mission scripting. > > Has someone experience with language bindings? Very complicated? > I dont know much about ruby just have seen some code written in it. Its similar to python (witch i love :)) and i guess simple to learn. > bye > flo > > |