User Tools

Site Tools


hpl2:resources:preprocess

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl2:resources:preprocess [2012/05/07 23:49]
homicide13
hpl2:resources:preprocess [2012/06/06 20:37] (current)
apjjm [Setting Up]
Line 4: Line 4:
 The C pre-processer is a powerful tool that allows programers many  options when writing their code - among these options are commands such  as #include ””, which allows the user to include the contents from one  code file into another. The C pre-processer is a powerful tool that allows programers many  options when writing their code - among these options are commands such  as #include ””, which allows the user to include the contents from one  code file into another.
  
 +
 +[[http://​www.frictionalgames.com/​forum/​thread-12023.html|Original Post]]
  
 ===== Setting Up ===== ===== Setting Up =====
Line 33: Line 35:
  
  
-__Warning:  Do not press “run” (or F6 if you bound  it) on a script file which ends  in ”.hps”! This will wipe the script ​ file!!! Give your script files  which use the pre-processor a different ​ extension (E.g .phps or .lhps). ​+__**Warning:  Do not press “run” (or F6 if you bound  it) on a script file which ends  in ”.hps”! This will wipe the script ​ file!!! Give your script files  which use the pre-processor a different ​ extension (E.g .phps or .lhps). ​** __ 
 ===== Usage ===== ===== Usage =====
  
Line 88: Line 91:
  
  
-    -  +    - Close notepad++ 
- +    - Go to where you installed notepad (Probably C:\Program Files\Notepad++ or C:\Program Files (X86)\Notepad++\) 
- +    - Go to the folder ​"Plugins" ​Then to the folder ​"APIs" 
-Close notepad++ +    - Copy across the downloaded version of "hps.xml" ​into this folder. If you a prompted to overwrite, say yes.
- +
- +
-    -  +
- +
- +
-Go to where you installed notepad (Probably C:\Program Files\Notepad++ or C:\Program Files (X86)\Notepad++\) +
- +
- +
-    -  +
- +
- +
-Go to the folder ​Plugins” Then to the folder ​APIs” +
- +
- +
-    -  +
- +
- +
-Copy across the downloaded version of hps.xml” into this folder. If you a prompted to overwrite, say yes. +
- +
- +
-    -  +
- +
- +
-Start notepad++ +
- +
- +
-    -  +
- +
- +
-Go into view→ User-Defined Dialogue +
- +
- +
-    -  +
- +
- +
-On the drop-down box, if there is the option to select “HPS”, select it and and click “Remove” +
- +
- +
-    -  +
- +
- +
-Click import, and import “UserDefinedDialogue.xml”+
  
  
- ​\\ ​ \\ You will now a fixed functions list for amnesia (Adds missing functions ​  & keywords, removes non-existing ones), as well as a new color   ​scheme,​ folding regions (/////%%*%%%%*%% %%*%%%%*%%/ //Begin //  End) etc. ”.hps .phps.lhps” are now detected, and ”#…” are coloured correctly.+    ​Start notepad+
 +    ​Go into view→ User-Defined Dialogue 
 +    - On the drop-down boxif there is the option to select "​HPS"​select it and and click "​Remove"​ 
 +    - Click import, and import "​UserDefinedDialogue.xml"
  
  
-Origional thread: [[http://www.frictionalgames.com/forum/thread-12023.html|http:​//www.frictionalgames.com/forum/thread-12023.html]]+ ​\\ ​ \\ You will now a fixed functions list for amnesia (Adds missing functions ​  & keywords, removes non-existing ones), as well as a new color   ​scheme,​ folding regions (////- /<​nowiki>​*<​/nowiki><​nowiki>​*<​/nowiki> <​nowiki>​*<​/nowiki><​nowiki>​*</​nowiki>/​ //Begin //     End) etc. ”.hps, ​ .phps, .lhps” are now detected, and ”#…” are coloured correctly.
  
hpl2/resources/preprocess.1336434572.txt.gz · Last modified: 2012/05/07 23:49 by homicide13