-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbardic_performance.h
76 lines (66 loc) · 2.03 KB
/
bardic_performance.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
* File: bardic_performance.h
* Author: Zusuk
* Constants and function prototypes for the bardic performance system.
*/
#ifndef BARDIC_PERFORMANCE_H
#define BARDIC_PERFORMANCE_H
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************/
/* includes */
#include "utils.h" /* for the ACMD macro */
/* functions, etc */
extern struct room_data *world;
extern void clearMemory(struct char_data *ch);
extern const char *spells[];
void pulse_bardic_performance(void);
ACMD_DECL(do_perform);
/* defines */
#define VERSE_INTERVAL (11 RL_SEC)
#define MAX_PERFORMANCES 13
#define MAX_PRFM_EFFECT 60 /* maximum effectiveness of performance */
#define MAX_INSTRUMENT_EFFECT 20
/* lookup components for song_info */
#define PERFORMANCE_SKILLNUM 0
#define INSTRUMENT_NUM 1
#define INSTRUMENT_SKILLNUM 2
#define PERFORMANCE_DIFF 3
#define PERFORMANCE_TYPE 4
#define PERFORMANCE_AOE 5
#define PERFORMANCE_FEATNUM 6
/**/ #define PERFORMANCE_INFO_FIELDS 7
/* types of performances */
#define PERFORMANCE_TYPE_UNDEFINED 0
#define PERFORMANCE_TYPE_ACT 1
#define PERFORMANCE_TYPE_COMEDY 2
#define PERFORMANCE_TYPE_DANCE 3
#define PERFORMANCE_TYPE_KEYBOARD 4
#define PERFORMANCE_TYPE_ORATORY 5
#define PERFORMANCE_TYPE_PERCUSSION 6
#define PERFORMANCE_TYPE_STRING 7
#define PERFORMANCE_TYPE_WIND 8
#define PERFORMANCE_TYPE_SING 9
/**/ #define NUM_PERFORMANCE_TYPES 10
/* these are defines just made for fillers for lookup data song_info
since they are currently unused in our feat system, could be expanded tho */
#define SKILL_LYRE 1
#define SKILL_DRUM 2
#define SKILL_HORN 3
#define SKILL_FLUTE 4
#define SKILL_HARP 5
#define SKILL_MANDOLIN 6
/* area of effect */
#define PERFORM_AOE_UNDEFINED 0
#define PERFORM_AOE_GROUP 1
#define PERFORM_AOE_ROOM 2
#define PERFORM_AOE_FOES 3
/**/
#define NUM_PERFORM_AOE 4
/*********************************************************/
#ifdef __cplusplus
}
#endif
#endif /* BARDIC_PERFORMANCE_H */