-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathobject.h
60 lines (56 loc) · 1.38 KB
/
object.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* =============================================================================
* PROGRAM: ularn
* FILENAME: object.h
*
* DESCRIPTION:
* This module contains function for handling what a player finds when moving
* onto a new square in the dungeon.
*
* =============================================================================
* EXPORTED VARIABLES
*
* None.
*
* =============================================================================
* EXPORTED FUNCTIONS
*
* oopenchest : Process opening a chest at the player's current location
* lookforobject : Performs processing for the item found at the player's
* current location.
*
* =============================================================================
*/
#ifndef __OBJECT_H
# define __OBJECT_H
/* =============================================================================
* FUNCTION: oopenchest
*
* DESCRIPTION:
* Function to handle opening a chest.
*
* PARAMETERS:
*
* None.
*
* RETURN VALUE:
*
* None.
*/
void oopenchest(void);
/* =============================================================================
* FUNCTION: lookforobject
*
* DESCRIPTION:
* Function to look for an object at the player's current location and give the
* player his options if an object was found.
*
* PARAMETERS:
*
* None.
*
* RETURN VALUE:
*
* None.
*/
void lookforobject(void);
#endif