Skip to content

Long overdue PR#55

Merged
mrSkortch merged 28 commits into
masterfrom
development
Sep 17, 2020
Merged

Long overdue PR#55
mrSkortch merged 28 commits into
masterfrom
development

Conversation

@mrSkortch
Copy link
Copy Markdown
Owner

Made long overdue merges from develop branch to master.

added mist.utils.getQFE. Values returned have some error, need to figure
it out, but added it for testing purposes.

Added 2 extra values to mist.getRandPointInCircle to specify a min and
max angle in degrees. Funtion currently assumes both are positive
numbers. Need to add extra checks to it.

added mist.getRandomPointInPoly. Returns a random vec2 coordinate inside
a polyzone

Added checks to getLeadPos related functions to ensure the lead unit is
returned if it exists.

Temperature Conversions added.
-Kelvin to Celcius
-Celcius to Farhenheit
-Farhenheit to Celcius

mrSkortch and others added 28 commits September 29, 2016 01:18
Fixed a minor error in the documentation.
Added extra checks to unit spawn events
Fixed stupid errors with mist.getNextUnitId and mist.getNextGroupId

ground vehicles spawns via mist.dynAdd will now have playerCanDrive set
to true if value not present.

Fixed typo in mist.getUnitsInPolyGon

added mist.utils.getQFE. Values returned have some error, need to figure
it out, but added it for testing purposes.

Added 2 extra values to mist.getRandPointInCircle to specify a min and
max angle in degrees. Funtion currently assumes both are positive
numbers. Need to add extra checks to it.

added mist.getRandomPointInPoly. Returns a random vec2 coordinate inside
a polyzone

Added checks to getLeadPos related functions to ensure the lead unit is
returned if it exists.
fixed issue with logging level being set for all loggers and not just
the logger it was logging logs for.
Temperature Conversions added.
-Kelvin to Celcius
-Celcius to Farhenheit
-Farhenheit to Celcius

getQFE modified to use new atmosphere function to return pressure. Will
use QNH as defined in editor to figure out QFE if function doesn't
return anything.

added mist.utils.converter() and shortcut mist.converter().
This function is a shortcut based method of converting a coordinate from
one format to another. Conversions exist for distance, temperature,
pressure, and speed. I may need to double check some conversions. :)
Changed getQFE function to be based on Ground level position of point
given. Whoops.
Doc updates. Will Export pdf later.

mistSettings table added to display popup message on mist.Logger events.
Custom choice for error, warn, and info.

Fixed typo related to Fahrenheit

Minor changes to getRandPointInCircle

mist.getRandomPointInZone now accepts maxA and minA variables.
Last commit didnt work.
Fixed a issue where altitude was not correctly saved for aircraft
altitude set to AGL

Added Mark panel stuff. Currently WIP.
Fixed typos in function names where Celsius was spelled wrong:
mist.utils.kelvinToCelsius
mist.utils.FahreneitToCelsius
mist.utils.celsiusToFahrenheit

mist logger now defined in mistSettings.logLevel for easy access.
terrainTypes table index is no longer being compared with SurfaceType enum values, leading to incorrect type inclusions
Adding route name fetch to getGroupRoute()
corrected a typo (log:war instead of log:warn)
#51 - playerCanDrive is no longer being overridden to true
isTerrainValid validation for terrain types table fails with multiple entries
Merged several Pull Requests. Unified the build number.
Fixed minor bug with dynAddStatic where it would always assign a generated name if the entry lacked the alternate name entry of unitName.
Due to a change in DCS open beta 2.5.6.52196 that allows errors to be logged within scheduledFunctions and the speed at which mist checks to update a DB, better error handling was required.

-Modified tempSpawnedGroups to be a table containing the object and the type.
-Added check to ensure that the group and objects still exist before running potentially error causing scripting functions on.

Added GNU v3 liscense.
Added paypal donation link
Exported sample DBs because it hasn't been done in a while.
-Modifed mist.removeFunction to return true or false if the function was removed.
-Added more descriptive logging to dbUpdate and checkSpawnedEventsNew
Forgot to update the versioned file.
Added support for DB info in the miz regarding neutral groups. Removed the checks for the coalition name so that if there are ever more coalitions added to the game the mist code won't need to explicitly look for them.

Added local function to verify the DB entries for anything that was spawned before mist is loaded.

Set all popup messages to false.
Cool didn't know about that.
@mrSkortch mrSkortch merged commit debded0 into master Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants