Mercurial > mm7
comparison Render.cpp @ 727:da130dd3092a
Big time Travel ouverhaul
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 00:02:31 +0200 |
parents | 735dab8d3c9a |
children | 9f596a163257 |
comparison
equal
deleted
inserted
replaced
710:735dab8d3c9a | 727:da130dd3092a |
---|---|
9393 } | 9393 } |
9394 | 9394 |
9395 | 9395 |
9396 | 9396 |
9397 //----- (004A5B81) -------------------------------------------------------- | 9397 //----- (004A5B81) -------------------------------------------------------- |
9398 void Render::Clip(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW) | 9398 void Render::SetTextureClipRect(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW) |
9399 { | 9399 { |
9400 this->bClip = 1; | 9400 this->bClip = 1; |
9401 this->uClipY = uY; | 9401 this->uClipY = uY; |
9402 this->uClipX = uX; | 9402 this->uClipX = uX; |
9403 this->uClipW = uW; | 9403 this->uClipW = uW; |
9404 this->uClipZ = uZ; | 9404 this->uClipZ = uZ; |
9405 } | 9405 } |
9406 | 9406 |
9407 | 9407 |
9408 //----- (004A5BB6) -------------------------------------------------------- | 9408 //----- (004A5BB6) -------------------------------------------------------- |
9409 void Render::ResetClip() | 9409 void Render::ResetTextureClipRect() |
9410 { | 9410 { |
9411 this->uClipY = 0; | 9411 this->uClipY = 0; |
9412 this->uClipX = 0; | 9412 this->uClipX = 0; |
9413 this->bClip = 1; | 9413 this->bClip = 1; |
9414 this->uClipW = 480; | 9414 this->uClipW = 480; |