aboutsummaryrefslogtreecommitdiff
path: root/Core.cpp
diff options
context:
space:
mode:
authorBDKPlayer <fabian.stotz@yahoo.de>2020-02-26 20:37:32 +0100
committerBDKPlayer <fabian.stotz@yahoo.de>2020-02-26 20:37:32 +0100
commit3caca381151332c22a24cb16676bc449d3276cae (patch)
treeed9e83a91894491a1aff044a02081b49ae0c496f /Core.cpp
parent383544a05db3a7d83a2104ad6b51a2e398d7b88b (diff)
Added: support for Enhanced Graphics DLC (dynmaic tilesize)
Fixed: total players now correct
Diffstat (limited to 'Core.cpp')
-rw-r--r--Core.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Core.cpp b/Core.cpp
index 8049f0c..5781a82 100644
--- a/Core.cpp
+++ b/Core.cpp
@@ -156,8 +156,10 @@ void Core::OnPresent()
if (ImGui::Begin("Age of Empires 2 DE", &openOverlay, ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoNav))
{
ImGui::Text("World %p", world);
+ ImGui::Text("Map %p tilesize %d", world->pMap, world->pMap->GetTileSize());
ImGui::Text("PlayerArray %p", playerArray);
- //ImGui::Text("totalPlayers %d", totalPlayers);
+ ImGui::Text("totalPlayers %d", totalPlayers);
+ ImGui::Text("ScreenPos %f %f %f", mainScreen->pGameScreen->pMainView->ScreenPosX, mainScreen->pGameScreen->pMainView->ScreenPosY, mainScreen->pGameScreen->pMainView->ScreenPosZ);
for (int i = 0; i < totalPlayers; i++)
{
createPlayerTreeNode(playerArray->playerData[i].player, i);