Search found 105 matches
- Fri Mar 16, 2012 7:51 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
It's the other way round - your event-receiver gets those events even before before the gui-elements receive them. With guiEnvironemnt->getRootGUIElement ()->getElementFromPoint(x,y) you can find out which element will receive a mouse-event. Even before I started on this whole endeavor , I checked ...
- Fri Mar 16, 2012 7:29 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
Depends on what you really want to do. You can catch events for that element in your eventreceiver if that is what you need. There is no simply way to derive from an element, but then again copying the code and renaming the class would take me around 1 minute (+ maybe some time to get it compiling ...
- Fri Mar 16, 2012 7:20 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
You have to pass all classes you need to your class (as pointers). And yeah - your inspiration is doing it also wrong - or maybe he modified the engine itself. Might even work when it's static linked (not certain, but would make sense that it works then - still bad style). So there is no cheap and ...
- Fri Mar 16, 2012 6:08 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
But what about all the classes that the implementation depends on ?
this : http://irrlicht.sourceforge.net/forum/v ... =9&t=45795 was my inspiration for doing this
this : http://irrlicht.sourceforge.net/forum/v ... =9&t=45795 was my inspiration for doing this
- Fri Mar 16, 2012 5:55 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
You should probably inherit only the interface classes instead of their implementations. At least I've heard that it's better to just copy over the implementations from irrlicht source to your project and use those copies. The problem with that approach is that I will have to implement *all* of the...
- Fri Mar 16, 2012 5:51 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
what I mean is that he write the OnEvent method. no matters if it was implemented previously. Since when he write again the prototype in the header the linker expect it to be implemented again while he doesn't implemented it ;-). So or he remove the prototype from the header or he just implement th...
- Fri Mar 16, 2012 5:45 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
If you're curious about the library being set up properly , the whole system was working fine , linking and all (along with displaying some static text on screen) until i decided to create my own version.
- Fri Mar 16, 2012 5:43 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Re: Liker error while trying to extend and recompile irrlich
you don't have implemented OnEvent wich is pure virtual. If you want the old OnEvent of CGUIStaticText you ave to remove "OnEvent" from your header (there can still be more errors. at a first look is what I saw). Else you are supposed to provide your own version of OnEvent. It is better t...
- Fri Mar 16, 2012 5:34 pm
- Forum: Beginners Help
- Topic: Liker error while trying to extend and recompile irrlicht
- Replies: 24
- Views: 1503
Liker error while trying to extend and recompile irrlicht
I am trying to create a custom IGUIElement in irrlicht, for that I have included the sources from irrlicht and extended the CIGUIStatictext class. Now whenever I try to compile my project , I get a host of linker errors , I must admit to ignorance of the compilation process and am not really able to...
- Thu Nov 24, 2011 10:30 am
- Forum: Beginners Help
- Topic: Old win-Xp programs dont compile on Win-7
- Replies: 2
- Views: 165
Old win-Xp programs dont compile on Win-7
Almost four years ago, I had made some small projects using irrlicht (on win Xp with DX9). I need to showcase them to some universities to get an admit to their game dev programs , So I tried running the old executables on my current PC (running win 7 with direct X10) , but they just make my whole s...
- Sun Mar 27, 2011 4:58 pm
- Forum: Beginners Help
- Topic: Showing boundaries on Cube Scene Node
- Replies: 7
- Views: 653
Whoa !!
Whoa !! That much just to get a simple boundary on a cube
Still , thanks a lot I'll try it out !
Still , thanks a lot I'll try it out !
- Sun Mar 27, 2011 4:12 pm
- Forum: Beginners Help
- Topic: Showing boundaries on Cube Scene Node
- Replies: 7
- Views: 653
Boundig box : Doesnt show boundaries
Thanks for the suggestion Acki
But the bounding box does not seem to have the effect I need. I need the whole cube, and all its edges to be outlined with black , the bounding box just kinda shows some squiggly white areas outside of the mesh.
But the bounding box does not seem to have the effect I need. I need the whole cube, and all its edges to be outlined with black , the bounding box just kinda shows some squiggly white areas outside of the mesh.
- Sun Mar 27, 2011 1:24 pm
- Forum: Beginners Help
- Topic: Showing boundaries on Cube Scene Node
- Replies: 7
- Views: 653
Showing boundaries on Cube Scene Node
Is it possible to draw boundaries on the cubeSceneNode's I am using a chain of them to form a playing field and need one to be distinguished from the other.
- Sat Mar 26, 2011 11:57 am
- Forum: Everything 2d/3d Graphics
- Topic: Rotating a cuboid about varying axes
- Replies: 1
- Views: 1453
Rotating a cuboid about varying axes
I am trying to make a small game wherein I have to rotate a certain cuboid about its edges over and over again , in response to user input. Picture a box tumbling across a floor. I Tried achieving the animation effect by using the RotationAnimator , but it seems it always rotates the object around i...
- Thu Oct 09, 2008 1:39 pm
- Forum: Game Programming
- Topic: RTS help needed
- Replies: 5
- Views: 2311
:p
no ... i dont mean AI (which btw is such a general term) ...but it seems that i am not able to explain this particular requirement properly, are there no books or something on the subject which would gimme atleast an outline of what i need to know?