diff options
author | UbitUmarov | 2018-11-20 18:12:18 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-20 18:12:18 +0000 |
commit | cb1ebd1604315226e67012cc202c8845d05ddce4 (patch) | |
tree | 33357f246e1b804d5dd5c0df66f4c04464ffe3a3 /bin/ScriptSyntax.xml | |
parent | mantis 8410: llwhisper, llSay and llShout emit from the source prim not root (diff) | |
download | opensim-SC-cb1ebd1604315226e67012cc202c8845d05ddce4.zip opensim-SC-cb1ebd1604315226e67012cc202c8845d05ddce4.tar.gz opensim-SC-cb1ebd1604315226e67012cc202c8845d05ddce4.tar.bz2 opensim-SC-cb1ebd1604315226e67012cc202c8845d05ddce4.tar.xz |
add osApproxEquals for float, vector and rotation, note that default margin is 1e-6 to match strings rounding
Diffstat (limited to 'bin/ScriptSyntax.xml')
-rw-r--r-- | bin/ScriptSyntax.xml | 67 |
1 files changed, 59 insertions, 8 deletions
diff --git a/bin/ScriptSyntax.xml b/bin/ScriptSyntax.xml index 77c49c2..b3e03c1 100644 --- a/bin/ScriptSyntax.xml +++ b/bin/ScriptSyntax.xml | |||
@@ -1,4 +1,4 @@ | |||
1 | 9e55237f-19be-984f-6bdc-a8fd07eb2447 | 1 | 0acc12d6-3dc9-9574-7bd6-d298c045f046 |
2 | <llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer> | 2 | <llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer> |
3 | <key>controls</key> | 3 | <key>controls</key> |
4 | <map> | 4 | <map> |
@@ -6058,6 +6058,57 @@ | |||
6058 | <map><key>b</key><map><key>type</key><string>vector</string></map></map> | 6058 | <map><key>b</key><map><key>type</key><string>vector</string></map></map> |
6059 | </array> | 6059 | </array> |
6060 | </map> | 6060 | </map> |
6061 | <key>osApproxEquals</key> | ||
6062 | <map> | ||
6063 | <key>return</key><string>integer</string> | ||
6064 | <key>arguments</key><array> | ||
6065 | <map><key>va</key><map><key>type</key><string>vector</string></map></map> | ||
6066 | <map><key>vb</key><map><key>type</key><string>vector</string></map></map> | ||
6067 | <map><key>margin</key><map><key>type</key><string>float</string></map></map> | ||
6068 | </array> | ||
6069 | </map> | ||
6070 | <key>osApproxEquals</key> | ||
6071 | <map> | ||
6072 | <key>return</key><string>integer</string> | ||
6073 | <key>arguments</key><array> | ||
6074 | <map><key>va</key><map><key>type</key><string>vector</string></map></map> | ||
6075 | <map><key>vb</key><map><key>type</key><string>vector</string></map></map> | ||
6076 | </array> | ||
6077 | </map> | ||
6078 | <key>osApproxEquals</key> | ||
6079 | <map> | ||
6080 | <key>return</key><string>integer</string> | ||
6081 | <key>arguments</key><array> | ||
6082 | <map><key>a</key><map><key>type</key><string>float</string></map></map> | ||
6083 | <map><key>b</key><map><key>type</key><string>float</string></map></map> | ||
6084 | <map><key>margin</key><map><key>type</key><string>float</string></map></map> | ||
6085 | </array> | ||
6086 | </map> | ||
6087 | <key>osApproxEquals</key> | ||
6088 | <map> | ||
6089 | <key>return</key><string>integer</string> | ||
6090 | <key>arguments</key><array> | ||
6091 | <map><key>a</key><map><key>type</key><string>float</string></map></map> | ||
6092 | <map><key>b</key><map><key>type</key><string>float</string></map></map> | ||
6093 | </array> | ||
6094 | </map> | ||
6095 | <key>osApproxEquals</key> | ||
6096 | <map> | ||
6097 | <key>return</key><string>integer</string> | ||
6098 | <key>arguments</key><array> | ||
6099 | <map><key>ra</key><map><key>type</key><string>rotation</string></map></map> | ||
6100 | <map><key>rb</key><map><key>type</key><string>rotation</string></map></map> | ||
6101 | <map><key>margin</key><map><key>type</key><string>float</string></map></map> | ||
6102 | </array> | ||
6103 | </map> | ||
6104 | <key>osApproxEquals</key> | ||
6105 | <map> | ||
6106 | <key>return</key><string>integer</string> | ||
6107 | <key>arguments</key><array> | ||
6108 | <map><key>ra</key><map><key>type</key><string>rotation</string></map></map> | ||
6109 | <map><key>rb</key><map><key>type</key><string>rotation</string></map></map> | ||
6110 | </array> | ||
6111 | </map> | ||
6061 | <key>osAvatarName2Key</key> | 6112 | <key>osAvatarName2Key</key> |
6062 | <map> | 6113 | <map> |
6063 | <key>return</key><string>string</string> | 6114 | <key>return</key><string>string</string> |
@@ -6795,13 +6846,13 @@ | |||
6795 | <key>osRegionNotice</key> | 6846 | <key>osRegionNotice</key> |
6796 | <map> | 6847 | <map> |
6797 | <key>arguments</key><array> | 6848 | <key>arguments</key><array> |
6849 | <map><key>agentID</key><map><key>type</key><string>key</string></map></map> | ||
6798 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> | 6850 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> |
6799 | </array> | 6851 | </array> |
6800 | </map> | 6852 | </map> |
6801 | <key>osRegionNotice</key> | 6853 | <key>osRegionNotice</key> |
6802 | <map> | 6854 | <map> |
6803 | <key>arguments</key><array> | 6855 | <key>arguments</key><array> |
6804 | <map><key>agentID</key><map><key>type</key><string>key</string></map></map> | ||
6805 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> | 6856 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> |
6806 | </array> | 6857 | </array> |
6807 | </map> | 6858 | </map> |
@@ -6810,6 +6861,7 @@ | |||
6810 | <key>return</key><string>integer</string> | 6861 | <key>return</key><string>integer</string> |
6811 | <key>arguments</key><array> | 6862 | <key>arguments</key><array> |
6812 | <map><key>seconds</key><map><key>type</key><string>float</string></map></map> | 6863 | <map><key>seconds</key><map><key>type</key><string>float</string></map></map> |
6864 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> | ||
6813 | </array> | 6865 | </array> |
6814 | </map> | 6866 | </map> |
6815 | <key>osRegionRestart</key> | 6867 | <key>osRegionRestart</key> |
@@ -6817,7 +6869,6 @@ | |||
6817 | <key>return</key><string>integer</string> | 6869 | <key>return</key><string>integer</string> |
6818 | <key>arguments</key><array> | 6870 | <key>arguments</key><array> |
6819 | <map><key>seconds</key><map><key>type</key><string>float</string></map></map> | 6871 | <map><key>seconds</key><map><key>type</key><string>float</string></map></map> |
6820 | <map><key>msg</key><map><key>type</key><string>string</string></map></map> | ||
6821 | </array> | 6872 | </array> |
6822 | </map> | 6873 | </map> |
6823 | <key>osReplaceString</key> | 6874 | <key>osReplaceString</key> |
@@ -7153,6 +7204,8 @@ | |||
7153 | <key>arguments</key><array> | 7204 | <key>arguments</key><array> |
7154 | <map><key>src</key><map><key>type</key><string>string</string></map></map> | 7205 | <map><key>src</key><map><key>type</key><string>string</string></map></map> |
7155 | <map><key>value</key><map><key>type</key><string>string</string></map></map> | 7206 | <map><key>value</key><map><key>type</key><string>string</string></map></map> |
7207 | <map><key>start</key><map><key>type</key><string>integer</string></map></map> | ||
7208 | <map><key>count</key><map><key>type</key><string>integer</string></map></map> | ||
7156 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> | 7209 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> |
7157 | </array> | 7210 | </array> |
7158 | </map> | 7211 | </map> |
@@ -7162,8 +7215,6 @@ | |||
7162 | <key>arguments</key><array> | 7215 | <key>arguments</key><array> |
7163 | <map><key>src</key><map><key>type</key><string>string</string></map></map> | 7216 | <map><key>src</key><map><key>type</key><string>string</string></map></map> |
7164 | <map><key>value</key><map><key>type</key><string>string</string></map></map> | 7217 | <map><key>value</key><map><key>type</key><string>string</string></map></map> |
7165 | <map><key>start</key><map><key>type</key><string>integer</string></map></map> | ||
7166 | <map><key>count</key><map><key>type</key><string>integer</string></map></map> | ||
7167 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> | 7218 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> |
7168 | </array> | 7219 | </array> |
7169 | </map> | 7220 | </map> |
@@ -7173,6 +7224,8 @@ | |||
7173 | <key>arguments</key><array> | 7224 | <key>arguments</key><array> |
7174 | <map><key>src</key><map><key>type</key><string>string</string></map></map> | 7225 | <map><key>src</key><map><key>type</key><string>string</string></map></map> |
7175 | <map><key>value</key><map><key>type</key><string>string</string></map></map> | 7226 | <map><key>value</key><map><key>type</key><string>string</string></map></map> |
7227 | <map><key>start</key><map><key>type</key><string>integer</string></map></map> | ||
7228 | <map><key>count</key><map><key>type</key><string>integer</string></map></map> | ||
7176 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> | 7229 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> |
7177 | </array> | 7230 | </array> |
7178 | </map> | 7231 | </map> |
@@ -7182,8 +7235,6 @@ | |||
7182 | <key>arguments</key><array> | 7235 | <key>arguments</key><array> |
7183 | <map><key>src</key><map><key>type</key><string>string</string></map></map> | 7236 | <map><key>src</key><map><key>type</key><string>string</string></map></map> |
7184 | <map><key>value</key><map><key>type</key><string>string</string></map></map> | 7237 | <map><key>value</key><map><key>type</key><string>string</string></map></map> |
7185 | <map><key>start</key><map><key>type</key><string>integer</string></map></map> | ||
7186 | <map><key>count</key><map><key>type</key><string>integer</string></map></map> | ||
7187 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> | 7238 | <map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map> |
7188 | </array> | 7239 | </array> |
7189 | </map> | 7240 | </map> |
@@ -7249,7 +7300,6 @@ | |||
7249 | <map> | 7300 | <map> |
7250 | <key>arguments</key><array> | 7301 | <key>arguments</key><array> |
7251 | <map><key>agent</key><map><key>type</key><string>string</string></map></map> | 7302 | <map><key>agent</key><map><key>type</key><string>string</string></map></map> |
7252 | <map><key>regionName</key><map><key>type</key><string>string</string></map></map> | ||
7253 | <map><key>position</key><map><key>type</key><string>vector</string></map></map> | 7303 | <map><key>position</key><map><key>type</key><string>vector</string></map></map> |
7254 | <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> | 7304 | <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> |
7255 | </array> | 7305 | </array> |
@@ -7258,6 +7308,7 @@ | |||
7258 | <map> | 7308 | <map> |
7259 | <key>arguments</key><array> | 7309 | <key>arguments</key><array> |
7260 | <map><key>agent</key><map><key>type</key><string>string</string></map></map> | 7310 | <map><key>agent</key><map><key>type</key><string>string</string></map></map> |
7311 | <map><key>regionName</key><map><key>type</key><string>string</string></map></map> | ||
7261 | <map><key>position</key><map><key>type</key><string>vector</string></map></map> | 7312 | <map><key>position</key><map><key>type</key><string>vector</string></map></map> |
7262 | <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> | 7313 | <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> |
7263 | </array> | 7314 | </array> |