Releases: jtoppins/dct
Releases · jtoppins/dct
Release v0.11.2
Changelog: * dcs: fix broken dead events
Release v0.11.1
Changelog: * Merge branch 'pr/235' (Closes: #235) * template: fix location defaulting to an empty table * init: fix required module desanitizations * damagegoal: fix getStatus() return type * demo: fix invalid carrier waypoint route and set tacan to 71X
Release v0.11
Changelog: * build: fix suffix of demo mission file * docs: change theme to just-the-docs * docs: move documentation to ./docs directory * doc: setup github pages * IFF code generation overhaul * template: allow coalition to be a string (Closes: #135) * ui: remove map markers when mission is aborted/completed (Closes: #183,#223) * damagegoal: refine scenery object handling (Closes: #224) * mission: generate sequential mode 3 iff code to assignees * mission: assign secondary mode 1 iff digit * mission: swap m1 iff digits to make code valid * refactor: move mission type squawk codes to enum.lua * region: do not require location be set (Fixes: b5d9f539ada0 ("region: create a region manager")) * Merge branch 'saw-iads-updates' * Merge branch 'saw-updates' * iads: fix error when track radar is destroyed * iads: reduce SA-5 activation range * iads: keep SAM site active while engaged with an enemy * iads: slight optimization in EWR detection * iads: touch up log formatting * iads: add SA-5 radar * iads: split up track collection between site types * iads: improve logging, and cleanup more code * iads: ensure each instance only controls one coalition * iads: collect all tracks into single list * iads: rename magHide to magnumHide for clarity * iads: fix SAM hiding again * iads: fix onBirth handler always exiting early * iads: ignore friendly launches on radio * iads: ignore potentially deleted sites * iads: code cleanup, re-enable AWACS tracks * iads: fix sam hiding on HARM launch * iads: workaround hiding broken sites by skipping them * iads: disable AWACS track file building * lua-libs: update to v6 * ui: improve scratchpad hint message * player: fix loading of ATOs defined in ui.cfg * player: add log warning about missing squadron * hook: fix blocking of slots in non-DCT missions (Fixes: be8ec879eae2 ("hooks: stop checking enable flag each frame")) * hook: do not prevent other hooks from running * theater: restore traceback on errors * logging: create each classname as own logger * logging: limit number of message boxes for each logger * utils: remove 'isdst' parameter to avoid off-by-one error * tests: return group from coalition.addGroup * tests: delete state file before running * tests: remove destroyed objects from object list * tests: protect md5sum test from failing due to date saved in file * docs: more syntax highlighting * docs: syntax highlight code blocks * docs: add missing documentation for `emptyslottimeout` * Merge branch 'bug-213' * mission-init: extend environment check (Closes: #213) * Merge branch 'damage-update' * Merge branch 'coords-update' * Merge branch 'bug-169' * damagegoal: log and continue for nil health value * damagegoal: use normal life getters * goals: track group health by manually counting alive units * damagegoal: move scenery id getter to a named function * player: multicrew support (Closes: #169) * timer: add ability to start/stop a timer * utils: reduce complexity of utils.LLtostring() * utils: use same coordinate degradation method for marker position * utils: reduce display accuracy of DMS coordinates * utils: coordinate formatter rewrite to fix excess 0s and rounding errors * utils: adjust coordinate degradation to truncate instead of rounding * utils: extend coordinate formatting test suite * utils: separate MGRS fields with spaces * Merge branch 'logging-update' * theater: log command delays * airbase: reduce log level to debug * weaponstracking: set update log level to debug * logging: log when a player enters or leaves a mission * logging: log asset codenames on mission requests * logging: log added and removed assets * tests: dump logger output into a file * logger: don't log command times unless profiling is enabled * logger: allow logger methods to use format strings * logger: add option to show modal message boxes on errors * ui: show breakdown of loaded weapons in payload check (Closes: #173) * region: detect the radius of the region * squadron: set any player slots airbase value if not set * subordinates: set all subordinates to dead * observable: map event id to event name * component system * region: create a region manager * asset manager: notify when new asset is added * systems: fix calling of postinit method (Fixes: adcbe02a61b3 ("systems: while restoring state ignore scenery events")) * systems: loop through systems in order * tests: remove some extraneous comments from runtests * tests: call test scripts through lua executable * theater: use standard Timer class in exec * theater: remove unneeded class attributes * theater: move pcall so commands cannot kill the command queue (Closes: #204) * stm: fix string format error * region: refuse to add templates meant for other theaters (Closes: #202) * initial commit of demo theater (Closes: #130) * settings: provide useful constants (Closes: #171) * settings: change default theater path (Closes: #38) * weaponstracking: reduce log level of some messages * tests: suppress some needless warning messages * assets: allow dct file to define the location of an asset (Closes: #158) * template: change airspace definition * utils: change centroid to be 2D only * vector: change vector initialization * asset manager: add getAssetByDCSObject method
Release v0.11-rc4
Changelog: * build: fix suffix of demo mission file * docs: automatic publication of DCT documentation to https://jtoppins.github.io/dct/
Release v0.11-rc3
Changelog: * IFF code generation overhaul * template: allow coalition to be a string (Closes: #135) * ui: remove map markers when mission is aborted/completed (Closes: #183,#223) * damagegoal: refine scenery object handling (Closes: #224) * mission: generate sequential mode 3 iff code to assignees * mission: assign secondary mode 1 iff digit * mission: swap m1 iff digits to make code valid * refactor: move mission type squawk codes to enum.lua
Release v0.11-rc2
Changelog: * region: do not require location be set (Fixes: b5d9f539ada0 ("region: create a region manager")) * iads: fix error when track radar is destroyed * iads: reduce SA-5 activation range * iads: keep SAM site active while engaged with an enemy * iads: slight optimization in EWR detection * iads: touch up log formatting * iads: add SA-5 radar * iads: split up track collection between site types * iads: improve logging, and cleanup more code * iads: ensure each instance only controls one coalition * iads: collect all tracks into single list * iads: rename magHide to magnumHide for clarity * iads: fix SAM hiding again * iads: fix onBirth handler always exiting early * iads: ignore friendly launches on radio * iads: ignore potentially deleted sites * iads: code cleanup, re-enable AWACS tracks * iads: fix sam hiding on HARM launch * iads: workaround hiding broken sites by skipping them * iads: disable AWACS track file building * lua-libs: update to v6 * ui: improve scratchpad hint message * player: fix loading of ATOs defined in ui.cfg * player: add log warning about missing squadron * hook: fix blocking of slots in non-DCT missions (Fixes: be8ec879eae2 ("hooks: stop checking enable flag each frame")) * hook: do not prevent other hooks from running * theater: restore traceback on errors * logging: create each classname as own logger * logging: limit number of message boxes for each logger * utils: remove 'isdst' parameter to avoid off-by-one error * tests: return group from coalition.addGroup * tests: delete state file before running * tests: remove destroyed objects from object list * tests: protect md5sum test from failing due to date saved in file * docs: more syntax highlighting * docs: syntax highlight code blocks * docs: add missing documentation for `emptyslottimeout`
Release v0.11-rc1
Changelog: * general fixes and improvements from Syria-at-War * mission-init: extend environment check (Closes: #213) * player: multicrew support (Closes: #169) * timer: add ability to start/stop a timer * ui: show breakdown of loaded weapons in payload check (Closes: #173) * region: detect the radius of the region * squadron: set any player slots airbase value if not set * subordinates: set all subordinates to dead * observable: map event id to event name * component system * region: create a region manager * asset manager: notify when new asset is added * systems: fix calling of postinit method (Fixes: adcbe02a61b3 ("systems: while restoring state ignore scenery events")) * systems: loop through systems in order * tests: remove some extraneous comments from runtests * tests: call test scripts through lua executable * theater: use standard Timer class in exec * theater: remove unneeded class attributes * theater: move pcall so commands cannot kill the command queue (Closes: #204) * stm: fix string format error * region: refuse to add templates meant for other theaters (Closes: #202) * initial commit of demo theater (Closes: #130) * settings: provide useful constants (Closes: #171) * settings: change default theater path (Closes: #38) * weaponstracking: reduce log level of some messages * tests: suppress some needless warning messages * assets: allow dct file to define the location of an asset (Closes: #158) * template: change airspace definition * utils: change centroid to be 2D only * vector: change vector initialization * asset manager: add getAssetByDCSObject method
Release v0.10.1
Changelog: * systems: fix calling of postinit method
Release v0.10
Changelog: * AssetManager: prevent removal of Player assets * systems: fix error in weaponstracking * groupmenu: fix crash caused under specific circumstances * scratchpad: fix latent bug after system rework * tests: add test for building-only template with no tpldata * template: adjust validation order for tpldata (Closes: #136) * systems: fix a colon vs. dot usage in weapons tracking * loadouts: use substring after last period of weapon typeName (Closes: #193) * theater: fix detection of farp objects * template: fix setting of mission description in .dct file * airbase: allow designer to list slots for an airbase (Closes: #148) * enum: add logistics type to initialize list * stub: add missing Group.Category table * AssetManager: fix traceback on doOneObject * theater: fixup land/takeoff events * hooks: fix require of enum (Closes: #189) * theater: ignore irrelevant events from DCS * systems: blast effects (Closes: #122) * systems: add weapons tracking (Closes: #121) * dct events: add impact event * dcsstubs: fix spelling error * template: route names do not always exist * loadouts: reference weapon type name * theater: version state files * player: refactor handleLand function * readme: add discord link * luacheck: enforce 80 character line limit * Fix timeout display and other time-related issues (Closes: #165,#180) * tests: test timeout affected by rolex and delayed check * tests: adjust expected results for new timer stubs * tests: implement timer.scheduleFunction stub * mission: ensure TOT is between mission creation and minimum timeout * utils: add Syria map timezone (EEST/GMT+3) * tests: adjust timer stubs for consistency with scripting API * assets: remove need to pass region object * assets: asset class declare asset types handled (Closes: #162) * goals: fix scenery in damage goal * ui: remove os.date timezone conversions for mission time * ui: fix mission timeout display using model time * ui: remove check-in/out enteries * actions: move action definition to ai directory * ai: implement mission FSM (Closes: #27) * action: add a KillTarget action * tests: remove test entry ids * assets: StaticAsset update periodically (Closes: #163) * template: support custom codenames (Closes: #146) * timer: change to greater than or equal to * player: add timeout for empty slots (Closes: #152) * template: set .dct as priority over .stm (Closes: #166) * Fix spelling of Caucasus in timezone table * iads: remove unneeded log messages * iads: fix unbounded command queue additions * hooks: add kick reason codes (Closes: #153) * systems: while restoring state ignore scenery events (Closes: #149) * theater: ignore base_capture events (Closes: #128) * libs: implement a generic timer class * github: create dev builds foreach pull-request * scratchpad: make it easier to edit * theater: change error message so it understandable * tickets: determine winner when tickets less than or equal zero * systems: rework how systems register with theater * cmds: add map marker for player when joining a mission * goals: fix scenery * template: fix spawned statics colliding w/ other unit ids * enum: create initialize asset list * Fix harrier coord type * template: get scenery object positions (Closes: #134) * utils: add clamp function * hooks: kick all slots associated with a group * hooks: stop checking enable flag each frame * hooks: move local functions to top of file * hooks: remove old comments * iads: run as part of the commander * player: change how enabled flag is set * vector: fix distance calculation * vector: dot product * tests: add another centroid test to verify operation * assets: move when slots associated with airbase * asset manager: check if assets are dead * asset manager: do not add/marshal dead assets * region: allow templates to be at the same level as the definition * asset: don't assert when static asset has no death goal (Closes: #133) * assets: fix location for a few asset types (Closes: #131)
Release v0.10-rc4
Changelog: * AssetManager: prevent removal of Player assets