diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2017-01-02 19:31:53 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2017-01-02 19:31:53 +0100 |
| commit | 0908f1bd900dc53a12b7ceba89e61bbaf2a4f639 (patch) | |
| tree | 3a4bd02a22835f644aefc6450a09bc8a74631b6a /System.c4g/ObjectGlobals.c | |
| download | DTEvents.c4d-0908f1bd900dc53a12b7ceba89e61bbaf2a4f639.tar.gz DTEvents.c4d-0908f1bd900dc53a12b7ceba89e61bbaf2a4f639.zip | |
Initial
Diffstat (limited to 'System.c4g/ObjectGlobals.c')
| -rw-r--r-- | System.c4g/ObjectGlobals.c | 26 |
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;
+}
|
