• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Which programming language?

Mumbala

Landlubber
<img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> modders!

I know a bit of C language, but i haven´t write anything yet. After several times trying to play the game (1.5 patched) and tired of bugs and emptiness of which could had be a great game, i have started to play with the code in the "programs" directory and i´ve decided to write some functions from scratch. Well, i´ll try it, but:

Can anybody with programming knowledge tell me which type of C is this? I mean, the game will work with any standard libraries?
Or even better, can recommend me any C editor to work with the game and learn at the same time? <img src="style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid=":keith" border="0" alt="keith.gif" />
 
The code you see in AoP isn't really a C programing language. The language which both PotC and AoP use is special script which has some features of C/C++. Basically, the syntax is greatly similar, but some features are unavailable or handled differently. Of course, that means that using standard C or C++ libraries or creating of some own libraries is impossible - every script (*.c file) is compiled by engine.exe whenever the game is started.

Personally I use PS Pad, but you can use any text editor you prefer. You can learn the syntax and script differences from standard C++ by studying source code available in PROGRAM directory.

pirate_kk
 
<img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /> Thank you very much. I´ll try Ps Pad with C++ help files. Back to school then.
By the way, seeing your signature, i´m trying the PotC Build too, but i am lost with so many mods, have to read the readmes several times. That is an incredible mod. One to never be bored again.
 
Back
Top