2016-08-14
- Changed Spawn APIs to express Group position and Unit position
randomization.
- Changed the API protocol of SpawnInZone() method.
-- Removed OuterRadius and InnerRadius parameters !!!
- Changed the API protocol of SpawnFromUnit() method.
-- Removed OuterRadius and InnerRadius parameters !!!
- Added InitRandomizeUnits() method, taking 3 parameters:
-- RandomizeUnits given the value true, will randomize the units upon
spawning, false (default) will not randomize the untis.
-- OuterRadius is the outer radius of the band where the units will be
spawned, if RandomizeUnits is true.
-- InnerRadius is the inner radius of the band where the units will not
be spawned, if RandomizeUnits is true.
- Removed SpawnFunction() method.
- Added OnSpawnGroup() method as the new official CallBack function
method to catch when a new function will be called.
-- Documented OnSpawnGroup() method.
- Renamed Limit() method to InitLimit() method.
- Renamed Array() method to InitArray() method.
- Renamed RandomizeRoute() method to InitRandomizeRoute() method.
- Renamed RandomizeTemplate() method to InitRandomizeTemplate() method.
- Reviewed all test missions for the changes executed and made adaptions
where necessary + re-tests.
- Was part of a larger issue related to the class hierarchy between
Object -> Identifiable -> Positionable ...
- Also fixed AIRBASE class fitting now the class hierarchy.
# Conflicts:
# Moose Development/Moose/Base.lua
# Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua
# Moose Mission Setup/Moose.lua
# Moose Test Missions/Moose_Test_AIBALANCER/Moose_Test_AIBALANCER.miz
# Moose Test Missions/Moose_Test_CLEANUP/Moose_Test_CLEANUP.miz
# Moose Test Missions/Moose_Test_DESTROY/MOOSE_Test_DESTROY.miz
# Moose Test Missions/Moose_Test_ESCORT/MOOSE_Test_ESCORT.miz
# Moose Test
Missions/Moose_Test_MISSILETRAINER/Moose_Test_MISSILETRAINER.miz
# Moose Test Missions/Moose_Test_SEAD/MOOSE_Test_SEAD.miz
# Moose Test Missions/Moose_Test_SET_CLIENT/Moose_Test_SET_CLIENT.miz
# Moose Test Missions/Moose_Test_SET_GROUP/Moose_Test_SET_GROUP.miz
# Moose Test Missions/Moose_Test_SPAWN/MOOSE_Test_SPAWN.miz
# Moose Test
Missions/Moose_Test_SPAWN_Repeat/MOOSE_Test_SPAWN_Repeat.miz
# Moose Test
Missions/Moose_Test_TASK_Pickup_and_Deploy/MOOSE_Test_TASK_Pickup_and_Deploy.miz
# Moose Test Missions/Moose_Test_WRAPPER/Moose_Test_WRAPPER.miz
# Moose Test Missions/Moose_Test_ZONE/Moose_Test_ZONE.miz
# Moose Test
Missions/Moose_Test_ZONE_POLYGON/Moose_Test_ZONE_POLYGON.miz
# Moose Test Missions/Moose_Test_ZONE_RADIUS/Moose_Test_ZONE_RADIUS.miz
# Moose Test Missions/Moose_Test_ZONE_UNIT/Moose_Test_ZONE_UNIT.miz
- Fixed SCHEDULER bug! This was a nasty one.
- Fixed bugs in DATABASE. After a respawn i should not create a new
GROUP object. Fixed now.
- Ensure that all removeFunction calls are out of the code.
- Fixed bug in T and F tracing methods
- MISSILETRAINER: is working now...
SET_CLIENT. Is working much better now. Had to rework DATABASE, SPAWN to
get this straight.
BASE: Fixed a bug that has been in de system for a very long time. the
parent should have never been deepcopied when inheriting from it.
- SCHEDULER: Fixed a nasty bug with the scheduler, when the
repeatparameters was nil, i was still repeating, very wrong. fixed now.
- MESSAGE class finished and now properly documented. Changed New()
function API.
- Reworked Include.File lines. No Include.File line anymore in the
Modules. All included in Moose.lua for dynamic loading.