I looked over some files and i had to say that the code itself have no special coding parts but when i want to understand these party
i had to look in the instruction set what the function are exactly doing. Also i noticed that you guys are really seldom put comments or
small discription to the seperate code blocks so that is hard to understand what these program blocks really do.
EIR_DelayedUpgradeInit(players[pid].platoons[n][iterator].sgroup, players[pid].platoons[n][iterator].upgrades,
players[pid].platoons[n][iterator].exp, 0, pid, 3, 0)
For example: Where is the discription of this function? It's not in the scar documentation. (For the several parameters)
Some of them are obvious but sometimes its good to read "This is for xy" instead of starting a train of thoughts about it.
function EIR_DelayedUpgradeInit(sgroupid, upgradeid, exp, ipopcap, ipid, idelay, iairborne)
Why is there a iairborne parameter?
It's really beefy to understand the thoughts of the programmer who created this code because there is no disription
A (small) Example from me:
// This function can be used for reading the actual configuration settings.
// The parameter value contains the instruction for the reading operation and the slave address byte.
// First parameter value; - Corresponding return value;
// ReadTemperature = Contains the actual temperature value.(two bytes in two's complent format, 9Bit length, 0.5°C resoulotion)
// ReadConfig = Is a copy of the configuration register. (one byte)
// ReadHysterese = Contains the actual output enable threshold temperature value for the O.S pin.(two bytes in two's complent format, 9Bit length, 0.5°C resoulotion)
// ReadEnableThreshold = Contains the actual output disable hysteresis temperature value for the O.S pin.(two bytes in two's complent format, 9Bit length, 0.5°C resoulotion)
// ReadProductID = Product ID of the chip. (one byte)
// Seond parameter value:
// SlaveAddress = I2C bus address of the LM75 temperature sensor.
unsigned int LM75_Read( unsigned int Parameter, unsinged char SlaveAddress);
All guys understand, what this function do, allthough they never saw this function before.
What i try to say is:
I don't want to complain you work - It's awesome, i like this mod! But how should i help when it's so hard to include in it?
It looks interesting - but i need some time.
