iw4x-client/src/Components/Modules/ArenaLength.hpp
momo5502 82e9f3864c [General] Refactor all the code
This is the actual refactoring, the last commit was broken
2017-01-20 22:41:03 +01:00

23 lines
431 B
C++

#pragma once
namespace Components
{
class ArenaLength : public Component
{
public:
ArenaLength();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() override { return "ArenaLength"; };
#endif
static Game::newMapArena_t NewArenas[128];
private:
static void ArenaMapOffsetHook1();
static void ArenaMapOffsetHook2();
static void ArenaMapOffsetHook3();
static void ArenaMapOffsetHook4();
};
}