Files
source/Tactical/GAP.H
T
Wanne d5b4599e9c New Trait: Snitch (Trait 22) (by anv)
Every midnight snitches will give you a report about their collegues' opinions. Information includes:
- merc whining about high death rate,
- merc whining about player reputation,
- merc whining about his low morale,
- merc whining about some other merc (unliked, not only hated),
- merc planning to quit (leave without renewing contract, only AIM mercs) next day,
- merc whining about player inactivity,
- merc whining about player owing them money (you can only owe money to MERC mercs).

List of snitches (trait 22)
Beth
Bud
Buzz
Carp
Ears
Gary
Hurl
Lance
Leon
Weasel

see: http://www.bears-pit.com/board/ubbthreads.php/topics/329412/Snitches_+_Externalised_morale.html

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6723 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-01-01 12:02:23 +00:00

31 lines
811 B
C++

#ifndef __GAP_H
#define __GAP_H
#include "faces.h"
typedef UINT8 AudioSample8;
typedef INT16 AudioSample16;
typedef struct
{
SOUNDPARMS spParams;
CHAR8 zSoundFiles[10][64];
UINT8 ubSndCounter;
UINT8 ubMaxSndCounter;
} SUBSEQUENTSOUNDS;
extern SUBSEQUENTSOUNDS subsequentsounds;
void AudioGapListInit( CHAR8 *zSoundFile, AudioGapList *pGapList );
void AudioGapListDone( AudioGapList *pGapList );
void PollAudioGap( UINT32 uiSampleNum, AudioGapList *pGapList );
UINT32 PlayJA2GapSample( CHAR8 *zSoundFile, UINT32 usRate, UINT32 ubVolume, UINT32 ubLoops, UINT32 uiPan, AudioGapList* pData );
UINT32 PlayJA2MultipleGapSample( CHAR8 zSoundFiles[][64], UINT8 ubSoundsCount, UINT32 usRate, UINT32 ubVolume, UINT32 ubLoops, UINT32 uiPan, AudioGapList* pData );
#endif