littleflylongbow / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

A new backend for Guichan - Irrlicht #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've coded up a new backend for Guichan. It uses Irrlicht the 3d rendering
engine. See http://irrlicht.sourceforge.net/ for how to download and
install Irrlicht.

Once you have Irrlicht and Guichan installed, download the attached file
(irr-chan.zip) and go into the examples directory. Modify the makefile to
reflect your irrlicht paths and then you can compile the 3 Guichan examples.

All 3 examples appear to be working fine.
This isn't 100% complete yet; I need to fix the Input handler and the
drawPixel function then it will be all done (though it still works now).
I'll post updates as soon as they are done.

Thanks

Original issue reported on code.google.com by aaron.r....@gmail.com on 23 Oct 2008 at 5:23

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by olof.nae...@gmail.com on 23 Oct 2008 at 8:14

GoogleCodeExporter commented 8 years ago
My patches were approved to Irrlicht today for the drawPixel function which was 
missing, so I
use them now (instead of the hack of drawing a very short line).
Also, I've upgraded the code to work with the latest Guichan svn (instead of 
the 0.8.1 release).
The Input class is done now, too.

So the attached version is ready for inclusion in Guichan svn! It would be 
great if you guys
incorporated this into Guichan, especially for the upcoming 0.9.0 release.

Original comment by aaron.r....@gmail.com on 24 Oct 2008 at 10:42

Attachments:

GoogleCodeExporter commented 8 years ago
I've added the back end. As an author I put the name Aaron Andersen, would you 
prefer
something else? Also, the copyright holder is at the moment me and my friend 
Per (I
just copy pasted our standard license from another header), this should of 
course
change to you (I'll do it as soon as I know what name you prefer).

Original comment by olof.nae...@gmail.com on 26 Oct 2008 at 11:29

GoogleCodeExporter commented 8 years ago
Thanks for putting it into svn! My name is Aaron Andersen so using that will be 
fine.
I'm not sure what you want to do about compiling though (the makefiles, 
etc...)? Just treat it like
the sdl, opengl, etc.. ?

Original comment by aaron.r....@gmail.com on 26 Oct 2008 at 2:33

GoogleCodeExporter commented 8 years ago
Well I'll guess I'll treat it as any other back end. I don't think it will be a 
problem.

Original comment by olof.nae...@gmail.com on 26 Oct 2008 at 4:26

GoogleCodeExporter commented 8 years ago
Found and fixed a bug. I was only masking backgrounds with pink, not 
backgrounds with alpha.

Original comment by aaron.r....@gmail.com on 12 Nov 2008 at 12:06

Attachments:

GoogleCodeExporter commented 8 years ago
It has been commited. Thanks!

Original comment by olof.nae...@gmail.com on 13 Nov 2008 at 4:57

GoogleCodeExporter commented 8 years ago
I would like to get the Irrlicht backend properly supported in Guichan. I'm not 
familiar with creating CMake projects so I don't know how to modify the Guichan 
build 
system to actually build Irrlicht. Up until now I've just created a custom 
platform/system specific makefile for my gnu/linux machine so I could run it... 
Would 
anyone be willing to help me out a little with getting Irrlicht properly 
supported in 
Guichan?

Thanks for your consideration.

Original comment by aaron.r....@gmail.com on 24 Aug 2009 at 6:47

GoogleCodeExporter commented 8 years ago
So I got around to figuring out how to add the Irrlicht backend to Guichan (for
CMake). I have attached the additions for the CMakeLists.txt and a new file for
CMake/Modules/. This works great on debian.

If this could get added to the git repo that would be great.

Original comment by aaron.r....@gmail.com on 6 Dec 2009 at 9:57

Attachments:

GoogleCodeExporter commented 8 years ago
Has been applied. Thanks!

Original comment by olof.nae...@gmail.com on 7 Dec 2009 at 6:13

GoogleCodeExporter commented 8 years ago
Added an IrrlichtFont class, fixed up some white space issues, updated code so 
it is
compatible with most recent irrlicht version (they had a small api break that 
the
irrlicht guichan examples not to compile), etc...

Original comment by aaron.r....@gmail.com on 13 Jan 2010 at 5:57

Attachments: