1 /* -copyright- 2 #-# 3 #-# xsnow: let it snow on your desktop 4 #-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen 5 #-# 2019,2020,2021 Willem Vermin 6 #-# 7 #-# This program is free software: you can redistribute it and/or modify 8 #-# it under the terms of the GNU General Public License as published by 9 #-# the Free Software Foundation, either version 3 of the License, or 10 #-# (at your option) any later version. 11 #-# 12 #-# This program is distributed in the hope that it will be useful, 13 #-# but WITHOUT ANY WARRANTY; without even the implied warranty of 14 #-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 #-# GNU General Public License for more details. 16 #-# 17 #-# You should have received a copy of the GNU General Public License 18 #-# along with this program. If not, see <http://www.gnu.org/licenses/>. 19 #-# 20 */ 21 #pragma once 22 23 #define DOITALLB() 24 //DOITB(prefdistance ,float) /* [meter] preferred distance */ 25 26 //DOITB(nbirds ,int) /* number of birds */ 27 //DOITB(neighbours ,int) /* number of neighbours to consider */ 28 //DOITB(followers ,float) /* fraction of birds that follow the computations 0=<x<=1 */ 29 30 #define BUTTONALL() \ 31 DOITB(restart) \ 32 DOITB(freeze) 33 34