211 Commits

Author SHA1 Message Date
Lukas Kropatschek
f1a3c3e0f2 moved db initialization to init and made it local 2016-01-11 23:50:27 +01:00
Lukas Kropatschek
4370fb3c72 move classes to the bottom, some more ldoc 2016-01-11 22:38:52 +01:00
Lukas Kropatschek
b10b56aa95 save some brackets and single quotes.
they are an endangered species 😁
2016-01-11 20:28:30 +01:00
Lukas Kropatschek
1aa6948db4 use new logger
though most of those debug messages could probably be removed.
2016-01-11 19:31:16 +01:00
Lukas Kropatschek
e1c5516a8e Sync with upstream
Merge upstream branch 'upstream/master'
2016-01-11 19:17:13 +01:00
Lukas Kropatschek
cf911a7dfa Merge branch 'ldoc' 2016-01-11 18:42:51 +01:00
mrSkortch
bc1aeb0875 Merge pull request #22 from mrSkortch/development
v4.1 Merge
4.1.61
2016-01-11 03:50:56 -07:00
mrSkortch
69190060e5 V4.1 Release
Commits for v4.1 to be sent to release branch
2016-01-11 03:48:47 -07:00
Lukas Kropatschek
a7a9cb6808 fixed new call 2016-01-09 20:52:12 +01:00
Lukas Kropatschek
4d0617a963 improved logger 2016-01-09 20:26:38 +01:00
Lukas Kropatschek
c62b6c0cf6 more ldoc 2016-01-08 15:09:49 +01:00
Lukas Kropatschek
b0a34ffcc1 more ldoc, made doScheduledFunctions local 2016-01-07 23:32:54 +01:00
Lukas Kropatschek
e5a89d2d38 added description 2016-01-07 22:06:31 +01:00
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
Lukas Kropatschek
1120db661f Merge development back to master 2016-01-04 16:22:33 +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
838855ed2b Merge pull request #19 from mrSkortch/development
Development
4.0.57
2015-10-15 00:06:25 -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
a8b7e5eb6c Merge pull request #17 from mrSkortch/development
V4 Release
4.0.55
2015-10-02 02:36:04 -06:00
mrSkortch
6c2b091e94 V4 4 reelz
Forgot this file
2015-10-02 02:31:02 -06:00
mrSkortch
5e40137af4 v4 Release
Commits for a v4 release
2015-10-02 02:27:47 -06:00
mrSkortch
8dfd4ec355 V53_release_version 2015-10-01 17:54:56 -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
29c93002fa Merge pull request #16 from mrSkortch/development
v51
3.7.51
2015-06-17 22:09:45 -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
9486c56d4b Merge pull request #15 from mrSkortch/development
v50
3.7.50
2015-05-18 20:18:05 -06:00
mrSkortch
278216aabb v50
wtf git. why did you delete that line?
2015-05-18 20:17:30 -06:00
mrSkortch
60d83c3bc3 Merge pull request #14 from mrSkortch/development
v49
2015-05-18 20:14:28 -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