Search found 172 matches

by Catprog
Sat Dec 21, 2013 1:17 pm
Forum: Beginners Help
Topic: Culling Problem [solved]
Replies: 1
Views: 300

Re: Culling Problem?

Turns out it was my driver.
by Catprog
Sat Dec 21, 2013 2:04 am
Forum: Beginners Help
Topic: Culling Problem [solved]
Replies: 1
Views: 300

Culling Problem [solved]

I believe I have a problem with the culling for my model http://img543.imageshack.us/img543/7469/fwmb.png The floor has disappeared along with one of the columns on the right. code for the node and camera       scene::ISceneNode* node = smgr->addMeshSceneNode( mesh );         if (node)     {        ...
by Catprog
Fri Oct 12, 2012 9:07 am
Forum: Beginners Help
Topic: Menu ID problem [solved]
Replies: 2
Views: 376

Re: Menu ID problem

Thanks. That was it.
by Catprog
Fri Oct 12, 2012 12:20 am
Forum: Beginners Help
Topic: Menu ID problem [solved]
Replies: 2
Views: 376

Menu ID problem [solved]

I can't seem to get the id of a menu it prints MENU SELECTED but the ID is always -1. event recevier               if (event.EventType ==  EET_GUI_EVENT)         {                 s32 id = event.GUIEvent.Caller->getID();               switch(event.GUIEvent.EventType)             {                 ca...
by Catprog
Sun Sep 16, 2012 10:49 pm
Forum: Beginners Help
Topic: Gui buttons problems [solved]
Replies: 3
Views: 1333

Re: Gui buttons problems

Sorry, that's too much code for me to understand what's going on without compiling and trying. And it's not enough code for just compiling and trying... But the typical reason is that it doesn't get the focus (for example some invisible statictext being in front of it - that happened to me already ...
by Catprog
Sun Sep 16, 2012 7:28 am
Forum: Beginners Help
Topic: Gui buttons problems [solved]
Replies: 3
Views: 1333

Re: Gui buttons problems

Button Creation:   Menu::Menu(irr::IrrlichtDevice* deviceLink,status* statusLink) {     device = deviceLink;     statusStore = statusLink;     currentMenu = MainMenu;       fileConfirmation = false;         device->getFileSystem()->addZipFileArchive("menu.mnu",true,false);       IGUIEnviro...
by Catprog
Sun Sep 16, 2012 7:24 am
Forum: Beginners Help
Topic: Gui buttons problems [solved]
Replies: 3
Views: 1333

Gui buttons problems [solved]

I have a strange problem with my gui buttons. Despite the button text being black and not grey(I think this means it is enabled) i cannot click them.(and by that I mean the buttons do not go into a pressed state.) Also: this only occurs after I go off the main menu the first time. Some buttons do wo...
by Catprog
Sat Aug 18, 2012 2:11 pm
Forum: Beginners Help
Topic: Problem with string::splt [solved]
Replies: 2
Views: 232

Re: Problem with string::splt

Hm, sorry, I can't reproduce it so far - tried with svn trunk and the 1.7.3 release. You just call it like this?   getStackFromStr("1 0 24A1 0 24A2 0 24A");   it was called from another function which cut down a larger string into that. I tried replacing the call with your call but it sti...
by Catprog
Sat Aug 18, 2012 10:41 am
Forum: Beginners Help
Topic: Problem with string::splt [solved]
Replies: 2
Views: 232

Problem with string::splt [solved]

i am trying to get the following code working:    void getStackFromStr(irr::core::stringc str){           if(str.subString(str.size()-1,1)=="A"){               str = str.subString(0,str.size()-2);           }           std::vector<irr::core::stringc> tiles;           str.split(tiles,"...
by Catprog
Sat Jul 14, 2012 6:14 am
Forum: Code Snippets
Topic: 2D images with rotation
Replies: 43
Views: 29880

Re: 2D images with rotation

I am getting a bit of jitter as well. BackOfMap,FrontMap are the two textures. left,right,top,bottom are where it is being drawn. frame is what step it is on.     void draw(irr::scene::ISceneManager* smgr )     {           core::dimension2d<u32> texSize = BackOfMap->getSize();           cImage* mapF...
by Catprog
Fri Jul 13, 2012 2:15 pm
Forum: Beginners Help
Topic: Split a texture (roll out map)
Replies: 1
Views: 286

Split a texture (roll out map)

I would like to know how to split a texture so only some of it is displayed. The idea is I start of showing most of textureA but most of it off screen and as I move it to the right (on screen) I also remove part of the right hand side(texture) The reverse will happen for textureB I will show the lef...
by Catprog
Tue Aug 30, 2011 12:24 pm
Forum: Beginners Help
Topic: 2dimage mix.
Replies: 1
Views: 157

2dimage mix.

Is their any way to combine 2d images like in the image below within irrlicht?.

Image
by Catprog
Thu May 12, 2011 5:53 am
Forum: Beginners Help
Topic: XML editing
Replies: 2
Views: 197

XML editing

Is their a simple way of reading a xml file and then modify only one of the values and then writing the whole thing back?
by Catprog
Wed Nov 10, 2010 6:43 am
Forum: Beginners Help
Topic: LNK2001 errors with my code. [not with .lib file]
Replies: 3
Views: 314

Thank you.
by Catprog
Fri Nov 05, 2010 1:50 am
Forum: Beginners Help
Topic: LNK2001 errors with my code. [not with .lib file]
Replies: 3
Views: 314

LNK2001 errors with my code. [not with .lib file]

The problem I have is the code is not finding the code to run each room Error 1 error LNK2001: unresolved external symbol "public: virtual void __thiscall IRoom::setup(class irr::video::IVideoDriver *,class irr::IrrlichtDevice *,int,int)" (?setup@IRoom@@UAEXPAVIVideoDriver@video@irr@@PAVIr...