Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build when paused - scenario editor #1521

Closed
DorpsGek opened this issue Dec 8, 2007 · 8 comments
Closed

Build when paused - scenario editor #1521

DorpsGek opened this issue Dec 8, 2007 · 8 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Dec 8, 2007

Moriarty opened the ticket and wrote:

Maybe not a bug, but for some reason build-when-paused isn't enabled by default in the scenario editor (r11588) .

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1521
@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 8, 2007

Rubidium wrote:

That's because it is a cheat and enabling it would show that as you being a cheater even when you haven't cheated in-game.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment2900

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 9, 2007

Moriarty wrote:

So molding the landscape for free, building new industries for free and generally being god is fine (that's what the scenario editor does), but "building while paused" is a "cheat"? That's why I reported it as a bug - it's very ... inconsistant.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment2917

@DorpsGek
Copy link
Member Author

SmatZ wrote:

It IS consistent. You cannot do anything while the game is paused - no matter if you are in game editor or in normal game.

However, there may be changes in the pause mode, so I am assigning this task to me.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment2930

@DorpsGek
Copy link
Member Author

Belugas wrote:

I agree with Smatz. It is consistent. Plus the time is actually frozen in scenario mode. The tile processing is on (which is not the case in normal mode) but time does not increment. And that is what is the more important thing here. Build-When-Paused freezes the tile-processing. This is not the same status as in scenario mode.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment2931

@DorpsGek
Copy link
Member Author

bilbo wrote:

Attaching simple patch that fixes it - if in editor, you can build even while paused (and without marking you as a cheater). In the game nothing changes (build in pause only as a cheat)

Building while paused eats less CPU time (since the tile processing is OFF), which may be useful for large maps and computers that are either slow or that have very noisy fans that power up once the CPU usage is too high (most notebooks, including mine)

With 2048*2048 map, openttd eats about 15% CPU time when doing nothing in editor and only 2% when paused (Athlon 3000).

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment5870

@DorpsGek
Copy link
Member Author

bilbo wrote:

Update of this patch to 19627 due to minor change in trunk. Functionality unchanged.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment7863

@DorpsGek
Copy link
Member Author

bilbo wrote:

Accidentally attached broken file, this one is correct.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521#comment7865

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 7, 2010

Rubidium closed the ticket.

Reason for closing: Implemented

In r21429


This comment was imported from FlySpray: https://bugs.openttd.org/task/1521

@DorpsGek DorpsGek closed this as completed Dec 7, 2010
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant