aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-17 11:03:57 +0700
committerEverythingWindows <[email protected]>2022-11-17 11:03:57 +0700
commitb6ad60f56854bdf720c1e7177f011329048516db (patch)
tree69c61110b7b2e24cce5260829eed80eb192debe1 /ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb
parente08f5e8e55a2c7061a638bba6428f6d9b495d4c7 (diff)
downloadshiftos-therevival-old-b6ad60f56854bdf720c1e7177f011329048516db.tar.gz
shiftos-therevival-old-b6ad60f56854bdf720c1e7177f011329048516db.tar.bz2
shiftos-therevival-old-b6ad60f56854bdf720c1e7177f011329048516db.zip
CodepointSystem module, ColorSystem module, Completing TerminalInternalApps migrating to modules
Diffstat (limited to 'ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb')
-rw-r--r--ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb11
1 files changed, 11 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb b/ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb
new file mode 100644
index 0000000..6a76a28
--- /dev/null
+++ b/ShiftOS-TheRevival/Functions/InGame/CodepointSystem.vb
@@ -0,0 +1,11 @@
+Module CodepointSystem
+ Public Sub ChangeCP(Addition As Boolean, NeededCP As Integer)
+ Dim TempCP As Integer = Convert.ToInt32(Strings.ComputerInfo(2))
+ If Addition = True Then
+ TempCP = TempCP + NeededCP
+ Else
+ TempCP = TempCP - NeededCP
+ End If
+ Strings.ComputerInfo(2) = Convert.ToString(TempCP)
+ End Sub
+End Module