58 LoadXML( filename, centr, timeofyear );
60 name = strdup( filename );
108 const float tempo[4] = {1, 0, 0, 0};
166 vsUMap< void*, struct empty >gravunits;
177 if ( gravunits.find( unit ) == gravunits.end() )
222 gravunits[unit] = empty();
241 bool alreadysetviewport =
false;
256 alreadysetviewport =
true;
265 targ = saveparent->
Target();
267 Unit *camunits[2] = {saveparent, targ};
270 for (
int i = 0;
i < 2; ++
i) {
271 Unit *unit = camunits[
i];
291 setupdrawtime =
queryTime()-setupdrawtime;
296 double maxdrawtime = 0;
302 Collidable key_iterator( 0, 1, drawstartpos );
322 for (
unsigned int sim_counter = 0; sim_counter <=
SIM_QUEUE_SIZE; ++sim_counter) {
328 while ( ( unit = iter.
current() ) != NULL ) {
343 if (tmp > maxdrawtime) maxdrawtime = tmp;
425 printf(
"using NV_CUBE_MAP\n" );
429 if ( LightMap[0]->LoadSuccess() && LightMap[0]->isCube() ) {
430 LightMap[1] = LightMap[2] = LightMap[3] = LightMap[4] = LightMap[5] = 0;