Tivoilos Posted June 28, 2007 Author Share Posted June 28, 2007 Just Back for 2 days for some helpOk I need some quick help, I was tearing apart the source code for TE an I found somthing that Bafled me, I'm not sure what this is,> Function GetTileX(ByVal mapper As Long, ByVal x As Long, ByVal y As Long, ByVal layer As Long)> Select Case layer> Case 0> GetTileX = map(mapper).Tile(x, y).Ground - Int(map(mapper).Tile(x, y).Ground / 14) * 14> Case 1> GetTileX = map(mapper).Tile(x, y).Mask - Int(map(mapper).Tile(x, y).Mask / 14) * 14> Case 2> GetTileX = map(mapper).Tile(x, y).Anim - Int(map(mapper).Tile(x, y).Anim / 14) * 14> Case 3> GetTileX = map(mapper).Tile(x, y).Mask2 - Int(map(mapper).Tile(x, y).Mask2 / 14) * 14> Case 4> GetTileX = map(mapper).Tile(x, y).M2Anim - Int(map(mapper).Tile(x, y).M2Anim / 14) * 14> Case 5> GetTileX = map(mapper).Tile(x, y).Fringe - Int(map(mapper).Tile(x, y).Fringe / 14) * 14> Case 6> GetTileX = map(mapper).Tile(x, y).FAnim - Int(map(mapper).Tile(x, y).FAnim / 14) * 14> Case 7> GetTileX = map(mapper).Tile(x, y).Fringe2 - Int(map(mapper).Tile(x, y).Fringe2 / 14) * 14> Case 8> GetTileX = map(mapper).Tile(x, y).F2Anim - Int(map(mapper).Tile(x, y).F2Anim / 14) * 14Is this for the Box that you see before you set your tile on the ground? Or somthing else it does not explain what it is for, like most of the coding.~Tivoilos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now