Debian Codegraph @

FFNet/FFNet_PatternList.cpp

raw
1 /* FFNet_PatternList.cpp
2 *
3 * Copyright (C) 1997-2019 David Weenink
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /*
20 djmw 19950113
21 djmw 20020712 GPL header
22 */
23
24 #include "FFNet_PatternList.h"
25
26 void FFNet_PatternList_drawActivation (FFNet me, PatternList pattern, Graphics g, integer index) {
27 if (index < 1 || index > pattern->ny)
28 return;
29 FFNet_propagate (me, pattern -> z.row (index), nullptr);
30 FFNet_drawActivation (me, g);
31 }
32
33 /* End of file FFNet_PatternList.cpp */