Search found 21 matches

by SLC
Wed Sep 12, 2018 9:32 pm
Forum: Code Snippets
Topic: Neat way to go byte by byte
Replies: 2
Views: 3494

Re: Neat way to go byte by byte

This is quite a known and very basic thing. In fact, there are quite a few "issues" with that code. Mainly assuming pointers don't know math (in cases where u/intptr_t is not available). Not to mention that on a modern compiler it would get quite loud with aliasing warnings. And a narrow (...
by SLC
Wed Aug 22, 2018 9:05 pm
Forum: Beginners Help
Topic: irr::core::array element typedef
Replies: 1
Views: 693

irr::core::array element typedef

Assuming I have `irr::core::array<SomeType>` there is currently no way to know that `SomeType` is used in `irr::core::array`. Simply put, the array type is missing the typedefs found in regular `std::vector` implementation.   template <class T, typename TAlloc = irrAllocator<T> > class array {   pub...
by SLC
Mon Mar 06, 2017 4:31 pm
Forum: Beginners Help
Topic: What's the inner design [pattern] of Irrlicht?
Replies: 13
Views: 1811

Re: What's the inner design [pattern] of Irrlicht?

... I'd use CLANG for everything... Indeed, having that work on all platforms would be great. I could never get it to work windows and tbh didn't try too much. You either need MSVC to get it to work because it uses the standard library of MSVC and if you want to use the one that comes with MinGW, w...
by SLC
Mon Mar 06, 2017 3:03 pm
Forum: Beginners Help
Topic: What's the inner design [pattern] of Irrlicht?
Replies: 13
Views: 1811

Re: What's the inner design [pattern] of Irrlicht?

Either way, MSVC fell way behind after GCC 4.9.x And while yes, most of it comes down to generated code. I was mostly bugged by the claim that MSVC is somehow the king of C++y features and standard loyalty when I knew from experience that's not the case. And the other thing to note here is the frequ...
by SLC
Sat Mar 04, 2017 9:48 am
Forum: Beginners Help
Topic: What's the inner design [pattern] of Irrlicht?
Replies: 13
Views: 1811

Re: What's the inner design [pattern] of Irrlicht?

... MSVC is usually the first to comply with standards but this varies heavily on the specific feature, iirc GCC did lambdas correctly before MSVC for example. ... I simply cannot agree to that. Let me see if I can have some examples. NOTE: The code is meant to demonstrate the feature not its usefu...
by SLC
Sat Mar 04, 2017 8:00 am
Forum: Off-topic
Topic: Intel up to its tricks to destroy AMD Ryzen
Replies: 6
Views: 4547

Re: Intel up to its tricks to destroy AMD Ryzen

If you people cared less about what a certain reviewer said or did. Then I'm pretty sure companies wouldn't pay so much attention to them. But the world just loves to put X against Y and if there's no reason to put them against each-other then we're gonna make some. Just because it feels so good whe...
by SLC
Sat Mar 04, 2017 7:35 am
Forum: Beginners Help
Topic: [RESOLVED]Minecraft alike game in Irrlicht
Replies: 6
Views: 2610

Re: [RESOLVED]Minecraft alike game in Irrlicht

If I remember correctly, MineTest is using Irrlicht. So you might find some inspiration there.
by SLC
Sun Aug 28, 2016 4:24 am
Forum: Code Snippets
Topic: DFF mesh format loader
Replies: 81
Views: 44638

Re: DFF mesh format loader

It's been some time since this topic has been created , and I don't see any recent activity. But I was wondering if someone still has some of the files that have been posted here. (all links are dead) Thank you. I don't think so. But if you're looking into loading GTA DFF files with C++ then you ma...
by SLC
Sat Dec 12, 2015 1:13 am
Forum: Code Snippets
Topic: Signals and Slots GUI wrapper
Replies: 1
Views: 1463

Signals and Slots GUI wrapper

This is something I made tonight as a fun project after I noticed it gets a bit annoying to have a switch case for all gui elements especially when the user interface might be a little populated. I wish the developers would think about including the option to associate an arbitrary user pointer with...
by SLC
Thu Jun 11, 2015 7:16 pm
Forum: Beginners Help
Topic: GCC 64bit compilation on Windows
Replies: 1
Views: 1713

Re: GCC 64bit compilation on Windows

Assuming you have the latest MinGW -w64 version installed on your computer ( not the TDM GCC one. that's just asking for trouble ). Download Code::Blocks and install it as well. Download the version without the compiler ( codeblocks-##.##-setup.exe ) Get your Irrlicht source. Either from repository ...
by SLC
Wed May 20, 2015 5:51 am
Forum: Everything 2d/3d Graphics
Topic: Irrlicht needs video tutorials, and lots of them
Replies: 14
Views: 5594

Re: Irrlicht needs video tutorials, and lots of them

I know there's a couple videos (here, here) to get you started but I don't really expect someone to make a whole series on it and even go through the trouble of actually writing an actual game.
by SLC
Fri Apr 24, 2015 8:09 pm
Forum: Bug reports
Topic: The latest SVN bugs thread
Replies: 407
Views: 148361

Re: The latest SVN bugs thread

I was trying to compile the SVN version of Irrlicht without the Burning's video driver and I got an undefined reference in " [irrlicht-dir]\source\Irrlicht\CSoftwareDriver2.cpp ". Somewhere at the bottom of the file there should be a check if the video driver is actually enabled. Instead i...
by SLC
Sun Feb 09, 2014 8:01 am
Forum: Beginners Help
Topic: Irrlicht.dll with DIRECT3D9
Replies: 6
Views: 1013

Re: Irrlicht.dll with DIRECT3D9

I think DirectX 8 input system doesn't work with gcc 4.8+. It happened to me and I gave up using DirectX input system and used the other input systems available on windows which Irrlicht had. Read here to find a similar problem which was fixed by defining NO_IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ or...
by SLC
Sat Feb 08, 2014 7:07 am
Forum: Beginners Help
Topic: Irrlicht.dll with DIRECT3D9
Replies: 6
Views: 1013

Re: Irrlicht.dll with DIRECT3D9

You need the DirectX SDK to get the DirectX libraries needed by Irrlicht and when you compile Irrlicht you just link your project to those libraries ( d3dx9 or d3dx9d for debug ) and point it to the include folder in the DirectX SDK installation folder( .\Microsoft DirectX SDK (March 2009 )\Include)...
by SLC
Sun Feb 02, 2014 1:14 pm
Forum: Beginners Help
Topic: Windows XP is indicated under Win7
Replies: 2
Views: 372

Re: Windows XP is indicated under Win7

Do you run it in some Compatibility mode?