Ogre iphone Wrapper

Previous topic - Next topic

sidegame

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

backslider

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

sidegame

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.

matchy

sidegame, can you show us some stuff you've done in OGRE?

Moru

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...

sidegame

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

Schranz0r

- 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.
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

sidegame

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: