Add minor improvements
This commit is contained in:
parent
7aca665d8e
commit
ab8bcd4605
8 changed files with 53 additions and 44 deletions
|
@ -116,16 +116,16 @@ int main(int argc, char *argv[])
|
|||
if (!musicFile)
|
||||
fputs("could not open music file",stderr);
|
||||
|
||||
LCR_log("initializing game");
|
||||
puts("initializing game");
|
||||
LCR_gameInit(argc,(const char **) argv);
|
||||
|
||||
LCR_log("initializing SFML");
|
||||
puts("initializing SFML");
|
||||
sfVideoMode mode = {LCR_SETTING_RESOLUTION_X,LCR_SETTING_RESOLUTION_Y,32};
|
||||
sfEvent event;
|
||||
clock = sfClock_create();
|
||||
sfClock_restart(clock);
|
||||
|
||||
LCR_log("initializing audio");
|
||||
puts("initializing audio");
|
||||
|
||||
for (int i = 0; i < AUDIO_BUFFER_SIZE; ++i)
|
||||
audioBuffer[i] = 0;
|
||||
|
@ -165,7 +165,7 @@ int main(int argc, char *argv[])
|
|||
sfRenderWindow_display(window);
|
||||
}
|
||||
|
||||
LCR_log("ending");
|
||||
puts("ending");
|
||||
|
||||
if (musicFile)
|
||||
fclose(musicFile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue