Commit 0bcfdc0a by NTAuthority

default render models for different games

parent c10f2a97
Pipeline #60 skipped
......@@ -5,12 +5,16 @@
#include <windows.h>
#include <d3d9.h>
#include <Console.Variables.h>
namespace krt
{
void RenderingTest(void* gfxDevice)
{
static std::unique_ptr<ConVar<std::string>> defaultRenderModel = std::make_unique<ConVar<std::string>>("default_render_model", ConVar_Archive, "ind_maindrag2");
static bool modelChanged = false;
static std::string modelName = "ind_maindrag2";
static std::string modelName = defaultRenderModel->GetValue();
static ConsoleCommand renderModel("render_model", [] (const std::string& newModelName)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment