From 46246b8ab76c6580be5e6fa6eb646b115f5146b8 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 22 Mar 2012 22:46:07 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/game.c | 2 -- polymer/eduke32/source/player.c | 5 ++++- polymer/eduke32/source/player.h | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 4fa3371f9..538d92eb5 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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; diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index 223d90e66..a21992b0c 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -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 diff --git a/polymer/eduke32/source/player.h b/polymer/eduke32/source/player.h index 730f3df6f..8145eb4c9 100644 --- a/polymer/eduke32/source/player.h +++ b/polymer/eduke32/source/player.h @@ -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);