Project: Economy and Balancing

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: Project: Economy and Balancing

Post by CommanderZ »

Wasila wrote:From what I can see Celestar is no longer an active dev? Which means that this project is dead too?

Thanks,
Wasila
I guess this was dead even when Celestar was active.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Project: Economy and Balancing

Post by petert »

Wasila wrote:From what I can see Celestar is no longer an active dev? Which means that this project is dead too?

Thanks,
Wasila
This thread is stickied so that the same topic doesn't get made hundreds of times by those-who-do-not-search.
LurkerL
Engineer
Engineer
Posts: 10
Joined: 16 Jan 2010 06:57

Re: Project: Economy and Balancing

Post by LurkerL »

struct Company is the key to making this work I think. However, it is used too often for any quick change to be made. The attachment has an outline of how financial data would be arranged (from the company POV) to make it work.

Once the information is rearranged to keep all the Money s in one place, then it should be quite straightforward to compute profit and equity values.

The idea, in more general terms, is to keep cash-on-hand, which is an asset of the company, separate from everything else to do with money (loans, spending etc).
Attachments
company_base.h
Quick and dirty suggestion done in 5 min ... (Public domain by me)
(2.11 KiB) Downloaded 202 times
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 14 guests