head 1.2; access; symbols pkgsrc-2019Q3:1.1.0.26 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.24 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.22 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.20 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.18 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.16 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.14 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.12 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.10 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.6 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.4 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.2 pkgsrc-2016Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2019.11.02.14.58.34; author nia; state dead; branches; next 1.1; commitid A9OgY9KWxXWoThJB; 1.1 date 2016.12.22.11.36.35; author joerg; state Exp; branches; next ; commitid 0sDkffxWMvPKmYyz; desc @@ 1.2 log @bastet: Update to 0.43.2 Changes: Minor fixes (appstream file, reset level on new game, OSX compilation error). @ text @$NetBSD: patch-Well.hpp,v 1.1 2016/12/22 11:36:35 joerg Exp $ friend declaration should not contain default arguments. --- Well.hpp.orig 2016-12-22 10:46:03.217308267 +0000 +++ Well.hpp @@@@ -30,7 +30,8 @@@@ #include namespace Bastet{ - + long Evaluate(const Well *w, int extralines = 0); + class GameOver{}; //used as an exception class WellLine: public std::bitset{ @@@@ -66,7 +67,7 @@@@ namespace Bastet{ LinesCompleted Lock(BlockType t, const BlockPosition &p); //permanently adds a tetromino to the well; returns a bitset of 4 bits where return[i]==1 iff line (start of fb)+i is complete void ClearLines(const LinesCompleted &lc); //removes the given lines from the well (whether they are completed or not) int LockAndClearLines(BlockType t, const BlockPosition &p); //locks, clear lines, returns number of lines cleared - friend long Evaluate(const Well *w, int extralines=0); //for BastetBlockChooser + friend long Evaluate(const Well *w, int extralines); //for BastetBlockChooser std::string PrettyPrint() const; }; @ 1.1 log @Improve C++ portability. @ text @d1 1 a1 1 $NetBSD$ @