Raised This Month: $51 Target: $400
 12% 

Prototype Groundspike Graveyard


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-08-2011 , 15:08   Re: Prototype Groundspike Graveyard
Reply With Quote #51

The original plugin has been changed with my own style, including the comments.

Code:
┌────────────────────────────────┐
│ See the table of characters ;) │
└────────────────────────────────┘
__________________

Last edited by Arkshine; 06-08-2011 at 15:13.
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2011 , 17:09   Re: Prototype Groundspike Graveyard
Reply With Quote #52

You make those comments yourself by hand or do you use a program? If you make them by hand, I think I might write a quick little thing in Java and see if I can automate it. They look really good ;)

I've been trying to find some sort thing that can document pawn code like javadoc does for java. Would help you guys as approvers a lot as well, because some people code like crap, but documentation would help.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-08-2011 , 18:25   Re: Prototype Groundspike Graveyard
Reply With Quote #53

By hand, but you know, you do it one time then after it's very fast to copy-paste or adjusting.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2011 , 18:40   Re: Prototype Groundspike Graveyard
Reply With Quote #54

Ya, but how much easier would it be to have it auto-generated? Besides, I've been on a mission since I came back to coding pawn and realized how horrible amxx studio and pawn studio are. I've been trying a couple things, and documentation generation is something I wanted to see if I could get. I was thinking about trying to create a custom class of files for NetBeans or Eclipse, but that would probably be beyond me.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-08-2011 , 20:35   Re: Prototype Groundspike Graveyard
Reply With Quote #55

I would love to see a tool which generates a documentation like does Doxygen, but of course something simplified for pawn. So making a decent comments in the sma would make a lot of sense. Such tool would help definitively to understand better/fastly the flow of the plugin. Also, it would be nice to attach that near of "Get Source", you would have "Get Documentation", it will redirects you directly to a generated documentation from the plugin source, and you would be able to download the whole thing too. Well, I'm dreaming, but since here there is a severe lack of documentation, it would really helpful.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-08-2011 , 22:16   Re: Prototype Groundspike Graveyard
Reply With Quote #56

I installed Doxygen earlier and it worked fine when compiling test commands for one of my files. I've been working on creating my own language support for amxx/pawn in NetBeans, I think I'm actually making progress. I have the language like initialized, I think I just need to add add the lexer tags, which doesn't scare be half as bad as having to set up syntax (which I will prolly at during that step). (If you want to help, I don't mind ). I really don't think I will finish because I have no idea of the complete functionality of the Pawn language, but if I did, it would be pretty sweet having auto-complete and stuff, and seeing errors as they appear in the syntax.

EDIT: I take back what I said, I think it is working right now. Even though the syntax highlighting is completely wrong and the includes think they are C++, one of my templates included amxmodx and amxmisc, and its pretty cool (progress is progress IMO)... it even has documentation for the amxx natives loaded
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 06-09-2011 at 02:17.
Tirant is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 06-09-2011 , 14:49   Re: Prototype Groundspike Graveyard
Reply With Quote #57

Quote:
Originally Posted by Arkshine View Post
With the fix above, the crash still happens ?
Yes
BeasT is offline
Send a message via Skype™ to BeasT
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-09-2011 , 23:20   Re: Prototype Groundspike Graveyard
Reply With Quote #58

Hey Ark., just wanted to tell you that I got Doxygen to start working. It produces decent documentation, but it considers all enums of the same type one enum, and then shows that enum everywhere you had an enum. Besides that, it's not bad.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-10-2011 , 06:07   Re: Prototype Groundspike Graveyard
Reply With Quote #59

Since the syntax is near of C, it doesn't surprise me the output is somehow decent. I'm sure it would be not too hard to modify Doxygen to fix some part.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-10-2011 , 15:08   Re: Prototype Groundspike Graveyard
Reply With Quote #60

Except Pawn is typeless, which is kind of a big difference when trying to check syntax.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode