if (config_get_d(CONFIG_BACKGROUND))
{
- /* Draw all background layers back to front. */
-
- mq = sol_back(&gd->back.draw, mq, BACK_DIST, FAR_DIST, t);
mq = back_draw(mq, 0);
- mq = sol_back(&gd->back.draw, mq, 0, BACK_DIST, t);
+ mq = sol_back(&gd->back.draw, mq, 0, FAR_DIST, t);
}
else back_draw(mq, t);
}
"image" "png/stars1"
"width" " +101.49846 +0.00000 +0.00000"
"height" " +101.49846 +0.00000 +0.00000"
-"xrot" " +10.31190 +0.00000 +0.00000"
+"xrot" " +30.31190 +0.00000 +0.00000"
"yrot" " -48.79726 +0.00000 +0.00000"
"zrot" " -147.09494 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars1"
"width" " +198.85251 +0.00000 +0.00000"
"height" " +198.85251 +0.00000 +0.00000"
-"xrot" " +0.32685 +0.00000 +0.00000"
+"xrot" " +20.32685 +0.00000 +0.00000"
"yrot" " -137.13004 +0.00000 +0.00000"
"zrot" " -19.55077 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars1"
"width" " +137.58659 +0.00000 +0.00000"
"height" " +137.58659 +0.00000 +0.00000"
-"xrot" " +3.93506 +0.00000 +0.00000"
+"xrot" " +15.93506 +0.00000 +0.00000"
"yrot" " +63.79406 +0.00000 +0.00000"
"zrot" " -146.65547 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars3"
"width" " +183.76111 +0.00000 +0.00000"
"height" " +183.76111 +0.00000 +0.00000"
-"xrot" " +14.37513 +0.00000 +0.00000"
+"xrot" " +24.37513 +0.00000 +0.00000"
"yrot" " -5.42192 +0.00000 +0.00000"
"zrot" " +81.53752 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars1"
"width" " +117.78924 +0.00000 +0.00000"
"height" " +117.78924 +0.00000 +0.00000"
-"xrot" " +10.88870 +0.00000 +0.00000"
+"xrot" " +18.88870 +0.00000 +0.00000"
"yrot" " -8.90469 +0.00000 +0.00000"
"zrot" " +114.18989 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars1"
"width" " +175.58519 +0.00000 +0.00000"
"height" " +175.58519 +0.00000 +0.00000"
-"xrot" " +8.61141 +0.00000 +0.00000"
+"xrot" " +15.61141 +0.00000 +0.00000"
"yrot" " -8.89370 +0.00000 +0.00000"
"zrot" " +79.88953 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars3"
"width" " +119.78515 +0.00000 +0.00000"
"height" " +119.78515 +0.00000 +0.00000"
-"xrot" " +7.69494 +0.00000 +0.00000"
+"xrot" " +15.69494 +0.00000 +0.00000"
"yrot" " -135.60289 +0.00000 +0.00000"
"zrot" " +123.17698 +0.00000 +0.00000"
"dist" " +300.00000"
"image" "png/stars3"
"width" " +125.27238 +0.00000 +0.00000"
"height" " +125.27238 +0.00000 +0.00000"
-"xrot" " +4.27045 +0.00000 +0.00000"
+"xrot" " +19.27045 +0.00000 +0.00000"
"yrot" " -179.41771 +0.00000 +0.00000"
"zrot" " -127.98914 +0.00000 +0.00000"
"dist" " +300.00000"
config_set_d(CONFIG_HEIGHT, h);
glViewport(0, 0, w, h);
- glClearColor(0.0f, 0.0f, 0.1f, 0.0f);
+ glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glEnable(GL_NORMALIZE);
glEnable(GL_CULL_FACE);
void video_clear(void)
{
if (config_get_d(CONFIG_REFLECTION))
- glClear(GL_COLOR_BUFFER_BIT |
- GL_DEPTH_BUFFER_BIT |
+ glClear(GL_DEPTH_BUFFER_BIT |
GL_STENCIL_BUFFER_BIT);
else
- glClear(GL_COLOR_BUFFER_BIT |
- GL_DEPTH_BUFFER_BIT);
+ glClear(GL_DEPTH_BUFFER_BIT);
}
/*---------------------------------------------------------------------------*/