- added directx include path to VS2008 solution
- updated shape vcproj and add it to VS2008 solution - minor changes (i.e. typecasting) to get rid of compiler warnings in VS
This commit is contained in:
parent
458c6eda30
commit
1975b91fae
13 changed files with 50 additions and 31 deletions
|
@ -315,7 +315,7 @@ main(int argc, char *argv[])
|
|||
fprintf(stderr, "Out of memory!\n");
|
||||
quit(2);
|
||||
}
|
||||
srand(time(NULL));
|
||||
srand((unsigned int)time(NULL));
|
||||
if (scaleMode != SDL_TEXTURESCALEMODE_NONE) {
|
||||
sprite_w += sprite_w / 2;
|
||||
sprite_h += sprite_h / 2;
|
||||
|
@ -368,6 +368,7 @@ main(int argc, char *argv[])
|
|||
printf("%2.2f frames per second\n", fps);
|
||||
}
|
||||
quit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue