FalloutStrategy/FalloutEngine/j1App.cpp
bool j1App::DoUpdate()
{
	bool ret = true;
	j1Module* pModule = NULL;

	for(size_t i = 0; i < modules.size() && ret == true; i++)
	{
		pModule = modules[i];

		if(pModule->active == false) {
			continue;
		}

		ret = modules[i]->Update(dt);
	}

	return ret;
}
// Call modules on each loop iteration
Call modules on each loop iteration
Call modules on each loop iteration
bool j1App::DoUpdate()
{
	bool ret = true;
	j1Module* pModule = NULL;
	for(size_t i = 0; i < modules.size() && ret == true; i++)
	{
		pModule = modules[i];
		if(pModule->active == false) {
			continue;
		}
		ret = modules[i]->Update(dt);
	}
	return ret;
}
bool j1App :: DoUpdate ( ) { bool ret = true ; j1Module * pModule = NULL ; for ( size_t i = 0 ; i < modules . size ( ) && ret == true ; i ++ ) { pModule = modules [ i ] ; if ( pModule -> active == false ) { continue ; } ret = modules [ i ] -> Update ( dt ) ; } return ret ; }
Call modules on each loop iteration
Call modules on each loop iteration