mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 22:33:43 -04:00
compile and run in windows (improvements needed)
This commit is contained in:
parent
f55f92a88b
commit
f70b29abab
83 changed files with 415 additions and 3747 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <libs/strlite.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define PL_RANDOM 1
|
||||
#define PL_FORWARD 2
|
||||
#define PL_FIRST 3
|
||||
|
@ -463,7 +463,7 @@ void create_playlist(char *playlist)
|
|||
c=playlist;
|
||||
while (*c && *c==32) c++;
|
||||
sscanf(c,"%s",mode);
|
||||
strupr(mode);
|
||||
strupper(mode);
|
||||
shift=1;
|
||||
if (!strcmp(mode,"RANDOM")) play_list_mode=PL_RANDOM;
|
||||
else if (!strcmp(mode,"FORWARD")) play_list_mode=PL_FORWARD;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue