Commit Graph

20 Commits

Author SHA1 Message Date
aixxe d3ed74068a Adjust code style and fix unloading in NetVar scanner.
Signed-off-by: aixxe <me@aixxe.net>
2017-01-08 16:47:03 +00:00
J. Farnsworth b79d6b7c5f Implemented a netvar offset cache 2017-01-07 17:09:21 -05:00
aixxe 51a4bf37f5 Merge branch 'master' of github.com:aixxe/cstrike-basehook-linux 2017-01-05 15:39:55 +00:00
aixxe 7344c374c4 Prepare for general release.
* I know someone is gonna say something about this if I don't
  include a note about it.

Signed-off-by: aixxe <me@aixxe.net>
2017-01-05 15:39:41 +00:00
aixxe 125b2bb3af Update copyright text to current year.
Signed-off-by: aixxe <me@aixxe.net>
2017-01-02 14:58:21 +00:00
aixxe f09c083a43 Only update world and sky materials when changes are made.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 21:31:54 +00:00
aixxe 468fbe5d07 Move default settings to relevant hook files.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 20:45:37 +00:00
aixxe afc72efcd8 Add example event listener on player_footstep.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-23 12:22:27 +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 f94aaad6c3 Add ASUS walls via AlphaModulate and ColorModulate.
* Again, should really call this somewhere else.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 16:28:54 +00:00
aixxe 3c4ad3d7ae Add 'no sky' via IMaterial::ColorModulate.
* Really should move this out of FrameStageNotify. Only keeping it
  here for demonstration purposes. Might find a better place later.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 16:05:36 +00:00
aixxe 8287f60778 Add auto-bunnyhop to CreateMove hook.
* TODO: Store NetVar offsets statically.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 15:23:43 +00:00
aixxe d53dbcabfd Use NetVars class statically.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-21 15:13:40 +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 2f9b1f444d Add main source file and placeholder hooks.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:20:39 +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 5e10af4344 Add basic pattern scanner.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:14:58 +00:00
aixxe 8483f9b724 Add basic function to get shared library information.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:13:24 +00:00
aixxe 9e5f1b6ad9 Remove IBaseClientDLL extern from NetVars.h.
* No longer needed.

Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:11:49 +00:00
aixxe 33f3672867 Add recursive NetVar scanner.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-19 23:45:06 +00:00