Skip to content

Commit

Permalink
Add the parameter to the interface (used only internally, though, nee…
Browse files Browse the repository at this point in the history
…d to mark that)
  • Loading branch information
nabeelio committed Sep 19, 2024
1 parent fd6200b commit 65fb8fd
Show file tree
Hide file tree
Showing 6 changed files with 4,741 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ internal/
!tests/cases/projects/NodeModulesSearch/**/*
!tests/baselines/reference/project/nodeModules*/**/*
.idea
yarn.lock
yarn-error.log
.parallelperf.*
tests/baselines/reference/dt
.failed-tests
TEST-results.xml
package-lock.json
.eslintcache
*v8.log
/lib/
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,15 @@ The configuration is a class which has a few different components.
- MSFS - the lookups you enter are LVars
- X-Plane - the looks ups are via datarefs
- FSUIPC - the lookups are offsets
3. `match()`
3. `flapNames` - see below
4. `match()`
- This needs to return a boolean
- A method (`match()`) which passes some information about the starting aircraft
- For MSFS, it's the aircraft ICAO
- For FSX/P3d, the value looked at is the aircraft title field, offset `0x3D00`
- For X-Plane, the value looked at is `sim/aircraft/view/acf_descrip`
- This method can be used to determine if this rule should match
4. Methods for the different features (see below)
5. Methods for the different features (see below)
- The maps - a group of datarefs or offsets which constitute that feature being "on" or "enabled"

In the above example, for the Fenix A320, the landing lights are controlled by two datarefs, both of which the
Expand Down
6 changes: 2 additions & 4 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ export { watchFiles as watch }
*/
export async function clean() {
try {
if (await fs.promises.exists(paths.dist)) {
await deleteAsync([paths.dist])
await Promise.resolve()
}
await deleteAsync([paths.dist])
await Promise.resolve()
} catch (e) {
console.log(e)
}
Expand Down
Loading

0 comments on commit 65fb8fd

Please sign in to comment.