pistol.h

ds2.1.1/lib/lib/include/pistol.h · 697 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#ifndef l_pistol_h
#define l_pistol_h

static void create();

int eventShoot(object who);

int InitRevolver(mixed array);
int SetAmmoType(string str);
int SetPistolType(string str);
int SetMaxAmmo(int x);
int SetCaliber(float f);
int SetMillimeter(int x);
string GetAmmoType();
string GetPistolType();
int GetMaxAmmo();
int GetCaliber();
int GetMillimeter();
int CalculateAmmoSize();
int do_shoot(string str);
int missed_shot();
int AddRound(int x);
int SubtractRound(int x);
int ShowRounds();
int LoadRevolver(string str);
int LoadAuto(string str);
int doRevolverUnload(string foo, string bar);
int doAutoUnload(string str);
int UnloadAll();
int SetAmmoFile(string str);

#endif /* l_pistol_h */

Site Stats

Snippets: 1791
Codebases: 571