mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-02-02 15:07:27 -05:00
fixing warnings
This commit is contained in:
parent
bba748811c
commit
f1a58a9e4a
4
fisher.c
4
fisher.c
@ -86,8 +86,8 @@ void draw(void){
|
||||
/*while(LEN< 15 || COL<80)
|
||||
mvprintw(0,0,"Screen size should at least be 80*15 characters");*/
|
||||
attron(colors[0]);
|
||||
byte y,x;
|
||||
filled_rect(0,0,12,80);
|
||||
byte y;
|
||||
mvprintw(0,0," __ Hooks:%d",hooknum);
|
||||
mvprintw(1,0,"|__ Score:%d",score);
|
||||
mvprintw(2,0,"| ISHER");
|
||||
@ -190,7 +190,6 @@ byte save_score(void){
|
||||
|
||||
|
||||
void show_scores(byte playerrank){
|
||||
byte y,x;
|
||||
attron(colors[3]);
|
||||
filled_rect(0,0,LEN,WID);
|
||||
green_border();
|
||||
@ -368,7 +367,6 @@ int main(void){
|
||||
flushinp();
|
||||
}
|
||||
}
|
||||
End:
|
||||
flushinp();
|
||||
nocbreak();
|
||||
cbreak();
|
||||
|
@ -480,7 +480,6 @@ long decide(byte board[len][wid],snake *me,snake *enemy){
|
||||
int dist=(y_dist+x_dist);
|
||||
long g=go_deep(board,*me,1);
|
||||
reportd(g);
|
||||
long max_survival;
|
||||
byte directions[4]={0,1,2,3};
|
||||
long advantages[4]={0};
|
||||
if(me->strategy==IMITATE ){
|
||||
|
Loading…
Reference in New Issue
Block a user