Skip to content

Commit

Permalink
Migrate F/A-18C to new module type (#355)
Browse files Browse the repository at this point in the history
* Migrate F/A-18C to new module type

* Remove old duplicate comm select controls

* Move EjectionHandleSwitch control into Module.lua

* Update pad_left function name
  • Loading branch information
charliefoxtwo authored Oct 9, 2023
1 parent 72cbcc7 commit 6f9b7c2
Show file tree
Hide file tree
Showing 10 changed files with 2,655 additions and 1,463 deletions.
4 changes: 3 additions & 1 deletion Scripts/DCS-BIOS/BIOS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ BIOS.protocol.writeNewModule(F_5E_3)
-- dofile(lfs.writedir()..[[Scripts/DCS-BIOS/lib/archive/old_format_planes/F-86F Sabre.lua]]) -- ID = 19, ProperName = F-86F Sabre
local F_86F_Sabre = require "F-86F Sabre"
BIOS.protocol.writeNewModule(F_86F_Sabre)
dofile(lfs.writedir()..[[Scripts/DCS-BIOS/lib/FA-18C_hornet.lua]]) -- ID = 20, ProperName = F/A-18C Hornet
-- dofile(lfs.writedir()..[[Scripts/DCS-BIOS/lib/archive/old_format_planes/FA-18C_hornet.lua]]) -- ID = 20, ProperName = F/A-18C Hornet
local FA_18C_hornet = require "FA-18C_hornet"
BIOS.protocol.writeNewModule(FA_18C_hornet)
-- dofile(lfs.writedir()..[[Scripts/DCS-BIOS/lib/archive/old_format_planes/FC3.lua]]) -- ID = 4, ProperName = Flaming Cliffs 3
local FC3 = require "FC3"
BIOS.protocol.writeNewModule(FC3)
Expand Down
6 changes: 2 additions & 4 deletions Scripts/DCS-BIOS/doc/Addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -7128,12 +7128,10 @@
#define FA_18C_hornet_CMSD_JET_SEL_L_AM 0x74D4, 0x8000
#define FA_18C_hornet_COCKKPIT_LIGHT_MODE_SW 0x74C8, 0x0600, 9
#define FA_18C_hornet_COMM1_ANT_SELECT_SW 0x74C0, 0x3000, 12
#define FA_18C_hornet_COMM1_CHANNEL_NUMERIC 0x7404, 0xFFFF, 0
#define FA_18C_hornet_COMM1_CHANNEL_NUMERIC_A 0x7404
#define FA_18C_hornet_COMM1_CHANNEL_NUMERIC 0x7404, 0x001F, 0
#define FA_18C_hornet_COMM1_FREQ 0x7400, 0xFFFF, 0
#define FA_18C_hornet_COMM1_FREQ_A 0x7400
#define FA_18C_hornet_COMM2_CHANNEL_NUMERIC 0x7406, 0xFFFF, 0
#define FA_18C_hornet_COMM2_CHANNEL_NUMERIC_A 0x7406
#define FA_18C_hornet_COMM2_CHANNEL_NUMERIC 0x7406, 0x001F, 0
#define FA_18C_hornet_COMM2_FREQ 0x7402, 0xFFFF, 0
#define FA_18C_hornet_COMM2_FREQ_A 0x7402
#define FA_18C_hornet_COM_AUX 0x7538, 0xFFFF, 0
Expand Down
279 changes: 162 additions & 117 deletions Scripts/DCS-BIOS/doc/json/FA-18C_hornet.json

Large diffs are not rendered by default.

279 changes: 162 additions & 117 deletions Scripts/DCS-BIOS/doc/json/FA-18C_hornet.jsonp

Large diffs are not rendered by default.

Loading

0 comments on commit 6f9b7c2

Please sign in to comment.