Commit Graph

28 Commits

Author SHA1 Message Date
aixxe 0eb481e754
Remove duplicate GetVirtualFunction.
* Thanks to @luk1337 for pointing this out.

Signed-off-by: aixxe <me@aixxe.net>
2017-02-22 15:40:50 +00:00
aixxe c1738ce42b Replace IPanel::PaintTraverse hook with IEngineVGui::Paint.
* Add example watermark text in bottom-right corner.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 12:15:31 +00:00
aixxe 3ea355bf38 Properly handle input while menu is visible.
* INSERT toggles the menu.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:39:21 +00:00
aixxe 27eb1e65e2 Move interface stuff to utility file.
* Alternative method to using dlopen and dlsym.

* Accepts partial version strings.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:18:12 +00:00
aixxe 66f7ff9b8e Add externs to interface and class headers.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:09:50 +00:00
aixxe c40361343c Add CShowPixelsParams class to SDK.
* ImGui will draw twice if we don't check for m_noBlit.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 16:24:00 +00:00
LuK1337 7d0497e049 Respect io.WantCaptureKeyboard & io.WantCaptureMouse
* Fixes issues with the game cursor appearing during gameplay.

Original commit sources:
 - 1601a6f269
 - bb0d98b95d

Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 16:22:48 +00:00
aixxe 13f8d44aa7 Expand CInput class and add VerifyUserCmd to CUserCmd.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 13:17:49 +00:00
aixxe 3b12e00ad1 Move CRC32 definition to separate file.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 13:14:21 +00:00
aixxe be015b415a Add Counter-Strike: Source SDK header.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:26:16 +00:00
aixxe 6978e2eae8 Add ISurface interface.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:25:54 +00:00
aixxe ca36020474 Add IVModelRender interface.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:13:48 +00:00
aixxe 072ec00930 Add basic placeholder Vector class.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:12:49 +00:00
aixxe 1b43cae68e Add virtual method table hooking class.
* github.com/aixxe/vmthook (8f0479b)

Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:10:10 +00:00
aixxe da0e8efd27 Add client entity class headers.
* Remove 'isreplay' from player_info_s.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:05:41 +00:00
aixxe f155818ed3 Add ImGui source files.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 21:04:01 +00:00
aixxe fd60cdc93b Add GetPlayerInfo and GetPlayerForUserID to IVEngineClient.
* Move CRC32_t typedef from CUserCmd.h to PlayerInfo.h.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 20:49:26 +00:00
aixxe e8e7f1d4ae Add 'Const.h' definition file.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:54:54 +00:00
aixxe 677de31665 Add CVerifiedUserCmd class.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:49:53 +00:00
aixxe 04fd052795 Add structures for hitbox sets and bounding boxes.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:40:35 +00:00
aixxe b746fa1e3b Add IVModelInfoClient::GetStudioModel.
* Proper structures coming soon.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 19:19:33 +00:00
aixxe c8c27bcbcb Add IDebugOverlay interface.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:55:45 +00:00
aixxe 1c2adbba17 Add IVEngineClient::GetScreenSize.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:55:16 +00:00
aixxe dc524f61aa Fix incorrect virtual index for IPanel::PaintTraverse.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:29:20 +00:00
aixxe cdd6c28dac Add IVEngineClient interface.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:15:59 +00:00
aixxe 848881de99 Add some more definitions to IVModelInfo.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 18:15:44 +00:00
aixxe f8b4871d7e Add IInputSystem and IInputInternal interfaces.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 17:55:09 +00:00
aixxe 5d3e60ddd3 Initial commit.
* Beginning reconstruction of Source SDK.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 17:14:26 +00:00