Add f)lirt command. All it does right now is shoot a tilde.
[rogue-pphs.git] / romance.c
1 /*
2 * Functions for dealing with problems of the heart
3 *
4 * @(#)romance.c 3.2 (Berkeley) 6/15/81
5 *
6 * Rogue: Exploring the Dungeons of Doom
7 * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
8 * All rights reserved.
9 *
10 * See the file LICENSE.TXT for full copyright and licensing information.
11 */
12
13 #include "curses.h"
14 #include <ctype.h>
15 #include <string.h>
16 #include "rogue.h"
17
18 /*
19 * flirt:
20 * Make eyes in the given direction
21 */
22
23 flirt(ydelta, xdelta)
24 int ydelta, xdelta;
25 {
26 register struct linked_list *item, *nitem;
27 struct object obj;
28
29 obj.o_pos = hero;
30 obj.o_type = '~';
31 do_motion(&obj, ydelta, xdelta);
32 mvwaddch(cw, hero.y, hero.x, PLAYER);
33 }