mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-07-17 14:55:21 +00:00
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.
26 lines
384 B
C++
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;
|
|
}
|