mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-09-02 20:25:48 -04:00
rewrite gpathtable and path resolution
This commit is contained in:
parent
ccebc91f0d
commit
4a0c7d4fd0
125 changed files with 889 additions and 901 deletions
|
@ -1,4 +1,4 @@
|
|||
#include <types.h>
|
||||
#include <libs/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <conio.h>
|
||||
|
@ -75,7 +75,7 @@ int find_free_channel()
|
|||
{
|
||||
int i;
|
||||
for(i=0;i<256;i++) if (chaninfo[i].snd==NULL) return i;
|
||||
printf("Nemohu pridat zvuk. Jiz je zaplneno vsech %d kanal–\n",CHANNELS);
|
||||
printf("Nemohu pridat zvuk. Jiz je zaplneno vsech %d kanal<EFBFBD>\n",CHANNELS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ void open_wav(char *wav)
|
|||
wavinf=(struct t_wave *)malloc(get_chunk_size(snd));
|
||||
if (wavinf==NULL)
|
||||
{
|
||||
puts("Nedostatek pam<61>ti.");
|
||||
puts("Nedostatek pam<61>ti.");
|
||||
return;
|
||||
}
|
||||
read_chunk(snd,wavinf);
|
||||
|
@ -480,7 +480,7 @@ void call_script(char *script_name)
|
|||
else strcpy(c,SND_NAME);
|
||||
if (scr==NULL)
|
||||
{
|
||||
printf("Nemohu otev©ˇt script: %s\n",script_name);
|
||||
printf("Nemohu otev<EFBFBD><EFBFBD>t script: %s\n",script_name);
|
||||
exit(1);
|
||||
}
|
||||
snf=fopen(snd_name,"r");
|
||||
|
@ -488,7 +488,7 @@ void call_script(char *script_name)
|
|||
open_files(name);
|
||||
if (i!=1)
|
||||
{
|
||||
printf("Chyba ve script souboru: %s. Prvni musˇ b<>t jm‚no cˇlov‚ho souboru.\n",scr);
|
||||
printf("Chyba ve script souboru: %s. Prvni mus<EFBFBD> b<>t jm<6A>no c<>lov<6F>ho souboru.\n",scr);
|
||||
exit(1);
|
||||
}
|
||||
while ((i=fgetc(scr))!=EOF && i!='\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue