Optimize network traffic a bit:
- Send keepalive packets every second
- Don't send keepalive packet if there was action packet within a second
Time between turns in net game is reduced to 1 second now (was 2 seconds)
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#import <Cocoa/Cocoa.h>
@interface SDLMain : NSObject
@end