Patch to buy an area of land

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

petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Patch to buy an area of land

Post by petert »

Here's an updated binary:
Attachments
buy_area_r18518.diff
(4.27 KiB) Downloaded 198 times
buy_area_r18518_win32.rar
(3.49 MiB) Downloaded 183 times
buy_area_land.png
buy_area_land.png (37.39 KiB) Viewed 5162 times
Whos
Engineer
Engineer
Posts: 74
Joined: 25 May 2009 10:20

Re: Patch to buy an area of land

Post by Whos »

Is there version of patch for 1.01?

Can anyone make a portable version of the 32 wines for 1.01v ?
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: Patch to buy an area of land

Post by Lord Aro »

considering thats now about 1000 revisions difference from r18518, i think not...
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Whos
Engineer
Engineer
Posts: 74
Joined: 25 May 2009 10:20

Re: Patch to buy an area of land

Post by Whos »

Lord Aro wrote:considering thats now about 1000 revisions difference from r18518, i think not...
so, where can i get this patch for 1.01?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Patch to buy an area of land

Post by planetmaker »

At the end of some coding (and a binary then also subsequent compilation) work.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Patch to buy an area of land

Post by petert »

Lord Aro wrote:considering thats now about 1000 revisions difference from r18518, i think not...
Did you try, or are you just speculating?
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: Patch to buy an area of land

Post by Lord Aro »

speculating...
with quite a good likelyness (is that right?) of being correct, you have to admit :roll:
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
jawsper
Engineer
Engineer
Posts: 20
Joined: 08 Jun 2004 00:02
Location: Netherlands

Re: Patch to buy an area of land

Post by jawsper »

Well the latest diff posted didn't need much changes to go to revision 19990 (yesterday or so), only 2 lines changed, I'll attach it here.
Attachments
buy_area_r19990.diff
(4.41 KiB) Downloaded 204 times
Patch: change finances window grouping
Patch: Tracking viewport

Warning: Unexpected end of file reached.
xmirakulix
Engineer
Engineer
Posts: 36
Joined: 06 Jan 2010 18:06

Re: Patch to buy an area of land

Post by xmirakulix »

(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable
With the change above the code was changed in a way, that made it impossible for me to update the patch to apply again.
So unfortunately, I can't use the patch anymore, but I'd love it, if someone more skilled could rewrite the patch to work with the current trunk.

Thanks in advance to anyone who might be able to help...
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: Patch to buy an area of land

Post by Lord Aro »

redoing wiki requested features page

has this idea truely been rejected by devs? or what?
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: Patch to buy an area of land

Post by Arie- »

Well, IIRC, this patch makes annoying online behaviour easier.
xZise
Engineer
Engineer
Posts: 57
Joined: 19 Mar 2009 16:52
Location: Bad Schwartau

Re: Patch to buy an area of land

Post by xZise »

Arie- wrote:Well, IIRC, this patch makes annoying online behaviour easier.
When your server is misconfigured. If I remember correct you can choose the maximum area. So the paranoids admin can set it to 1 and those who are playing with friends can set it to unlimited. And the rest can choose something between.

So sometimes there is no improvement (for the player) but if you are playing alone or with rules this would be a very nice patch.

Sincerely
xZise
lastorder
Engineer
Engineer
Posts: 1
Joined: 14 Feb 2016 14:29

Re: Patch to buy an area of land

Post by lastorder »

patch re-worked for r27508.

based on r19990( http://www.tt-forums.net/viewtopic.php? ... 60#p883883 ) patch file.

I added command(CmdPurchaseLandArea).
I don't know well about openttd project or code standard(?). so code might be dirty.

** FIXED BUG **
there was little bug that range setting could be wrong. i re-uploaded diff file(-rev2.diff)

* win32 x86 bundle https://drive.google.com/file/d/0B58Crn ... sp=sharing
Attachments
buy_area_r27508-rev2.diff
(5.39 KiB) Downloaded 121 times
Last edited by lastorder on 15 Feb 2016 14:12, edited 3 times in total.
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

Re: Patch to buy an area of land

Post by openbu.org »

thanks,
thanks to lastorder
patch re-worked for r27508.
based on r19990( viewtopic.php?f=33&t=29495&start=60#p883883 ) patch file.
It's a great patch.
Like.
htk0708
Engineer
Engineer
Posts: 2
Joined: 25 May 2017 21:02

Re: Patch to buy an area of land

Post by htk0708 »

patch updated for r27875
Attachments
buy_area_r27875-rev2.diff
(5.36 KiB) Downloaded 112 times
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 47 guests