For those of us who find it helpful to dump everything in a file sometimes and edit it outside AGS, would anyone else appreciate an emacs mode for AGS editing? Emacs is an editor, for the ignorant amongst you. :P ANy suggestions for features?
On a related note, does CJ or anyone else have a text file list of all Script Keywords and Built-in functions that I can have? Maybe CJ could include this with all main releases as an extra download? This would let me do syntax highlighting more easily.
Finally, the function name completion is great in the built-in editor, I just wish it wouldn't do it when editing dialogs, too. Grrr. :P
QuoteOn a related note, does CJ or anyone else have a text file list of all Script Keywords and Built-in functions that I can have?
Script keywords are:
int char short return function string if else while struct import export
The manual index has a list of all the built-in functions. The editor constructs the list automatically from the available functions so I'm afraid I don't have a handy text list of them.
QuoteFinally, the function name completion is great in the built-in editor, I just wish it wouldn't do it when editing dialogs, too. Grrr.
Don't worry, that's fixed in 2.56 :P
CJ,
If the help file is the only source, do you have an uncompiled version that I can parse to strip them out, please?
Cheers,
Not in a useful fashion that would help you.
However, if you're feeling adventurous, open up the roomedit.clb file in a text editor, scroll down to near the bottom, and you should be able to extract all the function names from there.
If anyone would like to try it, here is an Emacs major-mode for editing AGS scripts:
https://git.sr.ht/~mew/ags-mode
I've not done much testing with it at the moment but it should provide syntax highlighting and structural editing derived from the built-in C-like language support.