Mercurial > mm7
comparison Outdoor.cpp @ 791:346f7069676a
Indoor::GetSector and various stuff
author | Nomad |
---|---|
date | Mon, 25 Mar 2013 05:27:18 +0200 |
parents | b27dd658ea77 |
children | f5156b8c61ad 9d2b911ef526 |
comparison
equal
deleted
inserted
replaced
790:1e2be0f5eb30 | 791:346f7069676a |
---|---|
86 int v5; // eax@19 | 86 int v5; // eax@19 |
87 | 87 |
88 pIndoorCamera->flags = 0; | 88 pIndoorCamera->flags = 0; |
89 if (viewparams->draw_d3d_outlines) | 89 if (viewparams->draw_d3d_outlines) |
90 pIndoorCamera->flags |= INDOOR_CAMERA_DRAW_D3D_OUTLINES; | 90 pIndoorCamera->flags |= INDOOR_CAMERA_DRAW_D3D_OUTLINES; |
91 //INDOOR_CAMERA_DRAW_TERRAIN_OUTLINES | |
91 | 92 |
92 pIndoorCamera->sRotationX = pParty->sRotationX; | 93 pIndoorCamera->sRotationX = pParty->sRotationX; |
93 pIndoorCamera->sRotationY = pParty->sRotationY; | 94 pIndoorCamera->sRotationY = pParty->sRotationY; |
94 pIndoorCamera->pos.x = pParty->vPosition.x - fixpoint_mul(stru_5C6E00->Cos(pParty->sRotationY), pParty->y_rotation_granularity); | 95 pIndoorCamera->pos.x = pParty->vPosition.x - fixpoint_mul(stru_5C6E00->Cos(pParty->sRotationY), pParty->y_rotation_granularity); |
95 pIndoorCamera->pos.y = pParty->vPosition.y - fixpoint_mul(stru_5C6E00->Sin(pParty->sRotationY), pParty->y_rotation_granularity); | 96 pIndoorCamera->pos.y = pParty->vPosition.y - fixpoint_mul(stru_5C6E00->Sin(pParty->sRotationY), pParty->y_rotation_granularity); |