-
Notifications
You must be signed in to change notification settings - Fork 58
/
fx.h
107 lines (95 loc) · 2.01 KB
/
fx.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
//-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 Nuke.YKT
This file is part of NBlood.
NBlood is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
//-------------------------------------------------------------------------
#pragma once
#include "build.h"
#include "common_game.h"
BEGIN_BLD_NS
enum FX_ID {
FX_NONE = -1,
FX_0 = 0,
FX_1,
FX_2,
FX_3,
FX_4,
FX_5,
FX_6,
FX_7,
FX_8,
FX_9,
FX_10,
FX_11,
FX_12,
FX_13,
FX_14,
FX_15,
FX_16,
FX_17,
FX_18,
FX_19,
FX_20,
FX_21,
FX_22,
FX_23,
FX_24,
FX_25,
FX_26,
FX_27,
FX_28,
FX_29,
FX_30,
FX_31,
FX_32,
FX_33,
FX_34,
FX_35,
FX_36,
FX_37,
FX_38,
FX_39,
FX_40,
FX_41,
FX_42,
FX_43,
FX_44,
FX_45,
FX_46,
FX_47,
FX_48,
FX_49,
FX_50,
FX_51,
FX_52,
FX_53,
FX_54,
FX_55,
FX_56,
kFXMax
};
class CFX {
public:
void destroy(int);
void remove(int);
DBloodActor* fxSpawnActor(FX_ID, int, int, int, int, unsigned int);
void fxProcess(void);
};
void fxSpawnBlood(spritetype *pSprite, int a2);
void sub_746D4(spritetype *pSprite, int a2);
void fxSpawnEjectingBrass(spritetype *pSprite, int z, int a3, int a4);
void fxSpawnEjectingShell(spritetype *pSprite, int z, int a3, int a4);
extern CFX gFX;
END_BLD_NS