Compare commits

...

68 Commits

Author SHA1 Message Date
mrSkortch 240b8a3abb Merge pull request #26 from mrSkortch/development
4.2 Release
2016-04-19 03:27:54 -06:00
mrSkortch 34c4082938 4.2 Release Files 2016-04-19 03:25:09 -06:00
mrSkortch ff506e0ec2 Changed build number
Changed the build number
2016-03-11 02:29:23 -07:00
mrSkortch d333ea3d64 Merge pull request #25 from lukrop/alive-units-hotfix
Fix updating of alive units.
2016-03-11 02:24:58 -07:00
mrSkortch 73dd1bdb77 Merge pull request #24 from lukrop/development
Fix logger if debug module is sanitized
2016-03-11 02:24:43 -07:00
Lukas Kropatschek fc0467f372 Fix updating of alive units. 2016-03-10 15:52:59 +01:00
Lukas Kropatschek c2fddb436a vim modeline, fixed indention
See https://www.cs.swarthmore.edu/help/vim/modelines.html
2016-03-09 18:55:06 +01:00
Lukas Kropatschek 6761878ce3 fix missing line number and func name 2016-03-09 18:46:37 +01:00
Lukas Kropatschek 3c9da5754b Replaced spaces with tabs. Removed trailing spaces. 2016-03-05 17:04:27 +01:00
Lukas Kropatschek 5fdaa269fd Fix logger if debug module is sanitized. 2016-03-05 13:24:48 +01:00
mrSkortch f74c5b488a Whoops
Derp. That was silly of me.
2016-01-18 05:00:53 -07:00
mrSkortch b8da182cb8 FlagFuncs changes
The old flagFuncs required 'stopflag' to be all lower case. I've changed
it so that the camel case spelling is also accepted. stopFlag

added camelCase named versions of flagFuncs. These are functions that
simply call the default functions that use '_' between words.
2016-01-18 04:48:07 -07:00
mrSkortch b40a919bb0 Fixed the botched merge
There was a conflict on merging lukrop's commit. I've fixed it and made
some other changes.

-Retabulated entire file. Fans of terrible drink from the 90s rejoice.
-Moved the mist init message back to the end of file and into the old
format.
-Commented out several of the new log:info statements that replaced old
commented out print statements.
2016-01-18 04:33:36 -07:00
mrSkortch e312ec70c3 Merge remote-tracking branch 'origin/development' into development
# Conflicts:
#	mist.lua
2016-01-18 03:38:47 -07:00
mrSkortch 0db00f99e4 Merge pull request #23 from lukrop/master
Style guidelines, scopes, Logger and more
2016-01-18 03:34:44 -07:00
mrSkortch 2a0ab57480 commited apparent local change so I can compare stuff 2016-01-14 03:31:38 -07:00
mrSkortch 38c256e67d Merge remote-tracking branch 'refs/remotes/origin/master' into development 2016-01-14 03:21:43 -07:00
Lukas Kropatschek 9dd046dbce added msg log function 2016-01-13 14:10:28 +01:00
Lukas Kropatschek a11b254bbd consistent variable naming 2016-01-13 13:44:43 +01:00
Lukas Kropatschek 57613f0aab save some more brackets and quotes 2016-01-13 12:06:39 +01:00
Lukas Kropatschek 74b1e9fcc0 Some more ldoc 2016-01-13 11:28:08 +01:00
Lukas Kropatschek 12f2a39465 actually fix groupTableCheck 2016-01-13 00:36:04 +01:00
Lukas Kropatschek 864e89d43b fixed groupTableCheck and added some ldoc 2016-01-12 20:23:36 +01:00
Lukas Kropatschek 42e67cf481 logger now allows log messages >= 4096 chars
when displaying big tables they often got cut off before
their end. This is avoided by splitting log messages at the
4000th char.
2016-01-12 14:59:33 +01:00
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
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
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
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
6 changed files with 12101 additions and 10608 deletions
BIN
View File
Binary file not shown.
+5414 -4701
View File
File diff suppressed because it is too large Load Diff
+6620
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-5907
View File
File diff suppressed because it is too large Load Diff
+67
View File
@@ -1,3 +1,70 @@
v66
-Added default setting for logger if no value present
-Added documentation for logger
v65
-Fixed update db tables not updating
v64
-Fixes to debug code
v62 and v63
-Donno
v61 - 4.1 release
-Fixed locality issue with unitToWP
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
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.
v58
-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
v57
-fixed bug with groupRandomDistSelf improperly declaring the y variable
-fixed flagFunc.units_in_moving_zones not checking for a unitNameTable for the zone_units
-fixed bug in flagFunc.units_LOS when given a unitNameTable for both entries.
v56
-fixed bug with dynAdd and dynAddStatic not recognizing new countries in dcs 1.5
v55
- Release v4
v54
-added a check when adding unitTypes for messages to figure out the correct in-game unit name for a given unit. For example the Mi-8 helicopter is always displayed as 'Mi-8MTV2', however its actual in game name is 'Mi-8MT', this feature allows for you to list 'Mi-8MTV2', 'Mi-8MTV', or 'Mi-8' to get messages sent to the Mi-8. Shortcut also works for the relevant aircraft 'Mig-21', 'Mig-15', 'FW-190', and 'Bf-109'.
v53
-added mist.getAvgPos now accepts static objects in addition to units.
-made DB creation check the mission editor version for no paticular reason
-added mist.getLastDBUpdateTime which returns the most recent time the DB update function has run.
-changed mist.makeUnitTable processed entry to return the time it was processed instead of a boolean value.
-Changed teleport/respawn/clone functions to spawn aircraft at random altitudes instead of constants if the point given is vec2/not specified.
-Fixed FlagFuncs will now recognize units added in dynamically. Note this only applies if you send it unitTableNames identifier and not the table that the function creates.
-Added variable to all flagfuncs. unitTableDef is the original definition used for units.
-Fixed all getUserFlag checks to compare with numerical value instead of boolean
v52
-Fixed check in mist.getUnitsLOS to verify units are active in a mission
-Fixed check in mist.goRoute to verify both the group and controller are valid before assigning the route
v51
-Fixed bug with message system
-Added a check to the message system so combined arms messages wont be sent if CA slots are not in a mission.