Ahoy, ye scurvy sea dogs! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
I bought PotC a few days ago and was immediately unimpressed with the `way-too`-`console-like` feeling, and what appeared to be slightly simplistic gameplay. In my search for a way to invert the mouse, I found this website and the PMT Build. And then, I was much more impressed and satisfied with the product. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="
" border="0" alt="smile.gif" /> So for starters, thumbs up to the PMT. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid="
" border="0" alt="onya.gif" />
So I'm a programmer by trade and hobby (and I'm formalizing that with a `purty-purty` degree in CS), and I can never resist some good ol' modding. One thing I miss from Morrowind (and many other games) is the Quicksave feature - I like saving all the time, and it's awfully inconvenient to have to mosey all the way through the menu system etc.
I was poking around in the source code seeing how feasible this would be, and my editor (Vim) complained about invalid syntax:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->PostEvent("evntSave",0,"ss", GameInterface.SavePath+""+curSave, sSaveDescriber); // qf"<!--c2--></div><!--ec2--> (save_load.c line 261, I've installed build 11)
Notably, it thinks that the " is an escaped quote, and so vim only thinks the string ends at // qf".
Now looking around a bit, I've noticed that this definitely isn't normal C. For one, you can't use strings in a case statement; for two, you can't use strings so simply in the first place e.g. GameInterface.SavePath = "SAVE".
In any case, my question is: how does `PotC-C` handle escaped characters? And more generally, what are its particularities?
Now, I noticed that Nathan Kell gave a link to a page that had a list of 'pecularities': <a href="http://www.piratesahoy.net/postt744.html" target="_blank">http://www.piratesahoy.net/postt744.html</a>
But unfortunately the link seems to be broken (it brings you to the main PA.net page)
Also, how do you go about distributing mods? It seems that the common method is to post the source code `to-be`-added/modified? Is there a CVS server set up anywhere for the PMT Build? If one wants to make bug fixes or simply additions, how do you make that contribution?
Thanks, sorry for all the questions, and once again thumbs up to you folks for turning the game into what it should have been. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="
" border="0" alt="smile.gif" />
I bought PotC a few days ago and was immediately unimpressed with the `way-too`-`console-like` feeling, and what appeared to be slightly simplistic gameplay. In my search for a way to invert the mouse, I found this website and the PMT Build. And then, I was much more impressed and satisfied with the product. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="


So I'm a programmer by trade and hobby (and I'm formalizing that with a `purty-purty` degree in CS), and I can never resist some good ol' modding. One thing I miss from Morrowind (and many other games) is the Quicksave feature - I like saving all the time, and it's awfully inconvenient to have to mosey all the way through the menu system etc.
I was poking around in the source code seeing how feasible this would be, and my editor (Vim) complained about invalid syntax:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->PostEvent("evntSave",0,"ss", GameInterface.SavePath+""+curSave, sSaveDescriber); // qf"<!--c2--></div><!--ec2--> (save_load.c line 261, I've installed build 11)
Notably, it thinks that the " is an escaped quote, and so vim only thinks the string ends at // qf".
Now looking around a bit, I've noticed that this definitely isn't normal C. For one, you can't use strings in a case statement; for two, you can't use strings so simply in the first place e.g. GameInterface.SavePath = "SAVE".
In any case, my question is: how does `PotC-C` handle escaped characters? And more generally, what are its particularities?
Now, I noticed that Nathan Kell gave a link to a page that had a list of 'pecularities': <a href="http://www.piratesahoy.net/postt744.html" target="_blank">http://www.piratesahoy.net/postt744.html</a>
But unfortunately the link seems to be broken (it brings you to the main PA.net page)
Also, how do you go about distributing mods? It seems that the common method is to post the source code `to-be`-added/modified? Is there a CVS server set up anywhere for the PMT Build? If one wants to make bug fixes or simply additions, how do you make that contribution?
Thanks, sorry for all the questions, and once again thumbs up to you folks for turning the game into what it should have been. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="
