HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Feature #765978
Trade route revenue and caravan bonus styles
0%
Description
I am porting these formulas over from the old warclient codebase. Caravan bonus is O(log^2 N) so does not break the game and trade revenue only cares about the citizen trade of the two cities.
History
#1
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-master.patch traderoutes-master.patch added
#2
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-S3_0.patch traderoutes-S3_0.patch added
#3
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-S3_0.patch traderoutes-S3_0.patch added
Sorry, screwed up the first patch
#4
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-master.patch traderoutes-master.patch added
#5
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-S3_0.patch traderoutes-S3_0.patch added
- File traderoutes-master.patch traderoutes-master.patch added
In accordance with CodingStyle
#6
Updated by Marko Lindqvist almost 4 years ago
I didn't read patch in details (such as coding style) yet, but please address one point before that:
- Make _styles specenums instead of using magic values.
#7
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-master.patch traderoutes-master.patch added
Made it a specenum.
#8
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-master.patch traderoutes-master.patch added
Fixed some more style.
#9
Updated by Zoltán Žarkov almost 4 years ago
- File traderoutes-master.patch traderoutes-master.patch added
With gnu style function braces
#10
Updated by Zoltán Žarkov almost 4 years ago
- File 0001-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch 0001-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch added
with git format patch
#11
Updated by Marko Lindqvist almost 4 years ago
- File 0020-Port-caravan-bonus-style-and-trade-revenue-style-opt.patch 0020-Port-caravan-bonus-style-and-trade-revenue-style-opt.patch added
- Category set to General
- Status changed from New to In Progress
New master version:
- Renamed parameter of traderevenuestyle_name() from 'generator' to 'revenue_style'
- Reformatted commit message
- Applies on top of Feature #764944
#12
Updated by Zoltán Žarkov almost 4 years ago
- File 0002-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch 0002-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch added
Created the same patch for S3_0 branch.
#13
Updated by Zoltán Žarkov almost 4 years ago
- File 0002-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch 0002-Ports-caravan-bonus-style-and-trade-revenue-style-op.patch added
Renamed the parameter from generator.
#14
Updated by Marko Lindqvist almost 4 years ago
- Status changed from In Progress to Resolved
- Sprint/Milestone set to 3.0.0
#15
Updated by Marko Lindqvist almost 4 years ago
- Assignee changed from Zoltán Žarkov to Marko Lindqvist
#16
Updated by Marko Lindqvist almost 4 years ago
- Status changed from Resolved to Closed