PDA

View Full Version : Patch. Game Roadgeddon for Linux



daltomi
12-09-2013, 12:47 PM
Hi.
I "port" the example Roadgeddon for Linux.
Three changed files plus 1 Makefile.
Comp: g++ 4.8.2

rombust
12-09-2013, 01:18 PM
Patch applied.

For some reason, I got an error:


git.exe am --3way --ignore-space-change --keep-cr "C:\Users\mark9\Desktop\Roadgeddon_patch\Player.cpp .patch"
Patch format detection failed.

But I applied it manually.

Thanks

daltomi
12-09-2013, 02:31 PM
Sorry, I never use git to create parches.
But now I use it to create one for Examples/Display_Render/ColorWheel.
The problem is that the text is white, I changed it to black.
I think the patch is well formatted now.

sphair
12-09-2013, 03:14 PM
Since we are now using Git and GitHub, an easier model for both you and us could be to use Pull Requests. You can read more about it at https://help.github.com/articles/using-pull-requests

rombust
12-09-2013, 03:33 PM
Thanks.

I didn't apply the patch, instead I used a different method.

The GUI background should have been black.

Instead I added:


clan::CSSValueBackgroundColor color;
color.color = clan::Colorf::black;
set_style(color, true); // We want a black background

In the colorwheel constructor

I hope that's okay.

daltomi
12-09-2013, 04:21 PM
It works well.