Sauron Compler
1 ответов63 просмотровСейчас просматривают: 1
· 25.10.2008, 22:35
This version has a few improvements and support for the new ai functions.
Folder Tree
Код
Code:
[compiled]
- compiled.ai
- abel.ai
[data] (ASCII)
- category_pch.txt
- item_pch.txt
- manual_pch.txt
- npc_pch.txt
- quest_pch.txt
- skill_pch.txt
NASC.exe
source.nasc
abel.nasc
[compiled]
- compiled.ai
- abel.ai
[data] (ASCII)
- category_pch.txt
- item_pch.txt
- manual_pch.txt
- npc_pch.txt
- quest_pch.txt
- skill_pch.txt
NASC.exe
source.nasc
abel.nasc
Start Mode
Code:
Код
Normal ./NASC.exe
Loads source.nasc and outputs goes to compiled/compiled.ai
Defined Source ./NASC.exe -file abel
Loads abel.nasc and outputs goes to compiled/abel.ai
Library Mode ./NASC.exe -lib HaveMemo
Compiler only outputs in console => Int CNPC::HaveMemo( CSharedCreatureData,Int )
Loads source.nasc and outputs goes to compiled/compiled.ai
Defined Source ./NASC.exe -file abel
Loads abel.nasc and outputs goes to compiled/abel.ai
Library Mode ./NASC.exe -lib HaveMemo
Compiler only outputs in console => Int CNPC::HaveMemo( CSharedCreatureData,Int )
You can set up this in UltraEdit and turn it into a pseudo Compiler IDE. In addition i'll attach auto complete list and wordlist.
Код
Code:
Advance->Tool Configuration
Name: Compile
Command line: NASC.exe -file %n
Working dir: %p
Output: Output to list box
Advance->Tool Configuration
Name: Library
Command line: NASC.exe -lib %sel%
Working dir: %p
Output: Output to list box
Advance->Configuration->Editor Display->Syntax Highlighting
Add my wordfile.txt file there..
Advance->Configuration->Editor->Word Wrap/Tab Settings
Add my autocomplete-nasc.txt there..
Advance->Tool Configuration
Name: Compile
Command line: NASC.exe -file %n
Working dir: %p
Output: Output to list box
Advance->Tool Configuration
Name: Library
Command line: NASC.exe -lib %sel%
Working dir: %p
Output: Output to list box
Advance->Configuration->Editor Display->Syntax Highlighting
Add my wordfile.txt file there..
Advance->Configuration->Editor->Word Wrap/Tab Settings
Add my autocomplete-nasc.txt there..
If you need to set a custom Address it can be done like this
Код
Code:
#define L543;
#define S50;
class 1 abel : guard_stand
{
handler:
EventHandler TALK_SELECTED(fhtml0,talker)
{
if( _from_choice == 0 )
#define L543;
#define S50;
class 1 abel : guard_stand
{
handler:
EventHandler TALK_SELECTED(fhtml0,talker)
{
if( _from_choice == 0 )
Вид:

Download Data [attachment=1580:data.zip]
Download Compiler [attachment=1581:NASC.zip]
Download UltraEdit Config [attachment=1582:ultraedit.zip]
— You're an amateur
0
Войдите или зарегистрируйтесь чтобы ответить

