GLBasic forum

Main forum => GLBasic - en => Topic started by: sidegame on 2013-May-07

Title: Ogre iphone Wrapper
Post by: sidegame on 2013-May-07
Hi there! 
I want to create a wrapper (OGRE iPhone) for GLBasic, but I don't have Mach experience with creating wrapper for GLBasic. So, can anyone help me that from where should I start?
Because I really love the 3D power of OGRE and the simplicity of GLBasic, so by combining these two I want to create good game for iphone.
Any help will be appreciated
Thanks,

here is the link for OGRE iPHONE

http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Ogre+iPhone (http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Ogre+iPhone)
Title: Re: Ogre iphone Wrapper
Post by: backslider on 2013-May-07
Maybe you should first try to Write a simple wrapper like for a XML library to learn it.
Ogre is a biiiiiig project to wrap (also for pros)! ;)
You can have a look into my TinyXml or BulletWrapper in the Forum.
Maybe Schranz0r extended the BulletWrapper? :p
Title: Re: Ogre iphone Wrapper
Post by: sidegame on 2013-May-07
Oh! Really that is great, but how should I do that can you help me plz? (any tutorial) it doesn't matter any wrapper will be great.
The only thing I want is that how to create a wrapper for GLBasic.
Title: Re: Ogre iphone Wrapper
Post by: matchy on 2013-May-08
sidegame, can you show us some stuff you've done in OGRE?
Title: Re: Ogre iphone Wrapper
Post by: Moru on 2013-May-08
To clear up a double-post, I paste mentalthink´s answer here instead:

Quote from: mentalthink on 2013-May-07
Hi for make a wrapper not always it's the same way... if you look in the forum depends the thing you want make a wrapper it's different...

Another thing... I counsil make a port of Proton5, works in a lot of devices...
Title: Re: Ogre iphone Wrapper
Post by: sidegame on 2013-May-09
guys i just want to know the method use for creating wrapper for glbasic; the rest of thing i will do it my self
i need just a short tutorial that show how to create  a wrapper for glbasic
can anyone help me plz
Title: Re: Ogre iphone Wrapper
Post by: Schranz0r on 2013-May-10
- you have to include the lib on "Project -> options -> Ink ( maybe in the english IDE it is "Inc" ) i don't know.
- add new gbas to the project
- the new gbas is for the wrappercode something like this:

Code (glbasic) Select
INLINE
} // Close glbasic-namespace if you need to...

#include "headerfiles.h"

// now you can code like in normal c / c++


namespace __GLBASIC__{ // open GLBasic-namespace
ENDINLINE


thats the basic way to do this.
Take a look into other wrapper, to see more details.
Title: Re: Ogre iphone Wrapper
Post by: sidegame on 2013-May-11
Quote from: Schranz0r on 2013-May-10
- you have to include the lib on "Project -> options -> Ink ( maybe in the english IDE it is "Inc" ) i don't know.
- add new gbas to the project
- the new gbas is for the wrappercode something like this:

Code (glbasic) Select
INLINE
} // Close glbasic-namespace if you need to...

#include "headerfiles.h"

// now you can code like in normal c / c++


namespace __GLBASIC__{ // open GLBasic-namespace
ENDINLINE


thats the basic way to do this.
Take a look into other wrapper, to see more details.


Thanks Schranz0r, =D
Actually that is what i wanted, Great work  :good: thanks again man!  :nw:  :nw:  :nw: