2 * nazghul - an old-school RPG engine
3 * Copyright (C) 2008 Gordon McNutt
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Foundation, Inc., 59 Temple Place,
17 * Suite 330, Boston, MA 02111-1307 USA
20 * gmcnutt@users.sourceforge.net
23 #include "ztats_items.h"
29 #include "ztats_container_pane.h"
32 static bool ztats_items_filter_cb(struct inv_entry *ie, void *fdata)
34 return (ie->type->isUsable());
38 void ztats_items_init(void)
40 static struct ztats_container_pane pane;
41 static struct ztats_container_pane_ops ops = {
42 ztats_container_paint_item_generic,
44 static struct filter filter = {
45 ztats_items_filter_cb,
49 ztats_container_pane_init(&pane, "»ÈÍѲÄǽ¤Ê»ý¤Áʪ", &filter, &ops);
50 ztats_add_pane(&pane.base);