Patch for gcc 4.2.2 on x86_64 linux against v.1.0.3

Azatoth

24-01-2008 22:28:38

I compiled it with gcc 4.2.2 on my 64-bit linux box and had to make a couple of smaller alterations to get it to work. It's mainly more strict type specifying and also adding a blank space at the end of each file to fit with the spec and avoid annoying warnings.
The patch is here.

JohnJ

25-01-2008 03:35:52

Ok, thanks. I'll merge this with the latest if possible.

JohnJ

06-02-2008 22:16:38

I know this seems a little silly, but I can't find how to apply a .diff patch (with TortoiseCVS, at least). Do I need to download something?

Azatoth

06-02-2008 23:03:12

I know this seems a little silly, but I can't find how to apply a .diff patch (with TortoiseCVS, at least). Do I need to download something?
Hmm, I don't know if TortioseCVS supports applying patch files (though it should be able to since you can create patches with it). I found this when googling: http://gnuwin32.sourceforge.net/packages/patch.htm
I guess it works the same as on Linux, where you would enter "patch -p0 < thepatchfile" .

Btw, I've now integrated the engine into Ember (some screenshots over here). It's excellently written and documented! Great job!

I've also modified it. I intend to submit another patch once I've finished my modification. Basically what I've done is that I've refactored the GrassLoader so that the grass creation part is separated from the grass placement part. This is since I will use a more advanced grass placement method, but still want to retain the nifty grass generation code.
I've also placed it into a PagedGeomtry namespace so as not to collide with other classes.
I also added a DummyPage. I wrote up on some of the changes in this post.
You can see all of the changes in the cvs of Ember.

Anyways, I'll wrap it up and test it and submit a patch.
So what do you think about the Launchpad?

JohnJ

07-02-2008 04:13:09

Nice, Ember is looking pretty good :)

So what do you think about the Launchpad?
I set up a project initially, but haven't gone very far from there. It seems to want something called a "Bazaar branch" for my source code. I was hoping it would be an easy bug tracker / todo-list type system, but it looks more like a full replacement of CVS, etc. (although I'm probably wrong). Do you know if there's an easy way for me to use it while keeping PagedGeometry in Ogre's CVS as it is now?

Azatoth

07-02-2008 09:15:46

Nice, Ember is looking pretty good :)

So what do you think about the Launchpad?
I set up a project initially, but haven't gone very far from there. It seems to want something called a "Bazaar branch" for my source code. I was hoping it would be an easy bug tracker / todo-list type system, but it looks more like a full replacement of CVS, etc. (although I'm probably wrong). Do you know if there's an easy way for me to use it while keeping PagedGeometry in Ogre's CVS as it is now?

Just skip the VCS functionality, that's what we do for Worldforge. We use it for all stuff except code hosting. Take a look here. So the only thing you need to do is to activate "use bugs", and "use answers".