<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — I am stuck with setup and compilation of the irrlicht modules, please]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=484&amp;type=atom" />
	<updated>2013-12-20T21:35:47Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=484</id>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1810#p1810" />
			<content type="html"><![CDATA[<p>any updates?</p><p>I&#039;m having issues using the addons.mod.<br />The application does nothing or crashes. sucks...<br />You only need to import the module.</p><p>EDIT:<br />Nevermind. I&#039;m using Unity3D now.</p>]]></content>
			<author>
				<name><![CDATA[unz]]></name>
				<uri>https://gprogs.com/profile.php?id=380</uri>
			</author>
			<updated>2013-12-20T21:35:47Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1810#p1810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1809#p1809" />
			<content type="html"><![CDATA[<p>Hello gman!<br />I&#039;m glad you&#039;re willing to update the irrlicht mod!<br />As said here:http://www.gprogs.com/viewtopic.php?id=481<br />I would add doc comments to the module if you will upload it afterwards.</p><p>bye</p>]]></content>
			<author>
				<name><![CDATA[unz]]></name>
				<uri>https://gprogs.com/profile.php?id=380</uri>
			</author>
			<updated>2013-11-14T15:03:36Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1809#p1809</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1808#p1808" />
			<content type="html"><![CDATA[<p>greetings Juggernaut.&nbsp; My sincere apologies on the delay.&nbsp; I have been unable to get v1.8 to talk to BMAX.&nbsp; I will continue to work on it as I have time.&nbsp; I have not changed my setup so there is something with the new Irrlicht release causing it.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2013-11-12T23:57:44Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1808#p1808</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1804#p1804" />
			<content type="html"><![CDATA[<p>Any update Sir ?</p>]]></content>
			<author>
				<name><![CDATA[Juggernaut]]></name>
				<uri>https://gprogs.com/profile.php?id=386</uri>
			</author>
			<updated>2013-10-18T04:05:56Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1804#p1804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1799#p1799" />
			<content type="html"><![CDATA[]]></content>
			<author>
				<name><![CDATA[Juggernaut]]></name>
				<uri>https://gprogs.com/profile.php?id=386</uri>
			</author>
			<updated>2013-09-08T13:11:17Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1799#p1799</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1798#p1798" />
			<content type="html"><![CDATA[<p>greetings!&nbsp; my apologies for the delayed response.&nbsp; </p><br /><p>1) i tried running XEffects as well and couldnt get it to go.&nbsp; I will see if i can find where it is crashing.&nbsp; </p><p>3) my apologies for the confusion.&nbsp; The B3D mod is meant to run under BlitzMax only but provide a command set similar to Blitz3D.&nbsp; Note it is unfortunately not complete but is quite functional and a great way to see how B3D commands can be translated to Irrlicht.</p><p>4) BlitzMax comes with sound support.&nbsp; check on TSound and TChannel in the manual</p><p>5) I&#039;m not sure if anyone has a mod out there for physics or not.&nbsp; I would check on the BMAX forums.</p><p>2) currently there is an error in one of the wrapper files.&nbsp; to rebuild the Irrlicht module please replace the contents of iguiskin_wrap.h with the following code:<br /></p><div class="codebox"><pre><code>//------------------------------------------------------------------------------------
// irr::gui::IGUISkin wrappers
// do not delete a pointer to this
//------------------------------------------------------------------------------------

extern &quot;C&quot; 
{
    s32 IrrGUI_IGUISkin_getSize(IGUISkin* skin,EGUI_DEFAULT_SIZE which)
    {
        if (skin)
            return skin-&gt;getSize(which);
        else return 0;
    }
    
    void IrrGUI_IGUISkin_setSize(IGUISkin* skin,EGUI_DEFAULT_SIZE which, s32 size)
    {
        if (skin)
            skin-&gt;setSize(which,size);
    }
    
    SColor* IrrGUI_IGUISkin_getColor(IGUISkin* skin,EGUI_DEFAULT_COLOR which)
    {
        if (skin)
            return new SColor(skin-&gt;getColor(which));
        else return 0;
    }
    
    void IrrGUI_IGUISkin_setColor(IGUISkin* skin,EGUI_DEFAULT_COLOR which,SColor* newColor)
    {
        if (skin)
            skin-&gt;setColor(which,*newColor);
    }
            
    const c8* IrrGUI_IGUISkin_getDefaultText(IGUISkin* skin,EGUI_DEFAULT_TEXT which)
    {
        if (skin) {
            stringc* text=new stringc(skin-&gt;getDefaultText(which));
            return text-&gt;c_str();
        } else return 0;
    }
    
    void IrrGUI_IGUISkin_setDefaultText(IGUISkin* skin,EGUI_DEFAULT_TEXT which, const c8* newText)
    {
        stringw w_text = newText;
        if (skin)
            skin-&gt;setDefaultText(which,w_text.c_str());
    }
    
    void IrrGUI_IGUISkin_draw3DButtonPaneStandard(IGUISkin* skin,IGUIElement* element,const core::rect&lt;s32&gt;* rect,const core::rect&lt;s32&gt;* clip=0)
    {
        if (skin)
            skin-&gt;draw3DButtonPaneStandard(element,*rect,clip);
    }
    
    void IrrGUI_IGUISkin_draw3DButtonPanePressed(IGUISkin* skin,IGUIElement* element, 
                const core::rect&lt;s32&gt;* rect,
                const core::rect&lt;s32&gt;* clip=0)
    {
        if (skin)
            skin-&gt;draw3DButtonPanePressed(element,*rect,clip);
    }
    
    void IrrGUI_IGUISkin_draw3DSunkenPane(IGUISkin* skin,IGUIElement* element,
                video::SColor* bgcolor, bool flat, bool fillBackGround,
                const core::rect&lt;s32&gt;* rect,
                const core::rect&lt;s32&gt;* clip=0)
    {
        if (skin)
            skin-&gt;draw3DSunkenPane(element,*bgcolor,flat,fillBackGround,*rect,clip);
    }
    
    // must delete return value
    rect&lt;s32&gt;* IrrGUI_IGUISkin_draw3DWindowBackground(IGUISkin* skin,IGUIElement* element,
                bool drawTitleBar, SColor* titleBarColor,
                const core::rect&lt;s32&gt;* rect,
                const core::rect&lt;s32&gt;* clip = 0, core::rect&lt;s32&gt;* checkClientArea = 0)
    {
        if (skin)
            return new core::rect&lt;s32&gt;(skin-&gt;draw3DWindowBackground(element,drawTitleBar,*titleBarColor,*rect, clip, checkClientArea));
        else return 0;
    }
    
    void IrrGUI_IGUISkin_draw3DMenuPane(IGUISkin* skin,IGUIElement* element,
                const core::rect&lt;s32&gt;* rect,
                const core::rect&lt;s32&gt;* clip=0)
    {
        if (skin)
            skin-&gt;draw3DMenuPane(element,*rect,clip);
    }
    
    void IrrGUI_IGUISkin_draw3DToolBar(IGUISkin* skin,IGUIElement* element,
                const core::rect&lt;s32&gt;* rect,
                const core::rect&lt;s32&gt;* clip=0)
    {
        if (skin)
            skin-&gt;draw3DToolBar(element,*rect,clip);
    }
        
    // do not delete
    IGUISpriteBank* IrrGUI_IGUISkin_getSpriteBank(IGUISkin* skin)
    {
        if (skin)
            return skin-&gt;getSpriteBank();
        else return 0;
    }
    
    void IrrGUI_IGUISkin_setSpriteBank(IGUISkin* skin,IGUISpriteBank* bank)
    {
        if (skin)
            skin-&gt;setSpriteBank(bank);
    }
    
    u32 IrrGUI_IGUISkin_getIcon(IGUISkin* skin,EGUI_DEFAULT_ICON icon)
    {
        if (skin)
            return skin-&gt;getIcon(icon);
        else return 0;
    }
    
    void IrrGUI_IGUISkin_setIcon(IGUISkin* skin,EGUI_DEFAULT_ICON icon, u32 index)
    {
        if (skin)
            skin-&gt;setIcon(icon,index);
    }
    
    s32 IrrGUI_IGUISkin_getType(IGUISkin* skin)
    {
        if (skin)
            return skin-&gt;getType();
        else return -1;
    }
    
    void IrrGUI_IGUISkin_drawIcon(IGUISkin* skin,IGUIElement* element, EGUI_DEFAULT_ICON icon,
        position2di* position, u32 starttime=0, u32 currenttime=0, 
        bool loop=false, recti* clip=0)
    {
        if (skin)
            skin-&gt;drawIcon(element,icon,*position,starttime,currenttime,loop,clip);
    }

    // do not delete
    IGUIFont* IrrGUI_IGUISkin_getFont(IGUISkin* skin,EGUI_DEFAULT_FONT which=EGDF_DEFAULT)
    {
        if (skin)
            return skin-&gt;getFont(which);
        else return 0;
    }

    void IrrGUI_IGUISkin_setFont(IGUISkin* skin,IGUIFont* font, EGUI_DEFAULT_FONT which=EGDF_DEFAULT)
    {
        if (skin)
            skin-&gt;setFont(font,which);
    }

    void IrrGUI_IGUISkin_draw2DRectangle(IGUISkin* skin, IGUIElement* element, SColor* color, rect&lt;s32&gt;* pos, rect&lt;s32&gt;* clip = 0)
    {
        if (skin)
            skin-&gt;draw2DRectangle(element, *color, *pos, clip);
    }
    
    void IrrGUI_IGUISkin_draw3DTabButton(IGUISkin* skin, IGUIElement* element, bool active, const core::rect&lt;s32&gt;* rect, const core::rect&lt;s32&gt;* clip=0, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT)
    {
        if (skin)
            skin-&gt;draw3DTabButton(element, active, *rect, clip, alignment);
    }

    void IrrGUI_IGUISkin_draw3DTabBody(IGUISkin* skin, IGUIElement* element, bool border, bool background, const core::rect&lt;s32&gt;* rect, const core::rect&lt;s32&gt;* clip=0, s32 tabHeight=-1, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT )
    {
        if (skin)
            skin-&gt;draw3DTabBody(element, border, background, *rect, clip, tabHeight, alignment); 
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2013-09-08T04:31:24Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1798#p1798</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[I am stuck with setup and compilation of the irrlicht modules, please]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1797#p1797" />
			<content type="html"><![CDATA[]]></content>
			<author>
				<name><![CDATA[Juggernaut]]></name>
				<uri>https://gprogs.com/profile.php?id=386</uri>
			</author>
			<updated>2013-08-31T15:08:39Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1797#p1797</id>
		</entry>
</feed>
