示例#1
0
/*
 * Upon loading the module it should inspect the scenario table
 * for any unresolved references to the MALoptimizer and set the
 * callback function.
*/
str
optimizer_prelude(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
{
    (void) cntxt;
    (void) stk;
    (void) mb;
    (void) p;
    updateScenario("mal", "MALoptimizer", (MALfcn) MALoptimizer);
    optimizerInit();
    return MAL_SUCCEED;
}
示例#2
0
/*
 * Upon loading the module it should inspect the scenario table
 * for any unresolved references to the MALoptimizer and set the 
 * callback function.
*/
str
optimizer_prelude(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
{
	(void) cntxt;
	(void) stk;
	(void) mb;
	(void) p;
	updateScenario("mal", "MALoptimizer", (MALfcn) MALoptimizer);
	optimizerInit();
	//return compileAllOptimizers(cntxt); causes problems
	return MAL_SUCCEED;
}
示例#3
0
文件: dmc.cpp 项目: mixxit/solinia
void CDynamicMapClient::scenarioUpdated(CObject* highLevel, bool willTP, uint32 /* startingActIndex */)
{
	//H_AUTO(R2_CDynamicMapClient_scenarioUpdated)
	updateScenario(highLevel, willTP);
}