torpedo_coder/ideas/commcode_list.h
2025-01-28 02:56:39 +01:00

5 lines
661 B
C

BYTEINFO(COMM, "write", 'w', ship_write, INPUT, INPUT, IGNORE) // COMM write <info> <channel> (write a number to a ship-wide channel)
BYTEINFO(COMM, "read", 'r', ship_read, OUTPUT, INPUT, IGNORE) // COMM read <output> <channel> (read a number from a ship-wide channel)
BYTEINFO(COMM, "gps", 'G', gps, OUTPUT, OUTPUT, IGNORE) // COMM gps <output_X> <output_Y> (gets global coordinates)
BYTEINFO(COMM, "fwrite", 'W', fleet_write, INPUT, INPUT, IGNORE) // COMM write <info> <channel> (write a number to a fleet-wide channel)
BYTEINFO(COMM, "fread", 'R', fleet_read, OUTPUT, INPUT, IGNORE) // COMM read <output> <channel> (read a number to a fleet-wide channel)