Mercurial > mm7
comparison mm7_3.cpp @ 945:0d96349d8c87
Restoring inlined methods
author | Nomad |
---|---|
date | Wed, 01 May 2013 14:09:49 +0200 |
parents | 4dd4184d4248 |
children | 5a2dbb00c399 |
comparison
equal
deleted
inserted
replaced
940:4dd4184d4248 | 945:0d96349d8c87 |
---|---|
4546 if ( !v10 ) | 4546 if ( !v10 ) |
4547 { | 4547 { |
4548 v48 = pTextureFrameTable->GetFrameTexture(v9, pEventTimer->uTotalGameTimeElapsed); | 4548 v48 = pTextureFrameTable->GetFrameTexture(v9, pEventTimer->uTotalGameTimeElapsed); |
4549 v9 = v48; | 4549 v9 = v48; |
4550 } | 4550 } |
4551 pFaceTexture = (Texture *)(v9 != -1 ? (int)&pBitmaps_LOD->pTextures[v9] : 0); | 4551 pFaceTexture = pBitmaps_LOD->GetTexture(v9); |
4552 v7->pTexture = pFaceTexture; | 4552 v7->pTexture = pFaceTexture; |
4553 v12 = (v9 != -1 ? pBitmaps_LOD->pTextures[v9].uTextureWidth : 24); | 4553 v12 = pFaceTexture->uTextureWidth; |
4554 v49 = v12; | 4554 v49 = v12; |
4555 v49 = pFaceTexture->uTextureHeight; | 4555 v49 = pFaceTexture->uTextureHeight; |
4556 v10 = (pFace->uAttributes & 0x10) == 0; | 4556 v10 = (pFace->uAttributes & 0x10) == 0; |
4557 v45 = 1.0 / (double)v12; | 4557 v45 = 1.0 / (double)v12; |
4558 v44 = 1.0 / (double)v49; | 4558 v44 = 1.0 / (double)v49; |