Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

productionOutput: Conversion to uint32_t #3799

Closed
wzdev-ci opened this issue Nov 18, 2012 · 5 comments
Closed

productionOutput: Conversion to uint32_t #3799

wzdev-ci opened this issue Nov 18, 2012 · 5 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_factory keyword_productionOutput keyword_stats resolution_fixed type_patch (an actual patch, not a request for one) | by Kreuvf


Long story short: to allow for production of faster than 255 "production points" per second the conversion was necessary. Faster production was necessary for our mod.

The patch was tested with 3.1 RC2 source and works™.

Fun fact: in the code I found UBYTE, UWORD and UDWORD for productionOutput... Similar horror is in other parts of the code dealing with research and research points, but I did not feel like changing that as well.


Issue migrated from trac:3799 at 2022-04-16 10:43:06 -0700

@wzdev-ci
Copy link
Contributor Author

Kreuvf uploaded file 20121118_productionOutput_uint32.patch (5.1 KiB)

Conversion and unification of productionOutput data type to uint32_t

@wzdev-ci
Copy link
Contributor Author

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Per changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed blockedby which not transferred by tractive

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant