Skip to content

Commit

Permalink
Fix lookup/lookdown speed and angles
Browse files Browse the repository at this point in the history
  • Loading branch information
erysdren committed Jun 29, 2024
1 parent e8cc097 commit f161520
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions rott/_rt_play.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define _rt_playr_private

#include "watcom.h"
//double dTopYZANGLELIMIT; in winrott.c
#define TopYZANGLELIMIT (44*FINEANGLES/360)//bna added
#define YZANGLELIMIT (80*FINEANGLES/360)//bna--(30*FINEANGLES/360)
/*
//bna++ had to limit this or the sky would fuck up
#define TopYZANGLELIMIT (6*FINEANGLES/360)//bna added
#define YZANGLELIMIT (40*FINEANGLES/360)//bna--(30*FINEANGLES/360)
//partly fixed you can now se up but not down very much see rt_playr.c TopYZANGLELIMIT
*/


#define YZTILTSPEED 20*4//*2 = bna added
#define SNAPBACKSPEED 10*15//*2 = bna added
#define YZHORIZONSPEED 4*5//*2 = bna added
#define YZANGLELIMIT (30*FINEANGLES/360)
#define YZTILTSPEED 20
#define SNAPBACKSPEED 10
#define YZHORIZONSPEED 4
#define HORIZONYZOFFSET (FINEANGLES/4)

#define SetPlayerHorizon(ps,hlevel) \
{ \
if ((hlevel)>YZANGLELIMIT) \
Expand Down

0 comments on commit f161520

Please sign in to comment.