- Inclosa la versió en el menú principal
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#include "gamestates.h"
|
#include "gamestates.h"
|
||||||
#include "jgame.h"
|
#include "jgame.h"
|
||||||
|
#include "aux_font.h"
|
||||||
|
#include "versio.h"
|
||||||
|
|
||||||
namespace gamestate
|
namespace gamestate
|
||||||
{
|
{
|
||||||
@@ -28,6 +30,9 @@ namespace gamestate
|
|||||||
audio::playMusic(audio::loadMusic("mus3.ogg"));
|
audio::playMusic(audio::loadMusic("mus3.ogg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
font::selectFont(font::type::colored);
|
||||||
|
font::setColor(font::color::white);
|
||||||
|
|
||||||
draw::fadein();
|
draw::fadein();
|
||||||
|
|
||||||
game::setState(&gamestate::menu::loop);
|
game::setState(&gamestate::menu::loop);
|
||||||
@@ -50,6 +55,8 @@ namespace gamestate
|
|||||||
|
|
||||||
draw::draw(fondo);
|
draw::draw(fondo);
|
||||||
|
|
||||||
|
font::print(277,192, versio);
|
||||||
|
|
||||||
draw::setSource(cursor);
|
draw::setSource(cursor);
|
||||||
draw::draw(x, y);
|
draw::draw(x, y);
|
||||||
|
|
||||||
|
|||||||
3
source/versio.h
Normal file
3
source/versio.h
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
const char *versio = "v1.2.0";
|
||||||
Reference in New Issue
Block a user