|
|
@ -63,7 +63,7 @@ int MAP_WIDTH=-1; |
|
|
|
int MAP_HEIGHT=-1; |
|
|
|
int MAP_HEIGHT=-1; |
|
|
|
Map*CURRENT_MAP=nullptr; |
|
|
|
Map*CURRENT_MAP=nullptr; |
|
|
|
std::map<MapName::Map,Map*> MAPS; |
|
|
|
std::map<MapName::Map,Map*> MAPS; |
|
|
|
int GAME_STATE=GameState::FILE_LOAD_SELECT; |
|
|
|
int GAME_STATE=GameState::TEST_BOX; |
|
|
|
vi2d SELECTED_TILE={0,0}; |
|
|
|
vi2d SELECTED_TILE={0,0}; |
|
|
|
vi2d HIGHLIGHTED_TILE={0,0}; |
|
|
|
vi2d HIGHLIGHTED_TILE={0,0}; |
|
|
|
int EDITING_LAYER=layer::DYNAMIC; |
|
|
|
int EDITING_LAYER=layer::DYNAMIC; |
|
|
@ -2987,6 +2987,14 @@ void SeasonI::drawGame(){ |
|
|
|
DrawBattleMoveList(OVERWORLD_POWER_SELECTION_MEMBER); |
|
|
|
DrawBattleMoveList(OVERWORLD_POWER_SELECTION_MEMBER); |
|
|
|
} |
|
|
|
} |
|
|
|
}break; |
|
|
|
}break; |
|
|
|
|
|
|
|
case GameState::TEST_BOX:{ |
|
|
|
|
|
|
|
Clear(Pixel(128,128,255)); |
|
|
|
|
|
|
|
DrawRectDecal({1,0},{(float)ScreenWidth()-1,(float)ScreenHeight()-1},DARK_RED); |
|
|
|
|
|
|
|
DrawLineDecal({1,0},{(float)ScreenWidth(),(float)ScreenHeight()-1},DARK_RED); |
|
|
|
|
|
|
|
DrawLineDecal({1,(float)ScreenHeight()-1},{(float)ScreenWidth(),0},DARK_RED); |
|
|
|
|
|
|
|
DrawDecal({32,32},SPRITES["additionalFont.png"],{1,1},BLACK); |
|
|
|
|
|
|
|
DrawStringDecal({16,(float)ScreenHeight()-24},"Screen Pixel Size: ("+std::to_string(GetScreenPixelSize().x)+","+std::to_string(GetScreenPixelSize().y)+")",VERY_DARK_GREEN); |
|
|
|
|
|
|
|
}break; |
|
|
|
case GameState::SHOPKEEPER_MENU:{ |
|
|
|
case GameState::SHOPKEEPER_MENU:{ |
|
|
|
DrawGameWorld(); |
|
|
|
DrawGameWorld(); |
|
|
|
SetDrawTarget(layer::INTERFACE); |
|
|
|
SetDrawTarget(layer::INTERFACE); |
|
|
@ -5685,7 +5693,7 @@ void SeasonI::SetupGameDrawing(){ |
|
|
|
int main() |
|
|
|
int main() |
|
|
|
{ |
|
|
|
{ |
|
|
|
SeasonI demo; |
|
|
|
SeasonI demo; |
|
|
|
if (demo.Construct(WIDTH, HEIGHT, 4, 4)) |
|
|
|
if (demo.Construct(WIDTH, HEIGHT, 1, 1,false,false,true)) |
|
|
|
demo.Start(); |
|
|
|
demo.Start(); |
|
|
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|