mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 06:00:33 -04:00
- #3 fix issues reported by an ARM64 compiler (2)
This commit is contained in:
parent
27c803f040
commit
f9e5b3d1e9
5 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -1763,7 +1763,7 @@ 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 run_titles(void );
|
||||
void effect_show(void); //effektni zobrazeni
|
||||
void konec_hry(void);
|
||||
|
||||
|
|
|
@ -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,7 +612,7 @@ void run_titles(va_list args)
|
|||
term_task(task_id);
|
||||
}
|
||||
|
||||
void konec_hry()
|
||||
void konec_hry(void)
|
||||
{
|
||||
int task_id;
|
||||
int timer;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue