Search found 32 matches

by madoc
Fri Nov 25, 2011 12:46 am
Forum: Bug reports
Topic: [Solved] FreeBSD/Linux Filesystem compile
Replies: 6
Views: 1227

Re: [Solved] FreeBSD/Linux Filesystem compile

Ok I see what you mean, theres __IRR_COMPILE_WITH_X11_DEVICE and _IRR_COMPILE_WITH_X11_. You NEED a device, I didnt think it worked like that because in CIrrDeviceLinux.cpp there are x11 includes that arnt surrounded by __IRR_COMPILE_WITH_X11_ if I surround the includes and the atom namespaces with ...
by madoc
Thu Nov 24, 2011 11:59 pm
Forum: Bug reports
Topic: [Solved] FreeBSD/Linux Filesystem compile
Replies: 6
Views: 1227

Re: [Solved] FreeBSD/Linux Filesystem compile

Hmm, I only want the fallback device, I was excited when i saw it I never noticed it before. I just need a null device for things like the filesystem. Doing undef __IRR_COMPILE_WITH_X11_DEVICE didnt work so what I actually did was add that line to the top of the linux device. I dont see a use_x11 in...
by madoc
Thu Nov 24, 2011 3:33 pm
Forum: Bug reports
Topic: [Solved] FreeBSD/Linux Filesystem compile
Replies: 6
Views: 1227

Re: FreeBSD/Linux Filesystem compile

Nevermind, I got it working, anyone trying to compile on bsd few easy things:
- gmake, not make
- the linux device seems a bit funny in that it thinks x11 device is defined even when its not, i did an undef at the top of the file and I now have my lib, yippie
by madoc
Thu Nov 24, 2011 3:08 pm
Forum: Bug reports
Topic: [Solved] FreeBSD/Linux Filesystem compile
Replies: 6
Views: 1227

[Solved] FreeBSD/Linux Filesystem compile

Most stuff that compiles for linux I can get to compile for bsd, at least the parts I need. In this case I'm trying to compile some stuff for Linux with irrlicht. Now ive done a ton of this just using the includes for the typedefs etc. But now I'm using the filesystem. The normal way of creating the...
by madoc
Sat Jul 31, 2010 1:03 am
Forum: Code Snippets
Topic: New GUI skin [update: new skins, support for 1.5/1.6]
Replies: 112
Views: 74033

Checkbox fix

void CImageGUISkin::drawIcon(IGUIElement* element, EGUI_DEFAULT_ICON icon, const core::position2di position, u32 starttime, u32 currenttime, bool loop, const core::rect<s32>* clip) { // Patch to make checkbox and radio color come from gui::EGDC_WINDOW_SYMBOL -- Madoc if(icon == gui::EGDI_CHECK_BOX_...
by madoc
Sat Jul 31, 2010 12:51 am
Forum: Code Snippets
Topic: New GUI skin [update: new skins, support for 1.5/1.6]
Replies: 112
Views: 74033

No engine patch is required, theres 2 ways to fix the problem with the checkboxes. One is the right way, by fixing the file in irrlicht and recompile, and then submit patch so it can be fixed forever and ever. I didn't do it that way, the way I did it was overload the function that was causing the p...
by madoc
Fri Jul 30, 2010 3:08 am
Forum: Code Snippets
Topic: New GUI skin [update: new skins, support for 1.5/1.6]
Replies: 112
Views: 74033

My contribution

I've been pokeing a sort psudo project for years on and off teaching myself stuff mostly for fun don't intend anything will ever come of it. I've been using Klagui for quite awhile with it. FuzzySpoons additions were EXCELLENT but imho stopped 1 step to early. I never liked that Klagui required code...
by madoc
Tue May 12, 2009 5:38 pm
Forum: Beginners Help
Topic: [SOLVED] Irrlicht array of strings problems
Replies: 2
Views: 380

That worked perfectly! Thank you! Was driving me insane!
by madoc
Tue May 12, 2009 6:49 am
Forum: Beginners Help
Topic: [SOLVED] Irrlicht array of strings problems
Replies: 2
Views: 380

[SOLVED] Irrlicht array of strings problems

list is a linked list internal to the class that returns getName as const wchar_t * I know you cant just in a linked list, this is just an example, the name returns fine. array<stringw> *someclass::thefunc() { array<stringw> *ret = new array<stringw>; u32 i; // I was using u16 but noticed that the [...
by madoc
Thu Sep 25, 2008 3:46 am
Forum: Beginners Help
Topic: Using addZipFileArchive with ignorepaths = false
Replies: 1
Views: 361

Using addZipFileArchive with ignorepaths = false

I'm having a little trouble figureing out how to access files within a zip. files: zipfile.zip skin.xml is a file inside the zip Psudo code /*virtual bool irr::io::IFileSystem::addZipFileArchive ( const c8 * filename, bool ignoreCase = true, bool ignorePaths = true ) [pure virtual] */ fsystem->addZi...
by madoc
Thu Feb 08, 2007 11:28 am
Forum: Beginners Help
Topic: Second form of addtexture not working
Replies: 3
Views: 271

oh HA, I'm a complete moron, thankee
by madoc
Thu Feb 08, 2007 3:25 am
Forum: Beginners Help
Topic: Second form of addtexture not working
Replies: 3
Views: 271

Updated SVN and recompilled irrlicht, I still get the same error. (SVN 466)
by madoc
Thu Feb 08, 2007 2:55 am
Forum: Beginners Help
Topic: Second form of addtexture not working
Replies: 3
Views: 271

Second form of addtexture not working

driver->addTexture("imagename", project->getHmapname()); get hmapname returns an IImage C2664: 'irr::video::ITexture *irr::video::IVideoDriver::addTexture(const irr::core::dimension2d<T> &,const irr::c8 *,irr::video::ECOLOR_FORMAT)' : cannot convert parameter 1 from 'const irr::c8 *' t...
by madoc
Wed Feb 07, 2007 2:30 pm
Forum: Beginners Help
Topic: How to build irrlicht as a static library?
Replies: 5
Views: 354

You might get more help/informed opinions if you gave some information.

- What OS
- What compiler/version of compiler?
- Which version of Irrlicht?
by madoc
Wed Feb 07, 2007 2:23 pm
Forum: Beginners Help
Topic: Camera in a default trajectory
Replies: 2
Views: 229

search the documentation for add camera scene node, theres actually a few different options with the controls already coded for you.