- // Register the main function of an agent in a global table.
- MSG_function_register("simulation_main", simulation_main);
+ // Register the default function of an agent
+ // MSG_function_register("simulation_main", simulation_main);
+ MSG_function_register_default(simulation_main);