|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Patch for build 160Hello Christian,
I post here my last source modifications which implements Authoring Features. The patch is based on build 160. I have added 4 source files which I have added into zip. I have renamed attachment " source.zip" to "source.bin" Christian, if you think to save something of my work, feel yourself free to modify my code as you want. The interface is just an example, we could reorganize all, add tool palette and so on... (I would like add also submenus to my menu panel....) I think my approach to modifying "node.lua" file was better than your "updateFile()" because it isn't only a substring substitution, but it permit to substitute, for example, "second parameter of function cubic" without care of the formatting or eventual user comments, so it successfully replace parameters if lua is: cubic{"one.png","second.png","third.png",....} or cubic { "one.png", --front "second.png" --left ..... } etc. space, newline, remarks are extracted before the search and re-injected in the file after substitution, to preserve user formatting. note also that keywords aren't searched inside string or comments ( i.e.: if I write var="cubic{" or --cubic ) Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Pipmak-Devel mailing list Pipmak-Devel@... news://news.gmane.org/gmane.games.devel.pipmak.devel https://lists.sourceforge.net/lists/listinfo/pipmak-devel |
|
|
Re: Patch for build 160Andrea Viarengo wrote:
> I post here my last source modifications which implements Authoring > Features. Wow, that's quite an amount! That will take me a bit of time to examine. Hopefully I'll have some comments by the time you return from your vacation. :) It looks like you haven't made any progress in finding out why Subversion was being nasty to you in terms of refusing to produce patches? > I think my approach to modifying "node.lua" file was better than your > "updateFile()" because it isn't only a substring substitution, but it > permit to substitute, for example, "second parameter of function cubic" > without care of the formatting or eventual user comments That sounds useful, thanks! I'll have a close look at this. I admit that the updateFile() function is a bit simplistic, but I was hoping to get away with that for the first version. -Christian ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Pipmak-Devel mailing list Pipmak-Devel@... news://news.gmane.org/gmane.games.devel.pipmak.devel https://lists.sourceforge.net/lists/listinfo/pipmak-devel |
| Free embeddable forum powered by Nabble | Forum Help |