summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/avp/equiputl.cpp96
-rw-r--r--src/avp/equiputl.hpp67
2 files changed, 0 insertions, 163 deletions
diff --git a/src/avp/equiputl.cpp b/src/avp/equiputl.cpp
deleted file mode 100644
index b94e576..0000000
--- a/src/avp/equiputl.cpp
+++ /dev/null
@@ -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 ***********************************/
diff --git a/src/avp/equiputl.hpp b/src/avp/equiputl.hpp
deleted file mode 100644
index 3f57731..0000000
--- a/src/avp/equiputl.hpp
+++ /dev/null
@@ -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