Comment out computergetinput() and children, which are unused since ng netcode.

git-svn-id: https://svn.eduke32.com/eduke32@2512 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-22 22:46:07 +00:00
parent 23bb14f8aa
commit 46246b8ab7
3 changed files with 5 additions and 5 deletions

View file

@ -169,8 +169,6 @@ static void G_DrawCameraText(int16_t i);
GAME_STATIC GAME_INLINE int32_t G_MoveLoop(void);
static void G_DoOrderScreen(void);
extern void computergetinput(int32_t snum, input_t *syn);
#define quotepulseshade (sintable[(totalclock<<5)&2047]>>11)
int32_t althud_numbertile = 2930;

View file

@ -5629,8 +5629,10 @@ HORIZONLY:
P_ProcessWeapon(snum);
}
#if 0
//UPDATE THIS FILE OVER THE OLD GETSPRITESCORE/COMPUTERGETINPUT FUNCTIONS
int32_t getspritescore(int32_t snum, int32_t dapicnum)
static int32_t getspritescore(int32_t snum, int32_t dapicnum)
{
switch (DYNAMICTILEMAP(dapicnum))
{
@ -6213,4 +6215,5 @@ void computergetinput(int32_t snum, input_t *syn)
syn->avel = min(max((((daang+1024-damyang)&2047)-1024)>>3,-127),127);
}
}
#endif

View file

@ -268,9 +268,8 @@ extern int32_t ticrandomseed;
int32_t A_GetHitscanRange(int32_t i);
int32_t A_Shoot(int32_t i,int32_t atwith);
void computergetinput(int32_t snum,input_t *syn);
//void computergetinput(int32_t snum,input_t *syn);
void getinput(int32_t snum);
int32_t getspritescore(int32_t snum,int32_t dapicnum);
void P_AddAmmo(int32_t weapon,DukePlayer_t *p,int32_t amount);
void P_AddWeapon(DukePlayer_t *p,int32_t weapon);
void P_AddWeaponNoSwitch(DukePlayer_t *p,int32_t weapon);