summaryrefslogtreecommitdiffstats
path: root/System.c4g/ObjectGlobals.c
diff options
context:
space:
mode:
Diffstat (limited to 'System.c4g/ObjectGlobals.c')
-rw-r--r--System.c4g/ObjectGlobals.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/System.c4g/ObjectGlobals.c b/System.c4g/ObjectGlobals.c
new file mode 100644
index 0000000..7d6fe7d
--- /dev/null
+++ b/System.c4g/ObjectGlobals.c
@@ -0,0 +1,26 @@
+#strict 2
+
+global func SellTo(int iByPlr)
+{
+ return GetID();
+}
+
+global func CalcValue(object inBase, int forPlayer)
+{
+ return CalcDefValue(inBase, forPlayer);
+}
+
+global func CalcDefValue(object inBase, int forPlayer)
+{
+ return GetDefValue(GetID());
+}
+
+global func CalcBuyValue(id ID, int value)
+{
+ return value;
+}
+
+global func CalcSellValue(object obj, int value)
+{
+ return value;
+}