source-engine/game/client/imgui/test_window.cpp
tupoy-ya e8525babd1
feat(ConVar): Portal exit velocitys are no longer hard coded.
fix(Physgun): Rotation works now.
I think i took it from SourceBox or whatever it was called.

feat(Portal 2): I don't remember what i did but i did something.
A lot of that something was taken from:
https://github.com/RocketLauncher21/Portal2ASW

chore(ImGui): Updated ImGui to latest.
chore(Polyhedron): Changed a lot i don't remember where i took it from.
2024-03-10 17:41:38 +05:00

26 lines
384 B
C++

/**
* @file test_window.cpp
* @brief A demo window for reference.
*/
#include "cdll_client_int.h"
#include "convar.h"
#include "imgui_window.h"
DECLARE_IMGUI_WINDOW(test_window, "Test window")
{
ImGui::Text("Demo text");
if (ImGui::Button("Print"))
{
Msg("Hello ImGui!\n");
}
if (ImGui::Button("Impulse 101"))
{
engine->ClientCmd("impulse 101");
}
return false;
}