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 15:36] – Rename - capital D in Delay 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 ^^^
Line 133: Line 129:
  
 ==== Platform API ==== ==== Platform API ====
-<columns 100% 50% 0% 50% -><html><span id="timers"></span></html>+<columns 100% 50% 0% 50% -> 
 +=== Timers ===
  
 ^ Timers ^^^ ^ Timers ^^^
Line 141: Line 138:
 | [[.:SetTimer3|SetTimer3]] | | [[.:SetTimer3|SetTimer3]] |
  
-<html><span id="strings"></span></html>+=== Strings ===
  
 ^ Strings ^^^ ^ Strings ^^^
Line 150: Line 147:
 | [[.:DoubleQuote|DoubleQuote]] |  |  | | [[.:DoubleQuote|DoubleQuote]] |  |  |
  
-<html><span id="input"></span></html>+=== Input ===
  
 ^ Input ^^^ ^ Input ^^^
Line 158: Line 155:
 | [[.:GetMouseCell|GetMouseCell]] | [[.:GetMousePosition|GetMousePosition]] |  | | [[.:GetMouseCell|GetMouseCell]] | [[.:GetMousePosition|GetMousePosition]] |  |
  
-<html><span id="lists"></span></html>+=== Lists ===
  
 ^ Lists ^^^ ^ Lists ^^^
Line 167: Line 164:
 | [[.:SetListElementRpn|SetListElementRpn]] | [[.:RemoveListElement|RemoveListElement]] |  | | [[.:SetListElementRpn|SetListElementRpn]] | [[.:RemoveListElement|RemoveListElement]] |  |
  
-<html><span id="scripts"></span></html>+=== Scripts ===
  
 ^ Scripts ^^^ ^ Scripts ^^^
Line 175: Line 172:
 | [[.:operatewhilepaused|operatewhilepaused]] | [[.:self|Self]] |  | | [[.:operatewhilepaused|operatewhilepaused]] | [[.:self|Self]] |  |
  
-<html><span id="ships"></span></html>+=== Ships ===
  
 ^ Ships ^^^ ^ Ships ^^^
Line 185: Line 182:
 | [[.:AddCustomShipToInventory |AddCustomShipToInventory ]]| [[.:SetShipThrustMultiplier|SetShipThrustMultiplier]] | | [[.:AddCustomShipToInventory |AddCustomShipToInventory ]]| [[.:SetShipThrustMultiplier|SetShipThrustMultiplier]] |
  
-<html><span id="units"></span></html>+=== Units ===
  
 ^ Units ^^^ ^ Units ^^^
Line 192: Line 189:
 | [[.:GetUnitTransformPosition|GetUnitTransformPosition]] | [[.:getallunitsinrange|getallunitsinrange]] | [[.:setunitselectable|SetUnitSelectable]] | | [[.:GetUnitTransformPosition|GetUnitTransformPosition]] | [[.:getallunitsinrange|getallunitsinrange]] | [[.:setunitselectable|SetUnitSelectable]] |
  
-<html><span id="particles"></span></html>+=== Particles ===
  
 ^ Particles ^^^ ^ Particles ^^^
Line 204: Line 201:
 | [[.:getallconnectedbonds|GetAllConnectedBonds]] |  |  | | [[.:getallconnectedbonds|GetAllConnectedBonds]] |  |  |
  
-<html><span id="plasma"></span></html>+=== Plasma ===
  
 ^ Plasma ^^^ ^ Plasma ^^^
Line 211: Line 208:
 | [[.:SetPlasmaBulk |SetPlasmaBulk ]] | [[.:GetPlasmaDecay |GetPlasmaDecay ]]| | | [[.:SetPlasmaBulk |SetPlasmaBulk ]] | [[.:GetPlasmaDecay |GetPlasmaDecay ]]| |
  
-<html><span id="map_mission"></span></html>+=== Map/Mission ===
  
 ^ Map/Mission ^^^ ^ Map/Mission ^^^
Line 221: Line 218:
 | [[.:iseditmode|IsEditMode]] |  |  | | [[.:iseditmode|IsEditMode]] |  |  |
  
-<html><span id="screen"></span></html>+=== Screen ===
  
 ^ Screen ^^^ ^ Screen ^^^
Line 228: Line 225:
 | [[.: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