if you have full comp, and your car is a write off:
your insurance company will pay you out the market/agreed value of your car, less any applicable excess (age, unremovalble driver + whatever else they have stated in your certificate of insurace), and less whatever you still owe them for the policy (only applies if you pay by the month, or for whatever reason you owe them money). and they will take your car and whatever left on your rego off you.
your insurance company will try to recover whatever money they can:
i.e. take whatever is left on your rego and get the refund off the government. and sell your car off to a wreckers or auction it off, either as a repairable write off or as scrap (obviously depending on the dmg)
make sure you take all your personal belongings off the car, and any aftermarket parts that's not listed on your certificate of insurance, sometimes they will bitch about it, but you should be able to get away with it provided you replace them with stock parts
you may be able to buy the wreck back off your insurance company if you wish to do so, call them and ask.
hope that helps
and as with your foot, sorry to hear about it... but you may be able to claim it on your CPT (depends on which company you went with for that, most will only cover third parties, but i do remember hearing ads for 1 company that apparently covers the at fault driver for something as well), once again it doesnt hurt to ask.