diff options
author | Eugene Sandulenko | 2010-10-19 20:51:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-19 20:51:21 +0000 |
commit | d94435eebd8ab8e21a4a28a0274cae02910cb41d (patch) | |
tree | ed9986a645ad2a5d7c24c5c8763c81e1586c32c0 /engines/sword25/math | |
parent | 0d1d4818947c085cb3714b73024738cb99f5fca9 (diff) | |
download | scummvm-rg350-d94435eebd8ab8e21a4a28a0274cae02910cb41d.tar.gz scummvm-rg350-d94435eebd8ab8e21a4a28a0274cae02910cb41d.tar.bz2 scummvm-rg350-d94435eebd8ab8e21a4a28a0274cae02910cb41d.zip |
SWORD25: Enforce code naming conventions in gfx/graphicengine*
svn-id: r53621
Diffstat (limited to 'engines/sword25/math')
-rw-r--r-- | engines/sword25/math/geometry_script.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/math/geometry_script.cpp b/engines/sword25/math/geometry_script.cpp index dc89428d95..d15b4550f7 100644 --- a/engines/sword25/math/geometry_script.cpp +++ b/engines/sword25/math/geometry_script.cpp @@ -368,9 +368,9 @@ static void drawPolygon(const Polygon &polygon, uint color, const Vertex &offset BS_ASSERT(pGE); for (int i = 0; i < polygon.vertexCount - 1; i++) - pGE->DrawDebugLine(polygon.vertices[i] + offset, polygon.vertices[i + 1] + offset, color); + pGE->drawDebugLine(polygon.vertices[i] + offset, polygon.vertices[i + 1] + offset, color); - pGE->DrawDebugLine(polygon.vertices[polygon.vertexCount - 1] + offset, polygon.vertices[0] + offset, color); + pGE->drawDebugLine(polygon.vertices[polygon.vertexCount - 1] + offset, polygon.vertices[0] + offset, color); } static void drawRegion(const Region ®ion, uint color, const Vertex &offset) { @@ -387,12 +387,12 @@ static int r_draw(lua_State *L) { case 3: { Vertex offset; Vertex::luaVertexToVertex(L, 3, offset); - drawRegion(*pR, GraphicEngine::LuaColorToARGBColor(L, 2), offset); + drawRegion(*pR, GraphicEngine::luaColorToARGBColor(L, 2), offset); } break; case 2: - drawRegion(*pR, GraphicEngine::LuaColorToARGBColor(L, 2), Vertex(0, 0)); + drawRegion(*pR, GraphicEngine::luaColorToARGBColor(L, 2), Vertex(0, 0)); break; default: |