fixed windows builds

This commit is contained in:
2025-07-20 00:45:31 +03:00
parent 070c3ff309
commit fb4c201921
26 changed files with 519 additions and 338 deletions

View File

@@ -84,7 +84,7 @@ void CMOBAMainMenu::Deinit()
}
DECLARE_INTERFACE(MainMenu, CMOBAMainMenu);
DECLARE_ENGINE_INTERFACE(MainMenu, CMOBAMainMenu);

View File

@@ -77,7 +77,7 @@ void C_MOBAPlayer::Spawn()
-0.1f, -0.1f, 0.1f, 0, 1
};
IVertexBuffer *pVertexBuffer = IRenderer::CreateVertexBuffer(sizeof(cubeVertices));
IVertexBuffer *pVertexBuffer = Renderer()->CreateVertexBuffer(sizeof(cubeVertices));
void *pMapping = pVertexBuffer->Map();
V_memcpy(pMapping, cubeVertices, sizeof(cubeVertices));
pVertexBuffer->Unmap();

View File

@@ -15,7 +15,7 @@ DECLARE_GAME_MODE(CTestGameMode, test_gamemode)
DLL_EXPORT void IGame_Load()
{
ILevel::LoadLevel("maps/test_map");
LevelManager()->LoadLevel("maps/test_map");
GameModeManager()->StartGameMode("test_gamemode");
return;
};