Remove love.timer SDL implementation files, since they don’t do anything.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-10 16:21:48 -04:00
parent b620f32200
commit d7feb20df9
7 changed files with 11 additions and 134 deletions
+7 -6
View File
@@ -37,38 +37,39 @@ public:
virtual ~Timer() {}
// Implements Module.
virtual ModuleType getModuleType() const { return M_TIMER; }
ModuleType getModuleType() const override { return M_TIMER; }
const char *getName() const override { return "love.timer"; }
/**
* Measures the time between this call and the previous call,
* and updates internal values accordinly.
**/
virtual void step();
void step();
/**
* Tries to sleep for the specified amount of time. The precision is
* usually 1ms.
* @param seconds The number of seconds to sleep for.
**/
virtual void sleep(double seconds) const;
void sleep(double seconds) const;
/**
* Gets the time between the last two frames, assuming step is called
* each frame.
**/
virtual double getDelta() const;
double getDelta() const;
/**
* Gets the average FPS over the last second. Beucase the value is only updated
* once per second, it does not look erratic when displayed on screen.
* @return The "current" FPS.
**/
virtual int getFPS() const;
int getFPS() const;
/**
* Gets the average delta time (seconds per frame) over the last second.
**/
virtual double getAverageDelta() const;
double getAverageDelta() const;
/**
* Gets the amount of time passed since an unspecified time. Useful for