Long overdue PR#55
Merged
Merged
Conversation
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.
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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