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

Change: Decrease the min #opcodes #7243

Merged
merged 1 commit into from Feb 28, 2019
Merged

Conversation

SamuXarick
Copy link
Contributor

No description provided.

@LordAro
Copy link
Member

LordAro commented Feb 21, 2019

Please explain the reasoning behind this PR. Why is it necessary?

@SamuXarick
Copy link
Contributor Author

It was an idea to help maintaining 33 fps with 15 AIs on 4096x4096 maps. Less max opcodes would help, but it would also make the AIs look rather innactive most of the time. I guess I just wanted to be able to insert a lower value than 5000 to see what it would look like.

@Moth-Tolias
Copy link

perhaps making this a configurable option would be possible?

@PeterN
Copy link
Member

PeterN commented Feb 23, 2019

That's rather meta. A config option to set the minimum value of a config option...

@Moth-Tolias
Copy link

oh, gosh. I really should have focused a little more carefully while reading - sorry about that!

Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see why not, it's not changing default after all.
Perhaps the helptext could be updated to more clearly indicate that a lower number would slow AIs down ?

@PeterN PeterN merged commit 0326405 into OpenTTD:master Feb 28, 2019
@SamuXarick SamuXarick deleted the min-opcodes branch March 1, 2019 15:21
nielsmh pushed a commit to nielsmh/OpenTTD that referenced this pull request Mar 11, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this pull request Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants