User Tools

Site Tools


prpl:prplreference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
prpl:prplreference [2017/10/31 17:31] – Added category Particles. GameGibuprpl:prplreference [2018/06/14 17:02] – improved links kajacx
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
- 
-<html><!--In order to align tables in the two columns, I used a hack. 
-          I placed only one table in a column, created a column break, placed the opposing table and then  
-          ended the column formatting. Rinse/repeat. Essentially two tables are paired in a set of columns  
-          and this pattern is then repeated.  --></html> 
 <-[[pf:particle_fleet|PF Home]]<- [[prpl:start|PRPL Home]]\\ <-[[pf:particle_fleet|PF Home]]<- [[prpl:start|PRPL Home]]\\
 ====== PRPL Reference ====== ====== PRPL Reference ======
Line 58: Line 53:
  
 ==== Language API ====  ==== Language API ==== 
-<columns 100% 50% 0% 50% -><html><span id="vars_and_functions"></span></html>+<columns 100% 50% 0% 50% ->
  
 +=== Vars and Functions ===
 ^ Vars and Functions ^^^ ^ Vars and Functions ^^^
 | [[.:define|$VARNAME:DEF_VAL]]| [[.:ClearLocals|ClearLocals]]| [[.:ClearGlobals|ClearGlobals]] | | [[.:define|$VARNAME:DEF_VAL]]| [[.:ClearLocals|ClearLocals]]| [[.:ClearGlobals|ClearGlobals]] |
Line 67: Line 63:
 | [[.:func|:FUNC_NAME]] | [[.:comment|#]] | | | [[.:func|:FUNC_NAME]] | [[.:comment|#]] | |
  
-<html><span id="comparators"></span></html>+=== Comparators ===
  
 ^ Comparators ^^^ ^ Comparators ^^^
Line 75: Line 71:
 | [[.:false|false]] | | [[.:false|false]] |
  
-<html><span id="built_in_functions"></span></html>+=== Built in Functions ===
  
 ^ Built in Functions ^^^ ^ Built in Functions ^^^
 | [[.:func|:Destroyed]]| [[.:func|:Awake]]| [[.:func|:GameLoaded]] | | [[.:func|:Destroyed]]| [[.:func|:Awake]]| [[.:func|:GameLoaded]] |
  
-<html><span id="logical_operators"></span></html>+=== Logical Operators ===
  
 ^ Logical Operators ^^^ ^ Logical Operators ^^^
Line 86: Line 82:
 | [[.:not |not ]] | | [[.:not |not ]] |
  
-<html><span id="program_flow_control"></span></html>+=== Program Flow Control ===
  
 ^ Program Flow Control ^^^ ^ Program Flow Control ^^^
Line 94: Line 90:
 | [[.:K|K]]| [[.:while|while]]| [[.:repeat |repeat ]] | | [[.:K|K]]| [[.:while|while]]| [[.:repeat |repeat ]] |
 | [[.:endwhile|endwhile]]| [[.:break|break]]| [[.:return|return]] | | [[.:endwhile|endwhile]]| [[.:break|break]]| [[.:return|return]] |
-| [[.:delay |delay ]] |+| [[.:Delay |Delay ]] |
  
-<html><span id="math"></span></html>+=== Math ===
  
 ^ Math ^^^ ^ Math ^^^
Line 114: Line 110:
 | [[.:TWOPI|TWOPI]] | | [[.:TWOPI|TWOPI]] |
  
-<html><span id="stack_manipulation"></span></html>+=== Stack Manipulation ===
  
 ^ Stack Manipulation ^^^ ^ Stack Manipulation ^^^
Line 121: Line 117:
 </columns> </columns>
  
-<html><span id="debugging"></span></html>+=== Debugging ===
  
 ^ Debugging ^^^ ^ Debugging ^^^
-| [[.:debug|debug]] | | | +| [[.:Trace|Trace]]   | [[.:Print|Print]]   | [[.:TraceAll|TraceAll]] | 
-| [[.:trace|trace]]| [[.:print|print]]| [[.:traceall|traceall]] | +| [[.:Trace2|Trace2]] | [[.:Print2|Print2]] | [[.:TraceAllSp|TraceAllSp]] | 
-| [[.:printall|printall]]| [[.:traceallsp|traceallsp]]| [[.:printallsp|printallsp]] | +| [[.:Trace3|Trace3]] | [[.:Print3|Print3]] | [[.:TraceStack|TraceStack]] | 
-| [[.:trace2|trace2]]| [[.:print2|print2]]| [[.:trace3|trace3]] | +| [[.:Trace4|Trace4]] | [[.:Print4|Print4]] | [[.:PrintAll|PrintAll]] | 
-| [[.:print3|print3]]| [[.:trace4|trace4]]| [[.:print4|print4]] | +| [[.:Trace5|Trace5]] | [[.:Print5|Print5]] | [[.:PrintAllSp|PrintAllSp]] | 
-| [[.:trace5|trace5]]| [[.:print5|print5]]| [[.:tracestack|tracestack]] | +| [[.:ClearTraceLog|ClearTraceLog]] | [[.:Debug|Debug]] | [[.:PrintStack|PrintStack]] |
-| [[.:printstack|printstack]]| [[.:cleartracelog|cleartracelog]]| |+
  
 ==== Platform API ==== ==== Platform API ====
-<columns 100% 50% 0% 50% -><html><span id="timers"></span></html>+<columns 100% 50% 0% 50% -> 
 +=== Timers ===
  
 ^ Timers ^^^ ^ Timers ^^^
-| [[.:GetTimer0|GetTimer0]]| [[.:GetTimer1|GetTimer1]]| [[.:GetTimer2|GetTimer2]] | +| [[.:GetTimer0|GetTimer0]] | [[.:GetTimer1|GetTimer1]] | [[.:GetTimer2|GetTimer2]] | 
-| [[.:GetTimer3|GetTimer3]]| [[.:SetTimer0|SetTimer0]]| [[.:SetTimer1|SetTimer1]] | +| [[.:SetTimer0|SetTimer0]] | [[.:SetTimer1|SetTimer1]] | [[.:SetTimer2|SetTimer2]] | 
-| [[.:SetTimer2|SetTimer2]] | +| [[.:GetTimer3|GetTimer3]] | | 
-| [[.:SetTimer3|SetTimer3]] |+| [[.:SetTimer3|SetTimer3]] | | |
  
-<html><span id="strings"></span></html>+=== Strings ===
  
 ^ Strings ^^^ ^ Strings ^^^
Line 150: Line 146:
 | [[.:DoubleQuote|DoubleQuote]] |  |  | | [[.:DoubleQuote|DoubleQuote]] |  |  |
  
-<html><span id="input"></span></html>+=== Input ===
  
 ^ Input ^^^ ^ Input ^^^
Line 158: Line 154:
 | [[.:GetMouseCell|GetMouseCell]] | [[.:GetMousePosition|GetMousePosition]] |  | | [[.:GetMouseCell|GetMouseCell]] | [[.:GetMousePosition|GetMousePosition]] |  |
  
-<html><span id="lists"></span></html>+=== Lists ===
  
 ^ Lists ^^^ ^ Lists ^^^
Line 167: Line 163:
 | [[.:SetListElementRpn|SetListElementRpn]] | [[.:RemoveListElement|RemoveListElement]] |  | | [[.:SetListElementRpn|SetListElementRpn]] | [[.:RemoveListElement|RemoveListElement]] |  |
  
-<html><span id="scripts"></span></html>+=== Scripts ===
  
 ^ Scripts ^^^ ^ Scripts ^^^
Line 175: Line 171:
 | [[.:operatewhilepaused|operatewhilepaused]] | [[.:self|Self]] |  | | [[.:operatewhilepaused|operatewhilepaused]] | [[.:self|Self]] |  |
  
-<html><span id="ships"></span></html>+=== Ships ===
  
 ^ Ships ^^^ ^ Ships ^^^
Line 185: Line 181:
 | [[.:AddCustomShipToInventory |AddCustomShipToInventory ]]| [[.:SetShipThrustMultiplier|SetShipThrustMultiplier]] | | [[.:AddCustomShipToInventory |AddCustomShipToInventory ]]| [[.:SetShipThrustMultiplier|SetShipThrustMultiplier]] |
  
-<html><span id="units"></span></html>+=== Units ===
  
 ^ Units ^^^ ^ Units ^^^
Line 192: Line 188:
 | [[.:GetUnitTransformPosition|GetUnitTransformPosition]] | [[.:getallunitsinrange|getallunitsinrange]] | [[.:setunitselectable|SetUnitSelectable]] | | [[.:GetUnitTransformPosition|GetUnitTransformPosition]] | [[.:getallunitsinrange|getallunitsinrange]] | [[.:setunitselectable|SetUnitSelectable]] |
  
-<html><span id="particles"></span></html>+=== Particles ===
  
 ^ Particles ^^^ ^ Particles ^^^
Line 204: Line 200:
 | [[.:getallconnectedbonds|GetAllConnectedBonds]] |  |  | | [[.:getallconnectedbonds|GetAllConnectedBonds]] |  |  |
  
-<html><span id="plasma"></span></html>+=== Plasma ===
  
 ^ Plasma ^^^ ^ Plasma ^^^
Line 211: Line 207:
 | [[.:SetPlasmaBulk |SetPlasmaBulk ]] | [[.:GetPlasmaDecay |GetPlasmaDecay ]]| | | [[.:SetPlasmaBulk |SetPlasmaBulk ]] | [[.:GetPlasmaDecay |GetPlasmaDecay ]]| |
  
-<html><span id="map_mission"></span></html>+=== Map/Mission ===
  
 ^ Map/Mission ^^^ ^ Map/Mission ^^^
Line 221: Line 217:
 | [[.:iseditmode|IsEditMode]] |  |  | | [[.:iseditmode|IsEditMode]] |  |  |
  
-<html><span id="screen"></span></html>+=== Screen ===
  
 ^ Screen ^^^ ^ Screen ^^^
Line 228: Line 224:
 | [[.:setscreenpixelcoords|setscreenpixelcoords]]| [[.:setscreenpixelcoordx|setscreenpixelcoordx]]| [[.:setscreenpixelcoordy|setscreenpixelcoordy]] | | [[.:setscreenpixelcoords|setscreenpixelcoords]]| [[.:setscreenpixelcoordx|setscreenpixelcoordx]]| [[.:setscreenpixelcoordy|setscreenpixelcoordy]] |
  
-<html><span id="everything_else_2"></span></html>+=== Everything Else 2 ===
  
 ^ Everything Else 2 ^^^ ^ Everything Else 2 ^^^
prpl/prplreference.txt · Last modified: 2023/12/02 07:03 by SpeedCZ