mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Corrige namespace StepTime
This commit is contained in:
parent
a4fffeae62
commit
d7deb540d9
@ -34,7 +34,7 @@ namespace xna {
|
|||||||
int Game::StartGameLoop() {
|
int Game::StartGameLoop() {
|
||||||
MSG msg{};
|
MSG msg{};
|
||||||
|
|
||||||
impl->_stepTimer = DX::StepTimer();
|
impl->_stepTimer = xna::StepTimer();
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||||
|
@ -468,7 +468,7 @@ namespace xna {
|
|||||||
private:
|
private:
|
||||||
friend class Game;
|
friend class Game;
|
||||||
|
|
||||||
DX::StepTimer _stepTimer{};
|
xna::StepTimer _stepTimer{};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SoundEffectInstance::PlatformImplementation {
|
struct SoundEffectInstance::PlatformImplementation {
|
||||||
|
@ -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
|
// StepTimer.h - A simple timer that provides elapsed time information
|
||||||
//
|
//
|
||||||
@ -10,7 +12,7 @@
|
|||||||
#include <exception>
|
#include <exception>
|
||||||
|
|
||||||
|
|
||||||
namespace DX
|
namespace xna
|
||||||
{
|
{
|
||||||
// Helper class for animation and simulation timing.
|
// Helper class for animation and simulation timing.
|
||||||
class StepTimer
|
class StepTimer
|
||||||
@ -189,3 +191,5 @@ namespace DX
|
|||||||
uint64_t m_targetElapsedTicks;
|
uint64_t m_targetElapsedTicks;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -3,4 +3,5 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Add source to this project's executable.
|
# Add source to this project's executable.
|
||||||
add_subdirectory ("02_PlatfformerStarterKit")
|
add_subdirectory ("01_blank")
|
||||||
|
#add_subdirectory ("02_PlatfformerStarterKit")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user