Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, Ayumi), 769 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 12 of 16 1 2 10 11 12 13 14 15 16
Re: TUST or "The community library" [Re: ] #424534
06/18/13 14:52
06/18/13 14:52
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Just finished the documentation of the actual members of compact_menu. I would be grateful if someone with better knowledge of English than me could revise it wink

wiki page

Last edited by txesmi; 06/18/13 14:53.
Re: TUST or "The community library" [Re: txesmi] #424535
06/18/13 15:11
06/18/13 15:11
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
this menu system looks really cool!

a question: is it possible to set pointers as slider min and max values? in my editor I have sometimes problems with it, using loops very rarely leads to errors, but I want to totally eliminate them. basically I need a similar menu system (or maybe exacly this one), I've ever been too lazy to create my own laugh


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: TUST or "The community library" [Re: sivan] #424578
06/18/13 21:52
06/18/13 21:52
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
It sounds easy and usefull. I will try to implement it in the same member type.

Re: TUST or "The community library" [Re: txesmi] #424584
06/19/13 06:50
06/19/13 06:50
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
thanks!
for example it is useful for setting lod distances, which should not overlap.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: TUST or "The community library" [Re: sivan] #424590
06/19/13 08:23
06/19/13 08:23
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi!

I'm reading the doxygen help in order to improve the documentation of my extensions and I changed this :

Quote:

# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
# defined locally in source files will be included in the documentation.
# If set to NO only classes defined in header files are included.

EXTRACT_LOCAL_CLASSES = NO

# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
# undocumented members of documented classes, files or namespaces.
# If set to NO (the default) these members will be included in the
# various overviews, but no documentation section is generated.
# This option has no effect if EXTRACT_ALL is enabled.

HIDE_UNDOC_MEMBERS = YES

# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy.
# If set to NO (the default) these classes will be included in the various
# overviews. This option has no effect if EXTRACT_ALL is enabled.

HIDE_UNDOC_CLASSES = YES


So the config enforces to comment the objects to be documented. What do you think?

Re: TUST or "The community library" [Re: txesmi] #424593
06/19/13 09:14
06/19/13 09:14
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline OP
Expert
MasterQ32  Offline OP
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
Sounds really useful, i will update the whole documentation


Visit my site: www.masterq32.de
Re: TUST or "The community library" [Re: MasterQ32] #424594
06/19/13 09:32
06/19/13 09:32
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
I did not uploaded the modified file. I upload it right now.

Re: TUST or "The community library" [Re: txesmi] #424798
06/21/13 21:48
06/21/13 21:48
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi!

I finally finished all the doxygen comments for my modules. I modified the style of the html help a little bit to fit my taste wink I also managed to insert all the documentation of compact menu in the module header file, so I deleted the wiki entry.

I used the \defgroup tag to group all the content of each module. I suggest you doing so.

Code:
/**
 * \defgroup TrashModule Trash
 * \brief    Linked trash or stack implementation.
 * \ingroup  GenericScriptLibrary
 * \{
 * \file  trash.h
 * \brief Linked trash or stack implementation header.
 * \file  trash.c
 * \brief Linked trash or stack implementation code.
 * \file  test_trash.c
 * \brief Linked trash or stack implementation test code.
 */

// close the group at the end
/**
 * \}
 */



I think that a \brief description is a must.

The headers got a bit mixed at the end with so many comments, so I decided to insert a header in the modules refering to the included documentation.

Code:
/* The Ultimate Script Library 
-----------------------------------------------------------------------------------
   Module: Trash
   Linked trash or stack implementation.

   Read the documentation for further information: TUST\Documentation\index.html
----------------------------------------------------------------------------------- 
*/



before


after


All the rest is clearly explained into Doxygen documentation.

Last edited by txesmi; 06/21/13 22:10.
Re: TUST or "The community library" [Re: txesmi] #425343
07/03/13 10:59
07/03/13 10:59
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi!

Compact menu slider member limits now support fixed values, fixed variables and pointers to fixed variables. Also, all the member creation strings now can contain as much spaces and tabs as you want. The most time consuming action was writting the documentation xP

@sivan: I would love to see this system running on a project wink

Re: TUST or "The community library" [Re: txesmi] #425344
07/03/13 11:31
07/03/13 11:31
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
cool, I will need to replace my current GUI as more and more complex options are emerging to be used, like advanced material and shader stuff. it will be not an exciting work, just useful. I will test it soon, after adding partial shade-c support options to my editor, but first I have to conquer the empire of variance shadow mapping errors, grrrrr....


Free world editor for 3D Gamestudio: MapBuilder Editor
Page 12 of 16 1 2 10 11 12 13 14 15 16

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1