- #3 fix issues reported by an ARM64 compiler (2)

This commit is contained in:
Ondřej Novák 2025-05-01 14:03:27 +02:00
parent 27c803f040
commit f9e5b3d1e9
5 changed files with 10 additions and 10 deletions

View file

@ -745,7 +745,7 @@ static void wait_timer(EVENT_MSG *msg, void **udata) {
}
}
void effect_show()
void effect_show(void)
{
int i;
char s = exit_wait;
@ -861,7 +861,7 @@ char enter_generator()
memset(&cur_stats,0,sizeof(cur_stats));
vypocet_vlastnosti(cur_angle,&cur_vls);
b_disables=0x7;
redraw_generator(rep);if (!rep)effect_show(NULL);rep=1;
redraw_generator(rep);if (!rep)effect_show();rep=1;
edit_name();
change_click_map(clk_page1,CLK_PAGE1);
was_enter=0;

View file

@ -1763,8 +1763,8 @@ char clk_enter(int id,int xa,int ya,int xr,int yr);
//menu
int enter_menu(char open); //task!
void titles(va_list args); //task!
void run_titles(va_list args); //task!
void effect_show(void); //effektni zobrazeni
void run_titles(void );
void effect_show(void); //effektni zobrazeni
void konec_hry(void);

View file

@ -604,7 +604,7 @@ void titles(va_list args)
if (send_back)send_message(E_KEYBOARD,27);
}
void run_titles(va_list args)
void run_titles(void)
{
int task_id;
task_id=add_task(8196,titles,1,"titulky.TXT");
@ -612,12 +612,12 @@ void run_titles(va_list args)
term_task(task_id);
}
void konec_hry()
void konec_hry(void)
{
int task_id;
int timer;
schovej_mysku();
curcolor=0;
bar32(0,0,639,479);

View file

@ -989,7 +989,7 @@ void init_skeldal(const INI_CONFIG *cfg)
cti_texty();
timer_tree.next=NULL;
init_events();
init_events();
steam_init();
@ -1579,7 +1579,7 @@ static void start(va_list args)
openning =0;
break;
case V_OBNOVA_HRY:load_saved_game();break;
case V_AUTORI:run_titles(NULL);break;
case V_AUTORI:run_titles();break;
}
}
while (!exit_wait);

View file

@ -2,6 +2,7 @@
temp_file=$(mktemp /tmp/skeldal.XXXXXX.log)
CURDIR=`dirname "$0"`
chmod +x "$CURDIR/skeldal_bin"
LD_LIBRARY_PATH=$CURDIR:$LD_LIBRARY_PATH "$CURDIR/skeldal_bin" $* > "$temp_file" 2>&1
exit_code=$?
@ -25,4 +26,3 @@ fi
rm $temp_file
exit $exit_code