Removed more unused code.
This commit is contained in:
parent
2a737d91fc
commit
02db356511
3 changed files with 1 additions and 166 deletions
|
@ -1,96 +0,0 @@
|
|||
/*******************************************************************
|
||||
*
|
||||
* DESCRIPTION: equiputl.cpp
|
||||
*
|
||||
* AUTHOR: David Malcolm
|
||||
*
|
||||
* HISTORY: Created 8/1/98
|
||||
*
|
||||
*******************************************************************/
|
||||
|
||||
/* Includes ********************************************************/
|
||||
#include "3dc.h"
|
||||
#include "equiputl.hpp"
|
||||
|
||||
#define UseLocalAssert Yes
|
||||
#include "ourasert.h"
|
||||
|
||||
/* Version settings ************************************************/
|
||||
|
||||
/* Constants *******************************************************/
|
||||
|
||||
/* Macros **********************************************************/
|
||||
|
||||
/* Imported function prototypes ************************************/
|
||||
|
||||
/* Imported data ***************************************************/
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
#if 0
|
||||
extern OurBool DaveDebugOn;
|
||||
extern FDIEXTENSIONTAG FDIET_Dummy;
|
||||
extern IFEXTENSIONTAG IFET_Dummy;
|
||||
extern FDIQUAD FDIQuad_WholeScreen;
|
||||
extern FDIPOS FDIPos_Origin;
|
||||
extern FDIPOS FDIPos_ScreenCentre;
|
||||
extern IFOBJECTLOCATION IFObjLoc_Origin;
|
||||
extern UncompressedGlobalPlotAtomID UGPAID_StandardNull;
|
||||
extern IFCOLOUR IFColour_Dummy;
|
||||
extern IFVECTOR IFVec_Zero;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* Exported globals ************************************************/
|
||||
|
||||
/* Internal type definitions ***************************************/
|
||||
|
||||
/* Internal function prototypes ************************************/
|
||||
|
||||
/* Internal globals ************************************************/
|
||||
|
||||
/* Exported function definitions ***********************************/
|
||||
|
||||
// namespace EquipmentUtil
|
||||
|
||||
// Functions to get the ID for the text string "ROUNDS" and "MAGAZINES"
|
||||
// Mostly returns TEXTSTRING_ROUNDS and TEXTSTRING_MAGAZINES,
|
||||
// but some weapons have different strings
|
||||
|
||||
enum TEXTSTRING_ID EquipmentUtil :: GetTextID_Rounds
|
||||
(
|
||||
enum WEAPON_ID WeaponID
|
||||
)
|
||||
{
|
||||
{
|
||||
return TEXTSTRING_ROUNDS;
|
||||
}
|
||||
}
|
||||
|
||||
enum TEXTSTRING_ID EquipmentUtil :: GetTextID_Magazines
|
||||
(
|
||||
enum WEAPON_ID WeaponID
|
||||
)
|
||||
{
|
||||
switch (WeaponID)
|
||||
{
|
||||
default:
|
||||
return TEXTSTRING_MAGAZINES;
|
||||
|
||||
case WEAPON_FLAMETHROWER:
|
||||
return TEXTSTRING_MAGAZINES_FLAMETHROWER;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Mostly returns TEXTSTRING_ROUNDS and TEXTSTRING_MAGAZINES,
|
||||
// but some weapons have different strings
|
||||
|
||||
/* Internal function definitions ***********************************/
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
|
||||
equiputl.hpp
|
||||
|
||||
Created 8/1/98 by DHM: Utilies for dealing with equipment
|
||||
|
||||
*/
|
||||
|
||||
#ifndef _equiputl
|
||||
#define _equiputl 1
|
||||
|
||||
#if ( defined( __WATCOMC__ ) || defined( _MSC_VER ) )
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef _equipmnt_h_
|
||||
#include "equipmnt.h"
|
||||
#endif
|
||||
|
||||
#ifndef _langenum_h_
|
||||
#include "langenum.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Version settings *****************************************************/
|
||||
|
||||
/* Constants ***********************************************************/
|
||||
|
||||
/* Macros ***************************************************************/
|
||||
|
||||
/* Type definitions *****************************************************/
|
||||
|
||||
/* Exported globals *****************************************************/
|
||||
|
||||
/* Function prototypes **************************************************/
|
||||
namespace EquipmentUtil
|
||||
{
|
||||
// Functions to get the ID for the text string "ROUNDS" and "MAGAZINES"
|
||||
// Mostly returns TEXTSTRING_ROUNDS and TEXTSTRING_MAGAZINES,
|
||||
// but some weapons have different strings
|
||||
|
||||
enum TEXTSTRING_ID GetTextID_Rounds
|
||||
(
|
||||
enum WEAPON_ID WeaponID
|
||||
);
|
||||
|
||||
enum TEXTSTRING_ID GetTextID_Magazines
|
||||
(
|
||||
enum WEAPON_ID WeaponID
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* End of the header ****************************************************/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue