-
Notifications
You must be signed in to change notification settings - Fork 0
/
BLOODREQ.HXX
65 lines (52 loc) · 2.3 KB
/
BLOODREQ.HXX
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
/* ========================================================================
Copyright (c) 1990,1996 Synergistic Software
All Rights Reserved
========================================================================
Filename: _BLOODREQ.HXX - Requirements for Blood Abilities.
Author: Gary Powell
======================================================================== */
#ifndef _BLOODREQ_HXX
#define _BLOODREQ_HXX
/* ------------------------------------------------------------------------
Sub Includes
------------------------------------------------------------------------ */
#if !defined(_TYPEDEFS_H)
#include "typedefs.h"
#endif
#if !defined(_BLOOD_HXX)
#include "blood.hxx"
#endif
/* ------------------------------------------------------------------------
Defines and Compile Flags
------------------------------------------------------------------------ */
// HUNGARIAN NOTE: All values are of type long unless specified. So if
// is doesn't start with a capital letter, the lower case should be a
// prefix. 'u' means Ulong.
// Note: This is a temporary structure used to hold the Bloodline information
// unitl the player has choosen which abilites to fill his list with.
class BLOODLINE_ACQUISITION_LIST {
public:
// GWP These need to be handles not pointers.
BLOODLINE_ACQUISITION_LIST *next;
BLOODLINE_ACQUISITION_LIST *prev;
BLOODLINE_STRENGTH_INFO::TYPE Strength;
};
typedef BLOODLINE_ACQUISITION_LIST *PTR_BLOODLINE_ACQUISITION_LIST;
void KeepBloodlineAbilityRoll(
BLOOD_ABILITY_INFO::BLOOD_ABILITY BloodAbilityRolled,
PTR_PLAYER_BLOOD_INFO pPlayerBloodInfo,
PTR_BLOODLINE_ACQUISITION_LIST *pBloodlineAcquisitionAvail);
void AddBloodlineAbility(
BLOOD_ABILITY_INFO::BLOOD_ABILITY BloodAbility,
PTR_PLAYER_BLOOD_INFO pPlayerBloodInfo);
BLOOD_ABILITY_INFO::BLOOD_ABILITY RollBloodlineAbility(
PTR_PLAYER_BLOOD_INFO pPlayerBloodInfo,
PTR_BLOODLINE_ACQUISITION_LIST *ppBloodlineAcquisitionAvail,
PTR_BLOOD_ABILITIES_LIST pBloodAbilitiesRefused);
PTR_BLOODLINE_ACQUISITION_LIST RollBloodlineAbilityAcquisition(
SBYTE Strength);
BLOODLINE_STRENGTH_INFO::TYPE RollBloodlineStrength(SHORT *psStrength);
BLOODLINE_DERIVATION_INFO::TYPE RollBloodlineDerivation();
LONG RollBloodlineNumericalStrength (BLOODLINE_STRENGTH_INFO::TYPE BloodStrengthType);
#endif // _BLOODREQ_HXX