Reconstructed Westwood code samples
This folder serves as a repository for small snippets of Westwood code that I have reconstructed into higher-level code. Checking the Quick Reference first might help.
Complete classes
Various functions
- AITriggerTypeClass
- CreateFromINIList
- BuildingClass
- CanBeRepaired
- GetSecretProduction
- Infiltrated
- Update_Repair
- BuildingTypeClass
- GetCost
- GetPrice
- CellClass
- GetColourComponents
- HouseClass
- CanBuildHowMany
- FindEligibleAITeams
- FindOwnedBuildingType
- GenerateAIBuildPlan
- GetCountryCostMult
- GetTypeCostMult
- GotPoweredCenter
- LostPoweredCenter
- PickIonCannonTarget
- InfantryClass
- SelectWeapon
- Update
- ObjectClass
- ReceiveDamage
- ScenarioClass
- GenerateSecretLabBonuses
- GenerateStartingUnits_A
- GenerateStartingUnits_B
- GenerateUniqueSeed
- TechnoClass
- Ammo
- CanBeRepaired
- ReceiveDamage
- Reload
- SelectNavalTargeting
- SelectWeapon
- Update
- Update_Reloading
- func_4E0
- TechnoTypeClass
- GetCost
- GetPrice
- GetRefund
- GetRepairStepCost
- UnitClass
- GetUIName
- Reload
- SelectWeapon