Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemalqueza committed Jun 13, 2024
1 parent 657adf6 commit ad1e385
Show file tree
Hide file tree
Showing 4 changed files with 11,970 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project II/Game/Source/Enemy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "Point.h"
#include "Physics.h"
#include "FadeToBlack.h"
#include "Hud.h""
#include "Hud.h"

Enemy::Enemy() : Entity(EntityType::ENEMY)
{
Expand Down
4 changes: 2 additions & 2 deletions Project II/Game/Source/SceneCombat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ void SceneCombat::EnemyTurn()
{
// Draw the path
iPoint pos = app->map->MapToWorld(path->At(i)->x, path->At(i)->y);
app->hud->DrawTile(tileEnemyTexture, pos);
//app->hud->DrawTile(tileEnemyTexture, pos);

// Set the direction of the tiles
if (pos.x > tiles[i - 1].position.x) tiles[i] = { pos, 1 };
Expand Down Expand Up @@ -477,7 +477,7 @@ void SceneCombat::EnemyTurn()
{
// Draw the path
iPoint pos = app->map->MapToWorld(path->At(i)->x, path->At(i)->y);
app->hud->DrawTile(tileEnemyTexture, pos);
//app->hud->DrawTile(tileEnemyTexture, pos);

// Set the direction of the tiles
if (pos.x > tiles[i - 1].position.x) tiles[i] = { pos, 1 };
Expand Down
8 changes: 6 additions & 2 deletions Project II/Project II.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.31101.0
# Visual Studio Version 17
VisualStudioVersion = 17.8.34601.278
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Game", "Game\Game.vcxproj", "{2AF9969B-F202-497B-AF30-7BEF9CE8005E}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Spits And Crypts", "SpitsAndCrypts\SpitsAndCrypts.vdproj", "{9CD8F676-E3A0-4FE3-850F-7B1D95D1949B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Expand All @@ -15,6 +17,8 @@ Global
{2AF9969B-F202-497B-AF30-7BEF9CE8005E}.Debug|Win32.Build.0 = Debug|Win32
{2AF9969B-F202-497B-AF30-7BEF9CE8005E}.Release|Win32.ActiveCfg = Release|Win32
{2AF9969B-F202-497B-AF30-7BEF9CE8005E}.Release|Win32.Build.0 = Release|Win32
{9CD8F676-E3A0-4FE3-850F-7B1D95D1949B}.Debug|Win32.ActiveCfg = Debug
{9CD8F676-E3A0-4FE3-850F-7B1D95D1949B}.Release|Win32.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading

0 comments on commit ad1e385

Please sign in to comment.