![]() This will make the references clickable and improve understanding of the API. It is better here to refer to existing APIs for how a GS set growth rate. Use descriptions that relate to what is exposed to API users or use plain English if you need to refer to internal logic not exposed in the API. For example TOWN_GROW_RATE_CUSTOM is not exposed in the API. In the API documentation, you should not refer to internal ENUM constants which are not exposed in the API. "more of this conditions" => "more of these conditions" (change "this" to "these") Items in the changelog is sorted alphabetically - not by date within the same version. In order for the HTML output to show up as a list, you need to follow the Doxygen syntax for bullet lists, otherwise it will probably even ignore your manual line breaks. That is when town gui says correctly the town is not growing, but GS will say in goal gui the town is growing (even if I omit the growing line, the user can still be confused, if he sees the deliveries). In your doxygen comment you have something that looks like you intended to have a bullet list there. Since GS cant recognize, that the town has no transport service, it gives the user invalid information about town growth in that case. The latter could be also useful for other interesting scripts too. , which would make it possible to decide the service status in GS. Or make some GSStation function to retrieve struct Station properties : How it would be possible to implement some new GS feature?Įither gather the service information directly in town_cmd.cmd inĪnd send it to GS, like GSTown.HasService(townid), Since GS cant recognize, that the town has no transport service, it gives the user invalid information about town growth in that case. This all works fine,īut when town has enough resources and is not serviced, the town will not grow, but the GS will think it grows, because town was supplied. I added new growth mechanism, that uses new features of setting town growth as TOWN_GROWTH_NORMAL when town is supplied and TOWN_GROWTH_NONE when not. Script influences town in such way, that they need to be supplied to grow houses. This will make the references clickable and improve understanding of the API.I am trying to implement new GS features to my Simple City Builder script, and I get into one small trouble. ![]() Its growth rate is calculated (non linearly) on the basis of the degree of achievement for cargo requirements. If a town supplies passengers in any way, the script starts calculating cargo requirements for this town. For example TOWN_GROW_RATE_CUSTOM is not exposed in the API. The script only triggers growth in the towns which are already exchanging passengers. In your doxygen comment you have something that looks like you intended to have a bullet list there. ![]() I am trying to implement new GS features to my Simple City Builder script, and I get into one small trouble.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |