From 0c61ea8d1b62415f25b1e54230195d455269b6aa Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Fri, 15 Apr 2022 16:08:16 +0100 Subject: cleanup file structure and code for presence and chat (#292) * refactor presence and chat * improve spacing in cl_chat --- .../mod/scripts/vscripts/client/cl_chat.gnut | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut (limited to 'Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut') diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut b/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut new file mode 100644 index 000000000..3a43f3125 --- /dev/null +++ b/Northstar.Client/mod/scripts/vscripts/client/cl_chat.gnut @@ -0,0 +1,22 @@ +untyped +globalize_all_functions + +void function Chat_NetworkWriteLine( string text ) +{ + NSChatWriteLine( 0, text) +} + +void function Chat_GameWriteLine( string text ) +{ + NSChatWriteLine( 1, text) +} + +void function Chat_NetworkWrite( string text ) +{ + NSChatWrite( 0, text) +} + +void function Chat_GameWrite( string text ) +{ + NSChatWrite( 1, text ) +} -- cgit v1.2.3