summaryrefslogtreecommitdiff
path: root/utils/demoinfo/demosmoothersamplesource.txt
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/demoinfo/demosmoothersamplesource.txt
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/demoinfo/demosmoothersamplesource.txt')
-rw-r--r--utils/demoinfo/demosmoothersamplesource.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/utils/demoinfo/demosmoothersamplesource.txt b/utils/demoinfo/demosmoothersamplesource.txt
new file mode 100644
index 0000000..f37653b
--- /dev/null
+++ b/utils/demoinfo/demosmoothersamplesource.txt
@@ -0,0 +1,22 @@
+NOTE 2/8/05:
+
+These files are copied directly out of the HL2 engine to use as a
+starting point for writing your own vgui based "smoothing" tools for dem files.
+
+If you decide to use this, then my suggestion would be to copy these into a MOD in the client .dll and
+clean up the #include's so that you can get it basically compiling and showing up.
+
+It should be a "tool" just like the net_graph and other vgui
+based tools in the client .dll (use a ConVar to show/hide it maybe?)
+
+The sample source actually contains all of the reading/writing code for dem files which is also in deminfo.cpp.
+
+Note that CDemoFile should be changed to CToolDemoFile.
+
+As I recall, you might have to reimplement a "driving" interface like the one in the main demo UI panel. I would just implement
+it as part of this UI, etc.
+
+If you have any questions or run into major snags, please let me know and I'll try to help out.
+
+Yahn Bernier
[email protected] \ No newline at end of file