const float DesertPillars::cube_shapes[] = { -0.4, 0.5, 1.0, 0.3 };
-DesertPillars::Options::Options(const Graphics::Display &display, int argc, char **argv)
+DesertPillars::Options::Options(const Graphics::Display &dpy, int argc, char **argv)
{
GetOpt getopt;
getopt.add_option('f', "fullscreen", window_opts.fullscreen, GetOpt::NO_ARG).set_help("Run in fullscreen mode");
if(window_opts.fullscreen)
{
- const Graphics::VideoMode &mode = display.get_desktop_mode();
+ const Graphics::VideoMode &mode = dpy.get_desktop_mode();
window_opts.width = mode.width;
window_opts.height = mode.height;
}
add("advance", &Glyph::advance);
}
-void Font::Glyph::Loader::texcoords(float x1, float y1, float x2, float y2)
+void Font::Glyph::Loader::texcoords(float x1_, float y1_, float x2_, float y2_)
{
- obj.x1 = x1;
- obj.y1 = y1;
- obj.x2 = x2;
- obj.y2 = y2;
+ obj.x1 = x1_;
+ obj.y1 = y1_;
+ obj.x2 = x2_;
+ obj.y2 = y2_;
}
} // namespace GL