- Timestamp:
- 06/03/04 02:20:20 (21 years ago)
- Location:
- ps/trunk/source
- Files:
-
- 4 edited
-
graphics/MiniPatch.cpp (modified) (1 diff)
-
graphics/ObjectManager.cpp (modified) (1 diff)
-
graphics/TextureManager.cpp (modified) (1 diff)
-
gui/CGUI.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/graphics/MiniPatch.cpp
r306 r375 28 28 void CMiniPatch::GetTileIndex(u32& x,u32& z) 29 29 { 30 u32 tindex=this-&m_Parent->m_MiniPatches[0][0];30 const ptrdiff_t tindex = this - &m_Parent->m_MiniPatches[0][0]; 31 31 x=(m_Parent->m_X*16)+tindex%16; 32 32 z=(m_Parent->m_Z*16)+tindex/16; -
ps/trunk/source/graphics/ObjectManager.cpp
r342 r375 37 37 SObjectType& type=m_ObjectTypes.back(); 38 38 type.m_Name=name; 39 type.m_Index= m_ObjectTypes.size()-1;39 type.m_Index=(int)m_ObjectTypes.size()-1; 40 40 } 41 41 -
ps/trunk/source/graphics/TextureManager.cpp
r344 r375 32 32 STextureType& ttype=m_TerrainTextures.back(); 33 33 ttype.m_Name=name; 34 ttype.m_Index= m_TerrainTextures.size()-1;34 ttype.m_Index=(int)m_TerrainTextures.size()-1; 35 35 } 36 36 -
ps/trunk/source/gui/CGUI.cpp
r351 r375 755 755 continue; 756 756 757 COverlayText txt( pos.x+it->m_Pos.x,pos.y+it->m_Pos.y,758 z, it->m_Font, it->m_String,757 COverlayText txt((float)pos.x+it->m_Pos.x, (float)pos.y+it->m_Pos.y, 758 (int)z, it->m_Font, it->m_String, 759 759 (it->m_UseCustomColor?it->m_Color:DefaultColor)); 760 760 render(&txt);
Note:
See TracChangeset
for help on using the changeset viewer.
