mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed: Clean out some old bools regarding old panning code.
This commit is contained in:
parent
d46787cd96
commit
f8210ef8ee
3 changed files with 2 additions and 16 deletions
|
@ -50,10 +50,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
|
||||
BEGIN_PS_NS
|
||||
|
||||
extern short bPlayerPan;
|
||||
extern short bLockPan;
|
||||
|
||||
|
||||
static MapRecord* NextMap;
|
||||
|
||||
void uploadCinemaPalettes();
|
||||
|
|
|
@ -25,9 +25,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
|
||||
BEGIN_PS_NS
|
||||
|
||||
extern short bPlayerPan;
|
||||
extern short bLockPan;
|
||||
|
||||
static int turn;
|
||||
static int counter;
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@ struct PlayerSave
|
|||
int lPlayerXVel = 0;
|
||||
int lPlayerYVel = 0;
|
||||
short obobangle = 0, bobangle = 0;
|
||||
short bPlayerPan = 0;
|
||||
short bLockPan = 0;
|
||||
|
||||
static actionSeq ActionSeq[] = {
|
||||
{18, 0}, {0, 0}, {9, 0}, {27, 0}, {63, 0},
|
||||
|
@ -460,9 +458,6 @@ void RestartPlayer(short nPlayer)
|
|||
|
||||
SetMagicFrame();
|
||||
RestoreGreenPal();
|
||||
|
||||
bPlayerPan = 0;
|
||||
bLockPan = 0;
|
||||
}
|
||||
|
||||
sprintf(playerNames[nPlayer], "JOE%d", nPlayer);
|
||||
|
@ -1106,8 +1101,8 @@ void FuncPlayer(int a, int nDamage, int nRun)
|
|||
zVelB = -zVelB;
|
||||
}
|
||||
|
||||
if (zVelB > 512 && !bLockPan) {
|
||||
playerSetHoriz(&PlayerList[nPlayer].q16horiz, &PlayerList[nPlayer].horizTarget, 100);
|
||||
if (zVelB > 512 && PlayerList[nPlayer].q16angle != IntToFixed(100) && !(sPlayerInput[nPlayer].actions & (SB_AIM_UP|SB_AIM_DOWN))) {
|
||||
sPlayerInput[nPlayer].actions |= SB_CENTERVIEW;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2852,8 +2847,6 @@ static SavegameHelper sgh("player",
|
|||
SV(lPlayerYVel),
|
||||
SV(obobangle),
|
||||
SV(bobangle),
|
||||
SV(bPlayerPan),
|
||||
SV(bLockPan),
|
||||
SV(nStandHeight),
|
||||
SV(PlayerCount),
|
||||
SV(nNetStartSprites),
|
||||
|
|
Loading…
Reference in a new issue