6 * Copyright (C) 2003, 2007, 2008, 2009 Thomas Perl <thp@thpinfo.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35 void tennixpy_unregister_bot(InputDevice
*device
);
36 void tennixpy_get_bot_name(InputDevice
*device
, char *dest
, int maxlen
);
38 void tennixpy_create_bot(InputDevice
*device
, GameState
*s
, int player_id
);
39 void tennixpy_destroy_bot(InputDevice
*device
);
41 //float tennixpy_bot_get_axis(PyObject* bot, int axis);
42 float tennixpy_bot_get_axis(InputDevice
*device
, int axis
);
43 //char tennixpy_bot_get_key(PyObject* bot, int key);
44 char tennixpy_bot_get_key(InputDevice
*device
, int key
);
46 void tennixpy_init(TennixArchive
& tnxar
);
47 void tennixpy_uninit();
49 #endif /* HAVE_PYTHON */
51 #endif /* __TENNIXPY_H */