Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
96 user(s) are online (79 user(s) are browsing Forums)

Members: 0
Guests: 96

more...

Support us!

Headlines

Report message:*
 

Re: Game Coding for beginners?

Subject: Re: Game Coding for beginners?
by Rigo on 2010/12/1 20:17:20

@freddix

Well, because AmiDark Engine API is centric around C, it makes sense to be able to expand the help system to include third-party additions.

As far as AutoDocs goes, the autodoc source is usually embedded in the source files. Luckily, CodeBench can generate these for you, by placing the text cursor above the function you want to create an entry for, then using the right mouse button menus, select Insert/AutoDoc Entry from the popup menu. A skeleton will be inserted into the source code, and you are free to add the required information and function description.

Creating the actual doc is done by passing the names of all files containing the autodoc source to the "AutoDoc" program which can be found in the SDK:C directory.

Once you've done it once, it's easy, and the resulting files are easy to read, especially when the headers are highlighted for you, like this.

Simon

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project