Functions |
n_int | console_executing (void) |
void | console_external_watch (void) |
n_int | console_being (void *ptr, n_string response, n_console_output output_function) |
n_int | get_time_interval (n_string str, n_int *number, n_int *interval) |
n_int | console_simulation (void *ptr, n_string response, n_console_output output_function) |
n_int | console_list (void *ptr, n_string response, n_console_output output_function) |
n_int | console_next (void *ptr, n_string response, n_console_output output_function) |
n_int | console_previous (void *ptr, n_string response, n_console_output output_function) |
void | console_populate_braincode (noble_simulation *local_sim, line_braincode function) |
n_int | console_genome (void *ptr, n_string response, n_console_output output_function) |
n_int | console_stats (void *ptr, n_string response, n_console_output output_function) |
n_int | console_probes (void *ptr, n_string response, n_console_output output_function) |
n_int | console_episodic (void *ptr, n_string response, n_console_output output_function) |
n_int | console_social_graph (void *ptr, n_string response, n_console_output output_function) |
n_int | console_braincode (void *ptr, n_string response, n_console_output output_function) |
n_int | console_speech (void *ptr, n_string response, n_console_output output_function) |
n_int | console_appearance (void *ptr, n_string response, n_console_output output_function) |
n_int | console_event (void *ptr, n_string response, n_console_output output_function) |
n_int | console_logging (void *ptr, n_string response, n_console_output output_function) |
n_int | console_idea (void *ptr, n_string response, n_console_output output_function) |
n_int | console_watch (void *ptr, n_string response, n_console_output output_function) |
n_int | console_interval (void *ptr, n_string response, n_console_output output_function) |
n_int | console_stop (void *ptr, n_string response, n_console_output output_function) |
n_int | console_file (void *ptr, n_string response, n_console_output output_function) |
n_int | console_step (void *ptr, n_string response, n_console_output output_function) |
n_int | console_run (void *ptr, n_string response, n_console_output output_function) |
n_int | console_reset (void *ptr, n_string response, n_console_output output_function) |
n_int | console_speak (void *ptr, n_string response, n_console_output output_function) |
n_int | console_alphabet (void *ptr, n_string response, n_console_output output_function) |
n_int | console_save (void *ptr, n_string response, n_console_output output_function) |
n_int | console_open (void *ptr, n_string response, n_console_output output_function) |
n_int | console_script (void *ptr, n_string response, n_console_output output_function) |
n_int | console_top (void *ptr, n_string response, n_console_output output_function) |
n_int | console_debug (void *ptr, n_string response, n_console_output output_function) |
n_int | console_epic (void *ptr, n_string response, n_console_output output_function) |
n_int | console_quit (void *ptr, n_string response, n_console_output output_function) |
Lists the most talked about beings, based upon episodic memories
- Parameters:
-
ptr | pointer to noble_simulation object |
response | command parameters |
output_function | function used to display the output |
- Returns:
- 0
clear the list of beings and their hit scores
get the being
get the episodic memories for the being
skip is no memories were retrieved
for all memories
non-empty slot
j = 0 is the being having the memory j = 1 is the being who is the subject of the memory
name should be non-zero
Avoid memories about yourself, since we're interested in gossip about other beings
add this being to the list, or increment its hit score
< last entry in the list
being found in the list
increment the hit score for the being
top 10 most epic beings
search the rest of the list
< end of the list
if this being has more hits then swap list entries, so that the most popular beings are at the top of the list
swap
get the name of the being
free list memory
Definition at line 2006 of file console.c.