I think these are things that should not remain hidden in the netcode, so I will make them into defines in features.h. I am not sure the right names for them. I have turn this:
Code:
if (((pack->LastSent + 500) <= Timer::GetCurrentTime()) || (datahigh < 5 && (pack->LastSent + 250) <= Timer::GetCurrentTime())) {
into:
Code:
if (((pack->LastSent + DATA_RESEND_DELAY) <= Timer::GetCurrentTime()) || (datahigh < 5 && (pack->LastSent + DATA_RESEND_DELAY_IDLE) <= Timer::GetCurrentTime())) {
I am not sure if those two names are really the right words though. Does anybody have any better suggestions for names on these parameters?