Jeck - [JGE recompile needed] Shop cleanup, Interface enhancements.
Added basic transition system that works with GameApp's phases. Currently does a fade-out between elements, which works well in some places and not-so-well in others. We'll definitely want to think about where and where not to use it... they'd work a lot better if we could spawn a thread to handle loading the next state while transitioning. Also cleaned up the shop a bit, so it uses ReadButton() instead of GetButtonClick()-- hence the slight change to JGE. Added a tiled image for the task board, which loads conservatively (I tried 128x128, but it didn't look as good).
This commit is contained in:
@@ -11,15 +11,23 @@ using namespace std;
|
||||
|
||||
enum ENUM_GAME_STATE
|
||||
{
|
||||
GAME_STATE_NONE = -1,
|
||||
GAME_STATE_MENU = 1,
|
||||
GAME_STATE_DUEL = 2,
|
||||
GAME_STATE_DECK_VIEWER = 3,
|
||||
GAME_STATE_SHOP = 4,
|
||||
GAME_STATE_OPTIONS = 5,
|
||||
GAME_STATE_AWARDS = 6,
|
||||
GAME_STATE_MAX = 7,
|
||||
GAME_STATE_TRANSITION = 7,
|
||||
GAME_STATE_MAX = 8,
|
||||
};
|
||||
|
||||
enum ENUM_GS_TRANSITION
|
||||
{
|
||||
TRANSITION_FADE = 0,
|
||||
TRANSITION_FADE_IN = 1,
|
||||
MAX_TRANSITION
|
||||
};
|
||||
|
||||
class GameApp;
|
||||
class SimpleMenu;
|
||||
|
||||
Reference in New Issue
Block a user