Nuke a lot of MSVC compiler warnings
This commit is contained in:
@@ -129,27 +129,14 @@ int main(int, char* argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Initialize everything for the program, make sure we can run
|
||||
//
|
||||
|
||||
//MW specified argument and return type.
|
||||
void Initialize(void) {
|
||||
|
||||
|
||||
//
|
||||
// To make the Random sequences truly random, we need to make the seed start
|
||||
// at a different number. An easy way to do this is to put the current time
|
||||
// and date into the seed. Since it is always incrementing the starting seed
|
||||
// will always be different. Don’t for each call of Random, or the sequence
|
||||
// will no longer be random. Only needed once, here in the init.
|
||||
//
|
||||
//unsigned long time;
|
||||
//GetDateTime(&time);
|
||||
//SetQDGlobalsRandomSeed(time);
|
||||
srand(time(NULL));
|
||||
|
||||
//
|
||||
// Make a new window for drawing in, and it must be a color window.
|
||||
// The window is full screen size, made smaller to make it more visible.
|
||||
//
|
||||
|
Reference in New Issue
Block a user