#3799: productionOutput: Conversion to uint32_t -------------------------------------------------+------------------------- Reporter: Kreuvf | Owner: Type: patch (an actual patch, not a | Status: new request for one) | Milestone: Priority: normal | unspecified Component: Data: Stats | Version: 3.1 Keywords: stats, productionOutput, factory | RC 2 | Operating System: All | /Non-Specific -------------------------------------------------+------------------------- 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. -- Ticket URL: <http://developer.wz2100.net/ticket/3799> Warzone 2100 Trac <http://developer.wz2100.net/> The Warzone 2100 Project ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Warzone2100-project mailing list Warzone2100-project@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-project