Setting up the use of this module.

§1. This section simply sets up the module in ways expected by foundation, and contains no code of interest. The following constant exists only in tools which use this module:

define INDEX_MODULE TRUE

§2. Like all modules, this one must define a start and end function:

enumerate INDEX_SORTING_MREASON 
enumerate MAP_INDEX_MREASON 
enumerate SCENE_SORTING_MREASON 
enumerate SPATIAL_MAP_DA 
enumerate SPATIAL_MAP_WORKINGS_DA 
void IndexModule::start(void) {
    Memory::reason_name(INDEX_SORTING_MREASON, "index sorting");
    Memory::reason_name(MAP_INDEX_MREASON, "map in the World index");
    Memory::reason_name(SCENE_SORTING_MREASON, "scene index sorting");
    Log::declare_aspect(SPATIAL_MAP_DA, U"spatial map", FALSE, FALSE);
    Log::declare_aspect(SPATIAL_MAP_WORKINGS_DA, U"spatial map workings", FALSE, FALSE);
}
void IndexModule::end(void) {
}