Irrlicht Project Wizard for VS 2008

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
Mux
Posts: 56
Joined: Mon Feb 26, 2007 12:25 pm
Location: Stockholm

Irrlicht Project Wizard for VS 2008

Post by Mux »

I grew tired of writing the same code over and over again when creating a new Irrlicht project so I got the idea to creat a wizard for it. I thought that maybe others would find it usefull too so I've put it up for download here:
http://www.box.net/shared/1xsvoaaps8

Installation instructions:
Put
Irrlicht Project.ico,
Irrlicht Project.vsz and
Irrlicht Project.vsdir
in the .\Microsoft Visual Studio 9.0\VC\vcprojects folder

Put the IrrlichtProject-folder in the .\Microsoft Visual Studio 9.0\VC\VCWizards directory

When you want to create a new project you should see "Irrlicht Project" among the templates installed for Visual Studio. After naming your project you will be asked for the paths to Irrlichts include directory and lib directory. And when clicking on Finish a small Irrlicht project will be created.

I've only tried this on my own computer so I would like to hear if it works on other peoples computers too.
It'll only take a minute or two to debug this code...
kryton9
Posts: 20
Joined: Sun Feb 22, 2009 7:26 pm

Thanks, works great

Post by kryton9 »

This is really nice of you. It works great and will make it so much more fun to experiment with Irrlicht.

Thanks again!

I'm running on the Windows 7 RC version. I just couldn't warm up to the beta of VS2010, so I installed my VS2008 for now.
Greg_OR
Posts: 1
Joined: Thu Dec 03, 2009 3:47 am
Location: Wrocław, Poland

Post by Greg_OR »

thanks a lot, for irr beginner as me its v helpful
only one thing I found wrong in main.cpp (\IrrlichtProject\Templates\1033\)

Code: Select all

...
int main()
{
	IrrlichtDevice *device= createDevice(video::EDT_DIRECT3D9, core::dimension2d<s32>(640, 480),32,false,false,false);
...
and it should be <u32> not <s32>, with that changed it worked for me,
and with the Express Edition (I'm using) the 3 files should go to \Microsoft Visual Studio 9.0\VC\Express\VCProjects\
Post Reply