support for controllers, save effect, fix bugs

This commit is contained in:
Ondrej Novak 2025-03-02 20:36:41 +01:00
parent 9e5faf53de
commit 44e73566b1
16 changed files with 306 additions and 38 deletions

View file

@ -1356,6 +1356,7 @@ void death_screen() {
}
void redraw_scene()
{
if (norefresh) return;
@ -1371,7 +1372,7 @@ void redraw_scene()
other_draw();
if (cur_mode == MD_END_GAME) {
death_screen();
}
}
ukaz_mysku();
global_anim_counter++;
send_message(E_KOUZLO_ANM);
@ -1436,8 +1437,8 @@ void play_fx(int x,int y)
void play_fx_at(int where)
{
static word polex[]={313,290,362,336};
static word poley[]={1,1,1,1,1};
static word polex[]={313,290,362,336,165};
static word poley[]={1,1,1,1,1,1};
play_fx(polex[where],poley[where]);
}