From: Warzone 2. T. <in...@de...> - 2012-11-18 15:46:02
|
#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 |