Simple Irrlicht MapEditor (with sources)
Simple Irrlicht MapEditor (with sources)
Hello all
As im see here noone make opensource map editor for Irrlicht , so im post mine
Note:
Its can't select BSP maps
All textures must be in data/textures directory
sky textures - in data/textures/sky
terrain textures - in data/textures/terrain
models - in data/models
For use maps in your project you needed include next files :
GameMap.cpp
strings.cpp
GameMap.h
MapObject.h
customnode.h
Particle.h
strings.h
P.S. Editor require Irrlich patchs from My3D
Here executable and source code of editor:
http://www.shadow-dimension.com/IrrsEd/IrrsEdit.zip
As im see here noone make opensource map editor for Irrlicht , so im post mine
Note:
Its can't select BSP maps
All textures must be in data/textures directory
sky textures - in data/textures/sky
terrain textures - in data/textures/terrain
models - in data/models
For use maps in your project you needed include next files :
GameMap.cpp
strings.cpp
GameMap.h
MapObject.h
customnode.h
Particle.h
strings.h
P.S. Editor require Irrlich patchs from My3D
Here executable and source code of editor:
http://www.shadow-dimension.com/IrrsEd/IrrsEdit.zip
-
- Posts: 91
- Joined: Fri Oct 31, 2003 5:03 am
Wow man, looks great! I'm definately giving this one a try.
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
-
- Posts: 448
- Joined: Tue Oct 05, 2004 3:24 am
- Location: Boston, MA
Holy crap! This has to be one of the sweets add-ons with Irrlicht! Great work!
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Learn the basics at </dream.in.code>
I guess that this will become useful for our project as well. So what about your license for all this?
Anyway, I ported the editor to Linux, added a Makefile, and fixed some other bugs as well. Patch is available at http://parsys.informatik.uni-oldenburg. ... Edit.patch
The major changes include file system support for Linux, i.e. replace DeleteFile GetCurrentDirectory and SetCurrentDirectory as well as ifdef'ing the include windows things. I hope I got a useable define, I did not check it with Windows again.
I had some problems loading meshes due to truncated filenames, I quick fixed it in addObject. The character to iString conversion did not work due to missing const. In swprintf I did not get the %S working, only %s which is fine for gcc.
The "pragma once" had been marked as deprecated and header defines are already included, so what are these good for anymore?
Ok, that's it for now, looking forward for new versions supporting more features of Irrlicht. And yeah, superb work.
Anyway, I ported the editor to Linux, added a Makefile, and fixed some other bugs as well. Patch is available at http://parsys.informatik.uni-oldenburg. ... Edit.patch
The major changes include file system support for Linux, i.e. replace DeleteFile GetCurrentDirectory and SetCurrentDirectory as well as ifdef'ing the include windows things. I hope I got a useable define, I did not check it with Windows again.
I had some problems loading meshes due to truncated filenames, I quick fixed it in addObject. The character to iString conversion did not work due to missing const. In swprintf I did not get the %S working, only %s which is fine for gcc.
The "pragma once" had been marked as deprecated and header defines are already included, so what are these good for anymore?
Ok, that's it for now, looking forward for new versions supporting more features of Irrlicht. And yeah, superb work.