Nuclide
Software Development Kit for id Tech
|
Ammo Handling Helper Functions. More...
Go to the source code of this file.
Functions | |
string | ammoNameForNum (int) |
Returns the name of the specified ammo type. More... | |
int | ammoNumForName (string) |
Returns the ammo id of a given name of ammo. More... | |
Ammo Handling Helper Functions.
Helper functions for various ammo operations. This header can be included in other libraries and projects to help deal with these sorts of issues. It is usually included by default in a library project. If you want to include this file into your own progs, you can include math.h
from src/shared/
.
Returns the name of the specified ammo type.
Returns NULL when invalid.