![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | renderscene (scenedef) |
| void renderscene | ( | scenedef | ) |
Definition at line 81 of file render.cpp.
References scenedef::boundmode, engrid_scene(), scenedef::hres, rootobj, RT_BOUNDING_ENABLED, timerstart(), trace_region(), and scenedef::vres.
Referenced by rt_renderscene().
{
//char msgtxt[2048];
//void * outfile;
/* Grid based accerlation scheme */
if (scene.boundmode == RT_BOUNDING_ENABLED)
engrid_scene(&rootobj); /* grid */
/* Not used now
if (scene.verbosemode) {
sprintf(msgtxt, "Opening %s for output.", scene.outfilename);
rt_ui_message(MSG_0, msgtxt);
}
createtgafile(scene.outfilename,
(unsigned short) scene.hres,
(unsigned short) scene.vres);
outfile = opentgafile(scene.outfilename);
*/
timerstart();
trace_region (scene, 0/*outfile*/, 0, 0, scene.hres, scene.vres);
//fclose((FILE *)outfile);
} /* end of renderscene() */
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.