Files
mazegame/engine/doc/html/files/basic_usr-h.html
T

81 lines
7.3 KiB
HTML

<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>basic_usr.h</title><link rel="stylesheet" type="text/css" href="../styles/main.css" /><script type="text/javascript" src="../styles/main.js"></script><script type="text/javascript">NDLoader.LoadJS("Content", "../styles/");</script></head>
<!-- Generated by Natural Docs, version 2.2 -->
<!-- saved from url=(0016)http://localhost -->
<body onload="NDLoader.OnLoad('Content');" class="NDPage NDContentPage">
<a name="Getter"></a><a name="Topic1430"></a><div class="CTopic TGroup LC first">
<div class="CTitle">Getter</div>
<div class="CBody"><p>Get variable from Basic</p></div>
</div>
<a name="Basic_GetType"></a><a name="Topic1431"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetType</div>
<div id="NDPrototype1431" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline</span> u8 Basic_GetType()</div></div>
<div class="CBody"><p>Get Basic variable type This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Basic_GetByte"></a><a name="Topic1432"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetByte</div>
<div id="NDPrototype1432" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline</span> i8 Basic_GetByte()</div></div>
<div class="CBody"><p>Get Basic variable as 8-bits interger This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Basic_GetWord"></a><a name="Topic1433"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetWord</div>
<div id="NDPrototype1433" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline</span> i16 Basic_GetWord()</div></div>
<div class="CBody"><p>Get Basic variable as 16-bits interger This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Basic_GetFloat"></a><a name="Topic1434"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetFloat</div>
<div id="NDPrototype1434" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline</span> f32 Basic_GetFloat()</div></div>
<div class="CBody"><p>Get Basic variable as 32-bits float number This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Basic_GetString"></a><a name="Topic1435"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetString</div>
<div id="NDPrototype1435" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline const</span> c8* Basic_GetString()</div></div>
<div class="CBody"><p>Get Basic variable as string pointer This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Basic_GetStringLength"></a><a name="Topic1436"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_GetStringLength</div>
<div id="NDPrototype1436" class="NDPrototype"><div class="PSection PPlainSection"><span class="SHKeyword">inline</span> u8 Basic_GetStringLength()</div></div>
<div class="CBody"><p>Get Basic string variable length This is the value sent by Basic's USR() function.</p></div>
</div>
<a name="Setter"></a><a name="Topic1437"></a><div class="CTopic TGroup LC">
<div class="CTitle">Setter</div>
<div class="CBody"><p>Set variable for Basic</p></div>
</div>
<a name="Basic_SetByte"></a><a name="Topic1438"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_SetByte</div>
<div id="NDPrototype1438" class="NDPrototype WideForm"><div class="PSection PParameterSection CStyle"><table><tr><td class="PBeforeParameters"><span class="SHKeyword">inline</span> <span class="SHKeyword">void</span> Basic_SetByte(</td><td class="PParametersParentCell"><table class="PParameters"><tr><td class="PType first">i8&nbsp;</td><td class="PName last">val</td></tr></table></td><td class="PAfterParameters">)</td></tr></table></div></div>
<div class="CBody"><p>Set Basic variable as 8-bits interger This is the value returned by Basic's USR() function.</p><div class="CHeading">Parameters</div><table class="CDefinitionList"><tr><td class="CDLEntry">val<div class="CDLParameterType">i8</div></td><td class="CDLDefinition"><p>Value to be send to Basic</p></td></tr></table></div>
</div>
<a name="Basic_SetWord"></a><a name="Topic1439"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_SetWord</div>
<div id="NDPrototype1439" class="NDPrototype WideForm"><div class="PSection PParameterSection CStyle"><table><tr><td class="PBeforeParameters"><span class="SHKeyword">inline</span> <span class="SHKeyword">void</span> Basic_SetWord(</td><td class="PParametersParentCell"><table class="PParameters"><tr><td class="PType first">i16&nbsp;</td><td class="PName last">val</td></tr></table></td><td class="PAfterParameters">)</td></tr></table></div></div>
<div class="CBody"><p>Set Basic variable as 16-bits interger This is the value returned by Basic's USR() function.</p><div class="CHeading">Parameters</div><table class="CDefinitionList"><tr><td class="CDLEntry">val<div class="CDLParameterType">i16</div></td><td class="CDLDefinition"><p>Value to be send to Basic</p></td></tr></table></div>
</div>
<a name="Basic_SetFloat"></a><a name="Topic1440"></a><div class="CTopic TFunction LC">
<div class="CTitle">Basic_SetFloat</div>
<div id="NDPrototype1440" class="NDPrototype WideForm"><div class="PSection PParameterSection CStyle"><table><tr><td class="PBeforeParameters"><span class="SHKeyword">inline</span> <span class="SHKeyword">void</span> Basic_SetFloat(</td><td class="PParametersParentCell"><table class="PParameters"><tr><td class="PType first">f32&nbsp;</td><td class="PName last">val</td></tr></table></td><td class="PAfterParameters">)</td></tr></table></div></div>
<div class="CBody"><p>Set Basic variable as 32-bits float number This is the value returned by Basic's USR() function.</p><div class="CHeading">Parameters</div><table class="CDefinitionList"><tr><td class="CDLEntry">val<div class="CDLParameterType">f32</div></td><td class="CDLDefinition"><p>Value to be send to Basic</p></td></tr></table></div>
</div>
<a name="Basic_SetString"></a><a name="Topic1441"></a><div class="CTopic TFunction LC last">
<div class="CTitle">Basic_SetString</div>
<div id="NDPrototype1441" class="NDPrototype WideForm"><div class="PSection PParameterSection CStyle"><table><tr><td class="PBeforeParameters"><span class="SHKeyword">inline</span> <span class="SHKeyword">void</span> Basic_SetString(</td><td class="PParametersParentCell"><table class="PParameters"><tr><td class="PModifierQualifier first"><span class="SHKeyword">const</span>&nbsp;</td><td class="PType">c8*&nbsp;</td><td class="PName last">val,</td></tr><tr><td class="first"></td><td class="PType">u8&nbsp;</td><td class="PName last">len</td></tr></table></td><td class="PAfterParameters">)</td></tr></table></div></div>
<div class="CBody"><p>Set Basic variable as string pointer This is the value returned by Basic's USR() function.</p><div class="CHeading">Parameters</div><table class="CDefinitionList"><tr><td class="CDLEntry">val<div class="CDLParameterType"><span class="SHKeyword">const</span> c8*</div></td><td class="CDLDefinition"><p>Value to be send to Basic</p></td></tr></table></div>
</div>
</body></html>