1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-09 02:24:21 +03:00
inform7/inter/codegen-module/Chapter 6/Regions.w
2021-06-23 00:23:35 +01:00

15 lines
315 B
OpenEdge ABL

[IXRegions::] Regions.
Indexing the player's initial position.
@
=
int IXRegions::add_to_World_index(OUTPUT_STREAM, faux_instance *O) {
if ((O) && (IXInstances::is_a_room(O))) {
faux_instance *R = IXInstances::region_of(O);
if (R) PL::HTMLMap::colour_chip(OUT, O, R, O->region_set_at);
}
return FALSE;
}