| 48 | static const uint32_t METER_BIT = 0x80000000U; |
| 49 | |
| 50 | static void init_plate_info(df::pressure_plate_info &plate_info) |
| 51 | { |
| 52 | plate_info.water_min = 1; |
| 53 | plate_info.water_max = 7; |
| 54 | plate_info.flags.whole = METER_BIT; |
| 55 | plate_info.flags.bits.water = true; |
| 56 | plate_info.flags.bits.resets = true; |
| 57 | } |
| 58 | |
| 59 | /* |
| 60 | * Hook for the pressure plate itself. Implements core logic. |