1 /*
2  * spring.h - spring
3  * Copyright (C) 2010  Alexandre Martins <alemartf(at)gmail(dot)com>
4  *
5  * This program 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
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef _SPRING_H
21 #define _SPRING_H
22 
23 #include "../item.h"
24 
25 /* public methods */
26 
27 /* yellow springs are weak */
28 item_t* yellowspring_create(); /* regular spring */
29 item_t* tryellowspring_create(); /* top-right */
30 item_t* ryellowspring_create();  /* right-oriented spring */
31 item_t* bryellowspring_create(); /* bottom-right */
32 item_t* byellowspring_create(); /* bottom-oriented spring */
33 item_t* blyellowspring_create(); /* bottom-left */
34 item_t* lyellowspring_create(); /* left-oriented spring */
35 item_t* tlyellowspring_create(); /* top-left */
36 
37 /* red springs are strong */
38 item_t* redspring_create(); /* regular spring */
39 item_t* trredspring_create(); /* top-right */
40 item_t* rredspring_create();  /* right-oriented spring */
41 item_t* brredspring_create(); /* bottom-right */
42 item_t* bredspring_create(); /* bottom-oriented spring */
43 item_t* blredspring_create(); /* bottom-left */
44 item_t* lredspring_create(); /* left-oriented spring */
45 item_t* tlredspring_create(); /* top-left */
46 
47 /* blue springs are the strongest */
48 item_t* bluespring_create(); /* regular spring */
49 item_t* trbluespring_create(); /* top-right */
50 item_t* rbluespring_create();  /* right-oriented spring */
51 item_t* brbluespring_create(); /* bottom-right */
52 item_t* bbluespring_create(); /* bottom-oriented spring */
53 item_t* blbluespring_create(); /* bottom-left */
54 item_t* lbluespring_create(); /* left-oriented spring */
55 item_t* tlbluespring_create(); /* top-left */
56 
57 #endif
58