5% Shares

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

Post Reply
User avatar
burty
Transport Coordinator
Transport Coordinator
Posts: 326
Joined: 16 Jun 2006 17:18
Location: Somwhere near a computer

5% Shares

Post by burty »

Firstly I would like to say that the basis of this patch are not mine all that I have done is to bring it up to the latest SVN (-7).

I plan to improve this to be able to change the buy/sell amount of the shares.

Known Bugs:
Can't sell to lower than 20-40% of the shares.
Start by owning 20% of competitor.
Can't buy competitor out.
You own 10% of your own company.

I know these are quite large problems but my main aim was to get it to the latest SVN (-7) first and I will now start to work through the bugs.
Attachments
Shares 5% 14550.patch
R14450
(12.25 KiB) Downloaded 154 times
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: 5% Shares

Post by petert »

This is a nice patch, could you update it to the latest trunk?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests