|
4 | 4 | #include "ai_sounds.h" |
5 | 5 | #include "xrCore/xr_token.h" |
6 | 6 |
|
7 | | -const xr_token anomaly_type_token[] = {{"undefined", sg_Undefined}, {"Item picking up", SOUND_TYPE_ITEM_PICKING_UP}, |
8 | | - {"Item dropping", SOUND_TYPE_ITEM_DROPPING}, {"Item taking", SOUND_TYPE_ITEM_TAKING}, |
9 | | - {"Item hiding", SOUND_TYPE_ITEM_HIDING}, {"Item using", SOUND_TYPE_ITEM_USING}, |
10 | | - {"Weapon shooting", SOUND_TYPE_WEAPON_SHOOTING}, {"Weapon empty clicking", SOUND_TYPE_WEAPON_EMPTY_CLICKING}, |
11 | | - {"Weapon bullet hit", SOUND_TYPE_WEAPON_BULLET_HIT}, {"Weapon recharging", SOUND_TYPE_WEAPON_RECHARGING}, |
12 | | - {"NPC dying", SOUND_TYPE_MONSTER_DYING}, {"NPC injuring", SOUND_TYPE_MONSTER_INJURING}, |
13 | | - {"NPC step", SOUND_TYPE_MONSTER_STEP}, {"NPC talking", SOUND_TYPE_MONSTER_TALKING}, |
14 | | - {"NPC attacking", SOUND_TYPE_MONSTER_ATTACKING}, {"NPC eating", SOUND_TYPE_MONSTER_EATING}, |
15 | | - {"Anomaly idle", SOUND_TYPE_ANOMALY_IDLE}, {"Object breaking", SOUND_TYPE_WORLD_OBJECT_BREAKING}, |
16 | | - {"Object colliding", SOUND_TYPE_WORLD_OBJECT_COLLIDING}, {"Object exploding", SOUND_TYPE_WORLD_OBJECT_EXPLODING}, |
17 | | - {"World ambient", SOUND_TYPE_WORLD_AMBIENT}, {0, 0}}; |
| 7 | +const xr_token anomaly_type_token[] = { |
| 8 | + {"undefined", int(sg_Undefined)}, {"Item picking up", int(SOUND_TYPE_ITEM_PICKING_UP)}, |
| 9 | + {"Item dropping", int(SOUND_TYPE_ITEM_DROPPING)}, {"Item taking", int(SOUND_TYPE_ITEM_TAKING)}, |
| 10 | + {"Item hiding", int(SOUND_TYPE_ITEM_HIDING)}, {"Item using", int(SOUND_TYPE_ITEM_USING)}, |
| 11 | + {"Weapon shooting", int(SOUND_TYPE_WEAPON_SHOOTING)}, {"Weapon empty clicking", int(SOUND_TYPE_WEAPON_EMPTY_CLICKING)}, |
| 12 | + {"Weapon bullet hit", int(SOUND_TYPE_WEAPON_BULLET_HIT)}, {"Weapon recharging", int(SOUND_TYPE_WEAPON_RECHARGING)}, |
| 13 | + {"NPC dying", int(SOUND_TYPE_MONSTER_DYING)}, {"NPC injuring", int(SOUND_TYPE_MONSTER_INJURING)}, |
| 14 | + {"NPC step", int(SOUND_TYPE_MONSTER_STEP)}, {"NPC talking", int(SOUND_TYPE_MONSTER_TALKING)}, |
| 15 | + {"NPC attacking", int(SOUND_TYPE_MONSTER_ATTACKING)}, {"NPC eating", int(SOUND_TYPE_MONSTER_EATING)}, |
| 16 | + {"Anomaly idle", int(SOUND_TYPE_ANOMALY_IDLE)}, {"Object breaking", int(SOUND_TYPE_WORLD_OBJECT_BREAKING)}, |
| 17 | + {"Object colliding", int(SOUND_TYPE_WORLD_OBJECT_COLLIDING)}, {"Object exploding", int(SOUND_TYPE_WORLD_OBJECT_EXPLODING)}, |
| 18 | + {"World ambient", int(SOUND_TYPE_WORLD_AMBIENT)}, {0, 0}}; |
0 commit comments