[quadrapassel/lr/difficult-mode-fixes: 5/7] game: re-add removed attribution



commit 749e17a9bddfa5eb0ed6e065c50dbfd70cb7349d
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Dec 18 21:37:13 2018 +0100

    game: re-add removed attribution
    
    Add back a copyright notice and an attribution that were, presumably
    accidentally, removed porting to Vala.
    
    The code seems to have been derived from previous implementation
    mechanically, with the comments and logic still intact. Also, properly
    attributing things is just nice.
    
    Fixes: 284c919dd5eb378a80d92f4cf8afbf3da8409f37

 src/game.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/game.vala b/src/game.vala
index 20c2e76..def3b3d 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2010-2013 Robert Ancell
+ * Copyright (C) 2009 Lubomir Rintel <lkundrak v3 sk>
  *
  * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
@@ -539,6 +540,7 @@ public class Game : Object
 
     private Shape pick_difficult_shape ()
     {
+       /* The algorithm comes from Federico Poloni's "bastet" game */
         var metrics = new int[NCOLORS];
         for (var type = 0; type < NCOLORS; type++)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]