1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Corrige namespace StepTime

This commit is contained in:
Danilo 2024-05-27 17:34:28 -03:00
parent a4fffeae62
commit d7deb540d9
4 changed files with 9 additions and 4 deletions

View File

@ -34,7 +34,7 @@ namespace xna {
int Game::StartGameLoop() {
MSG msg{};
impl->_stepTimer = DX::StepTimer();
impl->_stepTimer = xna::StepTimer();
do {
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))

View File

@ -468,7 +468,7 @@ namespace xna {
private:
friend class Game;
DX::StepTimer _stepTimer{};
xna::StepTimer _stepTimer{};
};
struct SoundEffectInstance::PlatformImplementation {

View File

@ -1,3 +1,5 @@
#ifndef XNA_PLATFORM_DX_SLEPTIME_HPP
#define XNA_PLATFORM_DX_SLEPTIME_HPP
//
// StepTimer.h - A simple timer that provides elapsed time information
//
@ -10,7 +12,7 @@
#include <exception>
namespace DX
namespace xna
{
// Helper class for animation and simulation timing.
class StepTimer
@ -189,3 +191,5 @@ namespace DX
uint64_t m_targetElapsedTicks;
};
}
#endif

View File

@ -3,4 +3,5 @@
#
# Add source to this project's executable.
add_subdirectory ("02_PlatfformerStarterKit")
add_subdirectory ("01_blank")
#add_subdirectory ("02_PlatfformerStarterKit")