mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 12:44:55 -04:00
version, more pixel formats, detect native format
This commit is contained in:
parent
5643814710
commit
8e5a26011d
6 changed files with 381 additions and 106 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "ach_events.h"
|
||||
#include "lang.h"
|
||||
#include <version.h>
|
||||
|
||||
#define MUSIC "TRACK06.MUS"
|
||||
|
||||
|
@ -334,6 +335,12 @@ static void klavesnice(EVENT_MSG *msg,void **unused)
|
|||
}
|
||||
}
|
||||
|
||||
static void show_version() {
|
||||
const char *verstr = "Version: " SKELDAL_VERSION;
|
||||
set_font(H_FLITT5, RGB888(255,255,255));
|
||||
set_aligned_position(639, 479, 2, 2, verstr);
|
||||
outtext(verstr);
|
||||
}
|
||||
|
||||
int enter_menu(char open)
|
||||
{
|
||||
|
@ -350,6 +357,7 @@ int enter_menu(char open)
|
|||
put_picture(0,0,ablock(H_MENU_BAR));
|
||||
put_picture(0,56,ablock(H_ANIM));
|
||||
ukaz_mysku();
|
||||
show_version();
|
||||
effect_show();
|
||||
|
||||
change_click_map(clk_main_menu,CLK_MAIN_MENU);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue