109 Commits

Author SHA1 Message Date
Lukas Kropatschek
5803be3904 switched to new logger
created a init function, creating a logger and calling main
2016-01-07 21:07:57 +01:00
Lukas Kropatschek
33aa8ec3d5 fixed indention 2016-01-07 13:57:08 +01:00
Lukas Kropatschek
337d93b2aa introduced scopes simulating different files.
Using scopes for various groups of functions simulating files.
Allows for use of some local functions and better organization. Using a editor
which is capable of folding this huge file gets way easier to navigate.
2016-01-07 13:05:27 +01:00
Lukas Kropatschek
750e06d42f some more ldoc 2016-01-07 11:20:10 +01:00
Lukas Kropatschek
f269f2cb0a added ldoc for debug and vec functions 2016-01-06 17:33:12 +01:00
Lukas Kropatschek
2e198095e9 completed utils ldoc 2016-01-06 04:39:20 +01:00
Lukas Kropatschek
7dcb0eb144 fixed logger and added alert 2016-01-06 03:15:10 +01:00
Lukas Kropatschek
08b8811e31 fixed/enhanced logger and added some ldoc 2016-01-06 00:49:30 +01:00
Lukas Kropatschek
e19c4f4c2c implemented basic logger 2016-01-05 23:29:22 +01:00
Lukas Kropatschek
6e7f5e3a3d added some ldoc 2016-01-05 20:50:26 +01:00
Lukas Kropatschek
cbea703141 some more newlines removed 2016-01-05 18:43:23 +01:00
Lukas Kropatschek
752720c8ee coherant function names in CamelCase 2016-01-05 14:30:02 +01:00
Lukas Kropatschek
d7b77b1201 use coherent function defintion style 2016-01-05 14:06:22 +01:00
Lukas Kropatschek
78d55fc699 use coherent function defintion style 2016-01-04 21:02:01 +01:00
Lukas Kropatschek
52304e9fef cleanup some comments 2016-01-04 20:03:22 +01:00
Lukas Kropatschek
f80eb3ed10 fixed mixed-indention, removed trailing spaces 2016-01-04 19:24:56 +01:00
mrSkortch
9bfeca1495 v60
-Fixed issue with country names in the editor not matching enum country
name values. For example "Best Korea" could not match with "BEST_KOREA".
Thanks lukrop of this fix
-Fixed locality issue with mist.getNorthCorrection
-Added function mist.utils.unitToWP
-added function mist.utils.vecToWP

Both of these functions deal with creating a WP table from the passed
values. unitToWP also returns a speed variable based on the current
velocity of the unit.
2015-12-23 22:14:51 -07:00
mrSkortch
5af7e9d7b4 v59
-removed the new 3rd variable from mist.utils.getDir and just made the
2nd variable optional instead
-Added check to DB update functions to only update if data from the
group has changed from what is currently in the
DB. This fixes an issue I had where some data was lost if you spawned a
group normally after mission start and then
used a respawn, clone, or teleport function on said group
-fixed issue with dynAdd functions naming a group with the country ID
insead of country name
-added mist.getAvgPoint(). Function is similar to mist.getAvgPos except
it uses raw vec2/3 coordinates instead of
units
-added mist.utils.roundTbl() Has the same input values as
mist.utils.round except it accepts a table and it rounds all
numbers in the first level of the table to the passed percision.
2015-10-24 01:51:02 -06:00
mrSkortch
d9f5f24632 Minor additions to existing functions
-added optional variable to mist.utils.getDir() If present this function
will return the "raw" heading, this is useful in assigning the heading
variable within a task.

-mist.utils.makeVec3 now supports being given a table in WP format.
Specifically it now coverts a table {x, y, alt) to vec3
2015-10-21 03:32:01 -06:00
mrSkortch
71de3f5b53 v4 hotfix 1
v4 hotfixes
2015-10-15 00:04:39 -06:00
mrSkortch
40100072a8 Merge pull request #18 from ciribob/master
Fix for Vec3 related typo in groupRandomDistSelf
2015-10-14 23:08:24 -06:00
Ciaran Fisher
d636f64cbd Not sure if this is a bug...
Not sure if this is a bug
2015-10-14 11:22:18 +01:00
mrSkortch
ee76538575 v56
Minor bug fix for dynAdd functions with regard to new countries in the
simulator
2015-10-03 19:45:00 -06:00
mrSkortch
5e40137af4 v4 Release
Commits for a v4 release
2015-10-02 02:27:47 -06:00
mrSkortch
065c28a697 v53
Assorted Changes and fixes
2015-09-16 03:25:11 -06:00
mrSkortch
4ff458534f r52
Minor fixes
2015-08-07 00:56:30 -06:00
mrSkortch
2f02c4041c v51
Fixed issue with message system
Added check for message systems to not send messages to combined arms if
CA slots are not in a mission.
2015-06-17 22:08:10 -06:00
mrSkortch
278216aabb v50
wtf git. why did you delete that line?
2015-05-18 20:17:30 -06:00
mrSkortch
08e4cb6334 v49
Fixed issued for flagFunc.group_alive and group_dead. Issue caused by a
bug in DCS. Had to write minor workaround.
2015-05-18 03:03:46 -06:00
mrSkortch
0e6f9d12cc v48_3.7 RC
Re-exported DB files

Lots 0 Changes
2015-05-13 01:57:08 -06:00
mrSkortch
663ccbc084 v46
added a bunch of mist.time funcs

messed with message handling a little bit.
2015-05-09 01:09:10 -06:00
mrSkortch
b82ade5d21 v45
Display refactor, minor fixes
2015-05-07 00:11:15 -06:00
mrSkortch
941ff9708c v44
fixed a few boneheaded bugs
2015-03-24 00:31:17 -06:00
mrSkortch
8dc51dbc83 v43
Minor fixes to getPayload, dynAdd, and dynAddStatic
2015-03-20 17:12:01 -06:00
mrSkortch
e18778bc7d r42
fixed bug with unit speed not getting added to DBs if spawned

added mist.getRandomPointInZone
2015-03-13 17:19:16 -06:00
mrSkortch
822dea7ae7 r41
Fixed some non localized values, thanks etcher3rd

Also added an extra check for the flagfuncs to not repeatedly reset a
flag to true if the flag is already.
2015-03-04 20:41:37 -07:00
mrSkortch
332c8aaaf0 r40
Fixed a bug with spawning aircraft altitude type being switched to radio
instead of baro

Added extra checks to make sure a group or unit returned is actually
there.
2015-03-02 17:11:12 -07:00
mrSkortch
fb32d2309a started making changes for next main release
numerous untested changes added. so yea, errors may (will) occur. Changes made while on vacation (damn you rain!) but reflect changes I've had on my mind or created in separate files. 

Mission file searching functions now search by Id instead of group or unit names. The name input variable hasnt changed, value gets converted to Id automatically if found. Functions now also accept a numerical groupId or unitId. 
getPayload
getGroupPayload
getGroupPoints
getGroupRoute

Added planned changes for message display v4. Added some code but it is dormant.
2015-02-03 00:09:05 -07:00
mrSkortch
b2080628fe r38
Fixed bug with optional variables in coordinate message functions
2015-01-29 18:28:49 -07:00
mrSkortch
36d7a0c3bc hotfix, again
Sigh
2014-10-09 17:54:59 -06:00
mrSkortch
56931faa42 Fixed an oops
country data now created correctly
2014-10-01 17:38:48 -06:00
mrSkortch
dbe7497ff2 .36 fix 2014-09-10 00:55:31 -06:00
mrSkortch
a57342b184 hotfixs
commented out error reporting in pointInPolygon for now
2014-09-05 17:52:02 -06:00
mrSkortch
2dc78dbd4c hotfix 2014-09-05 17:45:27 -06:00
mrSkortch
a1b24e629e 3.5 Release Files 2014-09-02 01:51:09 -06:00
mrSkortch
c73ebbec43 v34 fixes
v34 fixes, yay
2014-08-30 20:44:27 -06:00
mrSkortch
17c4464600 mist 3.5 rc
Possible release version of mist 3.5. or maybe just rename it mist 4.0
2014-08-29 02:38:47 -06:00
mrSkortch
0fdd9a4a58 strings in flagFuncs
Forgot about adding this. Derp
2014-08-25 19:04:23 -06:00
mrSkortch
22d5b00d49 Documentation Minor changes
Doc file and pdf. Minor changes to mist.lua
2014-08-24 00:48:25 -06:00
mrSkortch
c50463a7c8 final 3.5 features
Now bug fixes and documentation
2014-08-23 21:53:22 -06:00