If the thermostat in the head is stuck closed, then you would get heat. The heater is basically a bypass for the thermostat, so if it was stuck closed all of the hot water would be going through the cabin. If it was stuck open, I would expect luke-warm air.
If the engine was overheating and no heat was coming in the cabin, my first guess would be that the water pump impeller broke. Some water pumps have plastic impellers, and they are known to come apart. If this is the problem, pay a little extra for the OEM pump, or at least a reputable brand OE part. The cheaper ones do not last as long.
If it is not that, then there is a thermostat in the heater lines, and it could also be stuck. However, if the heat went from working to not working (plus overheating engine) all of a sudden, my money is on the water pump.