Results 1 to 6 of 6

Thread: Patch. Game Roadgeddon for Linux

  1. #1

    Default Patch. Game Roadgeddon for Linux

    Hi.
    I "port" the example Roadgeddon for Linux.
    Three changed files plus 1 Makefile.
    Comp: g++ 4.8.2
    Attached Files Attached Files

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Patch applied.

    For some reason, I got an error:

    Code:
    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

  3. #3

    Default

    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.
    Attached Files Attached Files

  4. #4
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    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

  5. #5
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Thanks.

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

    The GUI background should have been black.

    Instead I added:
    Code:
    	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.

  6. #6

    Default

    It works well.

Similar Threads

  1. CL_log_event patch for linux files
    By Zenol in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 06-17-2013, 09:54 AM
  2. DiceWar on Linux
    By kbluck in forum Official ClanLib SDK Forums
    Replies: 18
    Last Post: 10-06-2008, 09:48 AM
  3. CL 0.8 Canvas patch, get-rid-of-warnings patch
    By Trigve in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 09-30-2007, 11:08 PM
  4. Patch for ClanLib 0.9 svn 368 (Linux compatibility)
    By rombust in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 05-16-2007, 08:02 AM
  5. FQ and Linux
    By jjohn in forum Funeral Quest
    Replies: 0
    Last Post: 09-04-2004, 12:23 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •