51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef CLIENTMEDIA_HEADER
-#define CLIENTMEDIA_HEADER
+#pragma once
#include "irrlichttypes.h"
#include "filecache.h"
float getProgress() const {
if (m_uncached_count >= 1)
- return 1.0 * m_uncached_received_count /
+ return 1.0f * m_uncached_received_count /
m_uncached_count;
- else
- return 0.0;
+
+ return 0.0f;
}
bool isStarted() const {
std::string m_name_bound = "";
};
-
-#endif // !CLIENTMEDIA_HEADER