/** * @brief Updates the episodic memory with details about an event * @param local Pointer to the ape * @param event The type of event * @param affect The affect value associated with the event * @param local_sim Pointer to the simulation * @param name1 Name of the first ape in the memory (meeter) * @param family1 Family name of the first ape in the memory (meeter) * @param name2 Name of the second ape in the memory (met) * @param family2 Family name of the second ape in the memory (met) * @param arg Any additional arguments */ void episodic_store_memory( noble_being * local, being_episodic_event_type event, AFFECT_TYPE affect, n_byte2 name1, n_byte2 family1, n_byte2 name2, n_byte2 family2, n_byte2 arg) { episodic_store_full(local, event,affect,name1,family1,name2,family2, arg, 0); }
/** * Updates the episodic memory with details about an event * @param local Pointer to the ape * @param event The type of event * @param affect The affect value associated with the event * @param local_sim Pointer to the simulation * @param name1 Name of the first ape in the memory (meeter) * @param family1 Family name of the first ape in the memory (meeter) * @param name2 Name of the second ape in the memory (met) * @param family2 Family name of the second ape in the memory (met) * @param arg Any additional arguments */ void episodic_store_memory( noble_being * local, n_byte event, n_int affect, noble_simulation * local_sim, n_byte2 name1, n_byte2 family1, n_byte2 name2, n_byte2 family2, n_byte2 arg) { episodic_store_full(local,event,affect,local_sim,name1,family1,name2,family2, arg, 0); }
void episodic_food(noble_simulation * local_sim, noble_being * local, n_int energy, n_byte food_type) { episodic_store_full(local, EVENT_EAT, energy, local_sim, GET_NAME_GENDER(local_sim,local),GET_NAME_FAMILY2(local_sim,local), 0, 0, 0, food_type); }
/** * @brief Remember eating * @param local_sim Pointer to the simulation object * @param local Pointer to the being * @param energy Energy obtained from food * @param food_type The type of food */ void episodic_food(noble_being * local, n_int energy, n_byte food_type) { episodic_store_full(local, EVENT_EAT, energy, being_gender_name(local), being_family_name(local), 0, 0, 0, food_type); }