summaryrefslogtreecommitdiff
path: root/modules/gdnative/net/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-06-26 20:26:51 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-06-27 19:07:30 +0200
commit15451479e5baba92f22e6ed5bb521809e4c0dcf6 (patch)
treefc310ef1d862cc3ef95679015b63550b51f471a9 /modules/gdnative/net/SCsub
parenta74e1514206af1b8456ece2cf009b841b86b72f1 (diff)
Add [Packet/Stream/Multiplayer]PeerGDNative
They provide an interface to implement PacketPeer, StreamPeer, and NetworkedMultiplayerPeer via GDNative.
Diffstat (limited to 'modules/gdnative/net/SCsub')
-rw-r--r--modules/gdnative/net/SCsub12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/gdnative/net/SCsub b/modules/gdnative/net/SCsub
new file mode 100644
index 0000000000..53f9271128
--- /dev/null
+++ b/modules/gdnative/net/SCsub
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+import os
+import methods
+
+Import('env')
+Import('env_modules')
+
+env_net_gdnative = env_modules.Clone()
+
+env_net_gdnative.Append(CPPPATH=['#modules/gdnative/include/'])
+env_net_gdnative.add_source_files(env.modules_sources, '*.cpp')