m4nfo station properties are based on plain nfo's action0 properties. Most of them are mapped in a straightforward way, but some of m4nfo's station property functions are based on custom calculations, or based on using more than one nfo property.
| m4nfo function | nfo property | custom |
| anim_info | 0x16 | |
| anim_speed | 0x17 | |
| anim_triggers | 0x18 | |
| bridge_height | 0x1B | yes |
| callbacks | 0x0B | |
| classlabel | 0x08 | |
| exclude_lengths | 0x0D | |
| exclude_widths | 0x0C | |
| flags | 0x13 | |
| include_lengths | 0x0D | |
| include_widths | 0x0C | |
| layout | 0x09 | |
| nontrack | 0x15 | |
| nopylons | 0x11 | |
| nowires | 0x14 | |
| pylons | 0x11 | |
| setcargotriggers | 0x12 | |
| threshold | 0x10 | |
| tiletypelayout | 0x0E | |
| wires | 0x14 |
| Flag label | Bit | Value |
| GROUNDSPRITES | 0 | 0x01 |
| DIVAMOUNT | 1 | 0x02 |
| RANDOMBITS | 2 | 0x04 |
| FOUNDATIONS | 3 | 0x08 |
| EXTENDED | 4 | 0x10 |
m4nfo station performance functions are based on plain nfo's Variational Action2 variables. Again, most of them are mapped in a straightforward way, but some of m4nfo's station performance functions are based on custom calculations, or based on use of more than one nfo variable.
Please note that functions return either Byte, Word or Dword values, depending on the context they're used in.
| m4nfo function | nfo var | Byte | Word |
| anim_frame | 0x4A/0x66 | 81 (4A | (66 $1)) 00 FF | |
| anim_trigger | 0x18 | 81 10 00 FF | |
| callback | 0x0C | 81 0C 00 FF | 85 0C 00 FF FF |
| cargo_trigger | 0x18 | 81 18 08 FF | |
| else | n/a | ||
| pbsinfo | 0x44 | 81 44 00 07 | |
| plt_axis | 0x40/0x41 | 81 40/41 18 01 | |
| plt_edges | custom | ||
| plt_even | 81 40/41 08 01 | ||
| plt_index/indexrev | custom | ||
| plt_length | 81 40/41 10 0F | ||
| plt_midnum | 0x46/0x47 | 81 46/47 04 0F | |
| plt_midpos | 81 46/47 00 0F | ||
| plt_num | 0x40/0x41 | 81 40/41 08 0F | |
| plt_numrev | 81 40/41 0C 0F | ||
| plt_pos | 81 40/41 00 0F | ||
| plt_posrev | 81 40/41 04 0F | ||
| plt_tiletype | 81 40/41 18 0F | ||
| plt_total | 81 40/41 14 0F | ||
| randombits | 0x10 | 81 10 00 FF | |
| spritetype | |||
| stationage | 0x00/0xFA | custom | |
| test_axis | 0x10 | 81 10 18 01 | |
| test_pltlength | 0x18 | 81 18 10 FF | |
| test_pltnum | 81 18 08 FF | ||
| test_pltpos | 81 18 00 FF | ||
| test_plttotal | 81 18 18 FF | ||
| test_position | 0x10 | 81 10 00 0F | |
| test_slope | 81 10 00 0F | ||
| test_tiletype | custom | ||
| tinfo_flatwater | 0x67 | ||
| tinfo_height | 0x62 | 81 62 $1 10 FF | |
| tinfo_lclass | 0x67 | 81 67 $1 18 0F | |
| tinfo_slope | 81 67 $1 00 $2 | ||
| tinfo_statid | 0x68 | 81 68 $1 00 ff | |
| tinfo_terrain | 0x42/0x67 | 81 42 00 0F / 81 67 $1 0A 07 | |
| tinfo_trackconnect | 0x45 | 81 45 00 | |
| tinfo_trackexist | 81 45 08 | ||
| tinfo_tracktype | 0x42 | 81 42 08 | |
| tinfo_water | 0x67 | 81 67 $1 09 01 | |
| tinfo_waterclass | 81 67 $1 0D 03 | ||
| testslope | 0x10 | 81 10 00 0F | |
| yearbuilt | 0xFA | 81 FA 08 FF |
m4nfo station callbacks are based on plain nfo's callbacks. They're all mapped in a straightforward way. Callbacks from the first section of the table below have to be enabled by property function callbacks(), but those from the second section do not need to be: they're always active and will be used automatically if needed.
| m4nfo callback | nfo callback |
| CB_AFRAME | 0x141 |
| CB_ASPEED | 0x142 |
| CB_AVAILABLE | 0x13 |
| CB_LAYOUT | 0x14 |
| CB_SLOPE | 0x149 |
| CB_ACONTROL | 0x140 |
| CB_AISELECT | 0x18 |
| CB_TILETYPE | 0x24 |
Callback helper functions are based on m4nfo's function cbr() which returns a parameter as a callback return value.
| m4nfo function | definition |
| animcontrol | cbr($1) |
| animframe | cbr($1) |
| grftext | cbr($1) |
| reftile | (custom) |
| reftxtcb |
In nfo, randomized Action2s are used to randomize the station (0x80).
| m4nfo function | nfo random Action2 type | random | 0x80 | randomcb | 0x80 | rerandom | (custom) |
| m4nfo trigger | nfo trigger | bit | value | NEWCARGO | 0 | 1 | NOCARGO | 1 | 2 | ARRIVE | 2 | 4 | LEAVE | 3 | 8 | LOADING | 4 | 16 | PBSRESERVE | 5 | 32 | ALLTRIGGERS | 7 | 128 |
| m4nfo function | definition |
| little | |
| lots | |
| pos | __nibble($2){}__nibble($1) |
| self |