Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
c7c2c7a
Code cleaning
flo-ric Jan 10, 2025
d240c57
Add some comments
flo-ric Jan 10, 2025
decd96e
First import RealisticWater from elvman
flo-ric Dec 13, 2024
8891388
Add RealisticWater from elvan
flo-ric Dec 16, 2024
2962c09
Close secondaries devices when the main is shutdown
flo-ric Dec 9, 2024
5b6f01a
Remove some debug messages
flo-ric Dec 9, 2024
e7558e2
Test some detail texture
flo-ric Dec 12, 2024
20c3045
Add detail texture to terrain
flo-ric Dec 13, 2024
18dad1b
Merge Water and terrain texture improvment
flo-ric Dec 16, 2024
c4f2747
Add glsl files
flo-ric Dec 16, 2024
7b84452
Add some texture
flo-ric Dec 16, 2024
2fa5b3d
Update rain with ParticleSystemSceneNode from Irr Engine
flo-ric Jan 8, 2025
11e2a1c
Commit to test on rpi5
flo-ric Jan 9, 2025
ec37570
Update Rain model
flo-ric Jan 10, 2025
ff9ea92
Remove RealisticWater from CMakeLists
flo-ric Jan 9, 2025
d17737d
Remove shaders2 folder, used with RealisticWater
flo-ric Jan 10, 2025
3113b4e
Readd executables
flo-ric Jan 10, 2025
f8a6ea1
Merge branch 'feature-ImproveTexture' of https://github.com/flo-ric/b…
flo-ric Jan 10, 2025
f22f9b2
Add BC exe
flo-ric Jan 10, 2025
61a6a36
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Feb 3, 2025
4da8ddf
Add Scripts menu
flo-ric Feb 5, 2025
dbe3457
Merge branch 'feature-ScriptsMenu' of https://github.com/flo-ric/bc i…
flo-ric Feb 5, 2025
2b67b3a
Fix scripts access path
flo-ric Feb 5, 2025
a543039
Lauch scripts before scenario
flo-ric Feb 5, 2025
184d6d0
Swicth to "system" call on linux
flo-ric Feb 5, 2025
b3780db
Add stop script execution
flo-ric Feb 5, 2025
a0fdfb1
Last on commit on this branch
flo-ric Feb 10, 2025
b1facf4
Merge branch 'release-EnetServer' into feature-NetworkRework
flo-ric Feb 10, 2025
28860d7
Start network reworking
flo-ric Feb 13, 2025
76b0587
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Feb 13, 2025
439a8e7
Fix MC crash
flo-ric Feb 14, 2025
e9f7691
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Feb 14, 2025
5a5b181
Update VS conf to build on Windows
flo-ric Feb 14, 2025
ad9b929
network rework in progress
flo-ric Feb 18, 2025
430027a
network rework in progress...
flo-ric Feb 19, 2025
28da07b
Fix build crash on VS
flo-ric Feb 19, 2025
e494099
Fix font issue
flo-ric Feb 19, 2025
cecae3b
Fix a bug during legs setup
flo-ric Feb 19, 2025
9587ac7
fix BC parsing message
flo-ric Feb 20, 2025
e5ecbd8
Remove broadcast into EnetServer
flo-ric Feb 20, 2025
0a4e2f8
Network rework in progress...
flo-ric Feb 20, 2025
2927138
Fix last bugs to send to secondaries
flo-ric Feb 20, 2025
9dd964e
Fix packet size to broadcast
flo-ric Feb 24, 2025
782befa
Revert wrong force commit
flo-ric Feb 24, 2025
19bfa08
Forgot header com
flo-ric Feb 24, 2025
6af404f
Fix wrong init of mClient
flo-ric Feb 24, 2025
41e166b
Test with 4 rpis
flo-ric Feb 24, 2025
076dc59
Add shutdown secondaries
flo-ric Feb 25, 2025
a3bcd21
Don't get the size for shutdown
flo-ric Feb 25, 2025
d4424dc
Fix shutdown message parsing
flo-ric Feb 25, 2025
f8efb07
Add CmakeList for EnetServer
flo-ric Feb 26, 2025
5469f1c
Fix some network issue
flo-ric Feb 26, 2025
486e8f9
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Feb 26, 2025
0b3abfd
Add CmakeList for EnetServer
flo-ric Feb 26, 2025
73f7c76
Add VStudio solution for EnetServer
flo-ric Feb 26, 2025
ab0d614
Fix makefile build for Linux
flo-ric Feb 26, 2025
54c74d0
Merge branch 'main' into feature-NetworkRework
flo-ric Feb 27, 2025
a967606
Merge branch 'main' of https://github.com/flo-ric/bc into feature-Net…
flo-ric Mar 4, 2025
0ccdf6b
Report update from branch PRpendingNetworkRework
flo-ric Mar 4, 2025
48f4baa
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Mar 4, 2025
c5f7637
Update MultiplayerHub for new network
flo-ric Mar 6, 2025
fbb92b5
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Mar 6, 2025
da001fd
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Mar 6, 2025
46a427f
Update MP mode
flo-ric Mar 6, 2025
20d115f
Merge branch 'feature-NetworkRework' of https://github.com/flo-ric/bc…
flo-ric Mar 6, 2025
126d914
Fix bug with make
flo-ric Mar 6, 2025
e7f4f81
Fix bug on scenario message
flo-ric Mar 6, 2025
2252649
fix some bug - MP rework
flo-ric Mar 6, 2025
fb9b743
fix sleep() on mh
flo-ric Mar 6, 2025
b079044
fix sleep on mh
flo-ric Mar 6, 2025
d0bc49f
fix sleep on mh
flo-ric Mar 6, 2025
7a64bfe
debug MP with enetServer
flo-ric Mar 6, 2025
e97f4d3
Merge branch 'main' of https://github.com/flo-ric/bc into feature-Net…
flo-ric Mar 7, 2025
4f6d3b9
Debug MP Hub
flo-ric Mar 10, 2025
49fce95
Debug MP Hub
flo-ric Mar 10, 2025
eb57bcc
fix feedback MPH message
flo-ric Mar 10, 2025
bf89087
Debug MP Hub
flo-ric Mar 10, 2025
324259a
Debug MP Hub
flo-ric Mar 10, 2025
f246884
Debug MP Hub
flo-ric Mar 11, 2025
65b2f71
remove windowsActive to run on rpi5
flo-ric Mar 11, 2025
bce6280
Merge branch 'feature-ScriptsMenu' into feature-NetworkRework
flo-ric Mar 12, 2025
bcc76a7
Add into script_start and script_stop the launch of EnetServer
flo-ric Mar 12, 2025
1a4a2b3
Merge branch 'feature-ScriptsMenu' into feature-NetworkRework
flo-ric Mar 12, 2025
fd3a165
Remove useless text box
flo-ric Mar 12, 2025
8fdb351
Update freq BC message
flo-ric Mar 12, 2025
4a80c14
Debug MapController with network rework
flo-ric Mar 12, 2025
6c332e0
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Mar 17, 2025
1b59469
Add ShipContainer with Flettner
flo-ric Mar 19, 2025
b704e46
Add Scenario Container Ship
flo-ric Mar 19, 2025
82f993d
Retest to thread Update::
flo-ric Mar 21, 2025
9cedc48
Add thread only during scenario waiting
flo-ric Mar 21, 2025
0b0c60f
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Mar 25, 2025
91cbb96
Merge branch 'main' into feature-NetworkRework
flo-ric Mar 25, 2025
4ce3f04
Merge branch 'main' of https://github.com/flo-ric/bc into feature-Net…
flo-ric Mar 31, 2025
d8f7640
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Mar 31, 2025
f0ae48d
getSpeed() has been removed from main branch
flo-ric Mar 31, 2025
e53baed
Merge branch 'feature-ImproveTexture' into feature-NetAndText
flo-ric Mar 31, 2025
1218140
Update weather message since alpha.7 release + Add WinInjection peer
flo-ric Apr 1, 2025
d5c77a0
OS message give long/lat now
flo-ric Apr 1, 2025
5c0be15
Update weather message + add Wind injection
flo-ric Apr 2, 2025
065c190
fix error setWindSpeed
flo-ric Apr 2, 2025
40763a4
Add NMEA MWV message
flo-ric Apr 2, 2025
06efe31
Send %engine revs to NMEA
flo-ric Apr 2, 2025
973143d
Fix wrong wind speed setting
flo-ric Apr 3, 2025
155cd04
Merge branch 'feature-NetworkRework' into feature-NetAndText
flo-ric Apr 3, 2025
637aa3c
Merge branch 'feature-AddShip' into feature-NetAndText
flo-ric Apr 3, 2025
dc43f67
fix parse mob data
flo-ric Apr 4, 2025
378cfad
Merge branch 'feature-NetworkRework' into feature-NetAndText
flo-ric Apr 4, 2025
e5abda0
Remove cursor on secondaries
flo-ric Apr 4, 2025
25e0fbc
Add option to hide all infos
flo-ric Apr 4, 2025
f047bbe
Merge branch 'feature-AddErgo' into feature-NetAndText
flo-ric Apr 4, 2025
218b770
fix wrong merge
flo-ric Apr 4, 2025
469843f
Add Nmea message of speed water
flo-ric Apr 8, 2025
e8a0c62
Merge branch 'feature-AddErgo' into feature-NetAndText
flo-ric Apr 8, 2025
138beee
fix nmea msg
flo-ric Apr 8, 2025
b4eb5d4
Merge branch 'feature-AddErgo' into feature-NetAndText
flo-ric Apr 8, 2025
686e688
Use VTG to transmit lateral speed
flo-ric Apr 8, 2025
e766dad
Update Flettner position and textures
flo-ric Apr 10, 2025
0e9c820
Fix minmax
flo-ric Apr 11, 2025
4698d0f
test irrMesh on rpi
flo-ric Apr 11, 2025
d89ad7b
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Apr 15, 2025
d9e97e4
Merge branch 'main' of https://github.com/flo-ric/bc into feature-Net…
flo-ric Apr 15, 2025
b5ea91a
Merge branch 'feature-NetAndText' of https://github.com/flo-ric/bc in…
flo-ric Apr 15, 2025
bd96fe6
Merge branch 'main' of https://github.com/flo-ric/bc
flo-ric Apr 15, 2025
d7099c5
Remove binaries + libIrrlicht + libEnet
flo-ric Apr 16, 2025
f54b5e3
Merge branch 'feature-cleanfiles' of https://github.com/flo-ric/bc in…
flo-ric Apr 16, 2025
8b0e3af
Remove libirrlicht + Enet on windows
flo-ric Apr 16, 2025
41fa9c7
remove "irrlicht/" sub folder include
flo-ric Apr 16, 2025
02e0496
Merge branch 'feature-cleanfiles' of https://github.com/flo-ric/bc in…
flo-ric Apr 16, 2025
7478ae0
Rebuild BC with Irrlicht from SVN + last lib Enet + move languages
flo-ric Apr 17, 2025
1f47ec5
Update readme with Irrlicht compilation intruction
flo-ric Apr 17, 2025
83e5a82
Update readme
flo-ric Apr 17, 2025
00c6283
Update Readme
flo-ric Apr 17, 2025
457d831
Update reamde
flo-ric Apr 17, 2025
e89e1bf
Update reamde
flo-ric Apr 17, 2025
a46eda5
Update readme
flo-ric Apr 17, 2025
d2ca380
Merge pull request #1 from flo-ric/main
flo-ric Apr 18, 2025
e6cca70
Update Irrlicht.dll
flo-ric Apr 18, 2025
d157b31
Merge pull request #2 from flo-ric/feature-cleanfiles
flo-ric Apr 18, 2025
5163740
Fix some bugs imported from flo-ric fork
flo-ric Apr 18, 2025
cbe1a9e
Reordering libs and sources
flo-ric Apr 18, 2025
1cbfd4b
Add OpenXR lib
flo-ric Apr 18, 2025
6f88b93
Update CmakeList.txt
flo-ric Apr 18, 2025
edfcd24
Update Irrlicht SVN repo
flo-ric Apr 18, 2025
8cc121c
Update readme²
flo-ric Apr 18, 2025
2f8a347
Remove useless folder to rebuild Irrlicht
flo-ric Apr 22, 2025
16c2b1a
Update to lower-case
flo-ric Apr 22, 2025
5f4a7c4
Update ship flettner textures
flo-ric Apr 22, 2025
d6a3ebe
Merge pull request #3 from ENSM-Nantes/feature-resources
flo-ric Apr 22, 2025
bf7e4f4
Merge branch 'bridgecommand:main' into main
flo-ric Apr 22, 2025
3fd81a0
Update flettner ship model + Add "SOMOS" into version label
flo-ric Apr 22, 2025
6238fef
Update readme.md
flo-ric Apr 22, 2025
48d47bc
Update ship flettner model
flo-ric Apr 22, 2025
f464cd6
Merge branch 'feature-somos'
flo-ric Apr 22, 2025
284fe82
Merge branch 'bridgecommand:main' into main
flo-ric Apr 23, 2025
2b747e2
Add apparent wind (first try)
flo-ric Apr 24, 2025
08e0888
Update bc5.ini access path
flo-ric Apr 24, 2025
8db5363
Update bc5.ini access path
flo-ric Apr 24, 2025
a626fbc
Readd fullscreen borderless
flo-ric Apr 24, 2025
b9654f7
Undo X11borderless true
flo-ric Apr 24, 2025
d9b2ca9
Try another fullscreen parameter
flo-ric Apr 24, 2025
21b6de2
Remove fake fullscreen
flo-ric Apr 25, 2025
307fea7
Merge branch 'feature-somos'
flo-ric Apr 25, 2025
997ad52
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Apr 25, 2025
6ff66db
Readd East/West wind direction
flo-ric Apr 28, 2025
e272170
Update wind calculation
flo-ric Apr 28, 2025
49a34b1
Update apparent wind calculation
flo-ric Apr 28, 2025
370020b
Merge branch 'main' into feature-somos
flo-ric May 19, 2025
98c259f
Add OpCpn NMEA address
flo-ric Jun 3, 2025
729ba6d
Fix wrong access to scripts
flo-ric Jun 5, 2025
27df215
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Jun 5, 2025
b0bf880
Merge branch 'bridgecommand-main'
flo-ric Jun 5, 2025
1781672
Read polar file from Shiplify
flo-ric Jun 18, 2025
b471e5e
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Jun 18, 2025
cb8ecdb
Merge branch 'bridgecommand-main'
flo-ric Jun 18, 2025
63db10d
Report update from NetworkSecondary.cpp
flo-ric Jun 18, 2025
0b16b6d
Merge branch 'main' into feature-somos
flo-ric Jun 18, 2025
972186d
Adding spanish translation in UTF-8
pedro-merino Jun 20, 2025
736feef
Adding new text lines in spanish
pedro-merino Jun 20, 2025
abb6dc1
install script updated
pedro-merino Jun 30, 2025
84b7cfa
first mesh animation test
flo-ric Jun 30, 2025
828c1b1
Add Sails folder to class them; Add rotor Flettner; Now animation on
flo-ric Jul 2, 2025
229bfed
Merge branch 'feature-somos' of https://github.com/ENSM-Nantes/bc int…
flo-ric Jul 3, 2025
377923d
Merge pull request #8 from ENSM-Nantes/feature-somos
flo-ric Jul 3, 2025
28235d1
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Jul 3, 2025
864caca
Merge branch 'bridgecommand-main'
flo-ric Jul 3, 2025
f51bd0d
Fix wrong mSails declaration into Ship attribute
flo-ric Jul 4, 2025
45bc5a1
Add some light to sails scene
flo-ric Jul 4, 2025
eac69e6
Fiw wrong mSails calls
flo-ric Jul 4, 2025
87aec16
remove debug print
flo-ric Jul 4, 2025
b3cb5b1
Open polar file only if sials on ship
flo-ric Jul 4, 2025
134c435
Use libnetcdf in C
flo-ric Jul 8, 2025
d9c583b
Update readme
flo-ric Jul 8, 2025
f23981e
Fix Windows install and remove alpha1 version
flo-ric Jul 9, 2025
42b247c
Update debian package creation for Somos project
flo-ric Jul 9, 2025
cf5e626
Update _chdir calls
flo-ric Jul 9, 2025
635a32f
Update Debian script generation
flo-ric Jul 10, 2025
d4389d1
Rename rotor ship
flo-ric Jul 10, 2025
dc5a9b4
Readd rotor flettner ship
flo-ric Jul 10, 2025
35c359a
ReAdd textures for rotor flett ship
flo-ric Jul 10, 2025
7dbc502
Add install details into nsi file
flo-ric Jul 11, 2025
ae8afc5
Merge branch 'main' of https://github.com/ENSM-Nantes/bc
flo-ric Jul 11, 2025
0cf45c9
Add Wind informations into WI message
flo-ric Jul 22, 2025
86309f9
remove polar.nc file
flo-ric Jul 22, 2025
4601df3
Undo uppercase filename access
flo-ric Jul 22, 2025
8bbf839
Merge branch 'main' of https://github.com/ENSM-Nantes/bc
flo-ric Jul 22, 2025
a2e4024
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Jul 23, 2025
6bd0ea5
remove networksencondary.cpp
flo-ric Jul 23, 2025
dd5dbdd
Merge branch 'bridgecommand-main'
flo-ric Jul 23, 2025
0e9f585
Fix wrong path mistake added in last commit
flo-ric Jul 24, 2025
40f54f7
Merge branch 'main' of https://github.com/ENSM-Nantes/bc
flo-ric Jul 24, 2025
12dcf49
Update Irrlicht engine
flo-ric Jul 28, 2025
c428068
Merge branch 'main' of https://github.com/ENSM-Nantes/bc
flo-ric Jul 28, 2025
d75fee5
Update launcher name
flo-ric Sep 1, 2025
6992908
Merge branch 'main' of https://github.com/bridgecommand/bc into bridg…
flo-ric Sep 1, 2025
517ac0a
Merge branch 'bridgecommand-main'
flo-ric Sep 1, 2025
cf17281
Remove useless free memory
flo-ric Sep 1, 2025
47acc2a
Update yaml cmake to build debian version
flo-ric Sep 3, 2025
b650f06
remove trigger for test
flo-ric Sep 3, 2025
dbaad16
update trigger
flo-ric Sep 3, 2025
f2fdf75
Rebuild Irrlicht into CI
flo-ric Sep 3, 2025
c233cbe
remove tab into yaml file
flo-ric Sep 3, 2025
a3a6d22
update binary file to generate artefact
flo-ric Sep 3, 2025
bdd697f
Update ARM yaml
flo-ric Sep 3, 2025
a224c97
Update yaml CI
flo-ric Sep 8, 2025
eb669be
Add netcdf to msbuild runner
flo-ric Sep 8, 2025
4602769
Add folders to env
flo-ric Sep 8, 2025
6f04f14
update netcdf install
flo-ric Sep 8, 2025
c3ea275
Update Rotor Scenario
flo-ric Sep 8, 2025
627326b
Update rotor ship scenario
flo-ric Sep 8, 2025
efe9be3
set packet reliable fot test
flo-ric Sep 8, 2025
98e6317
fake increase rotor force
flo-ric Sep 8, 2025
ca42c5a
debug msbuild
flo-ric Sep 9, 2025
a2832eb
debug msbuild
flo-ric Sep 9, 2025
92ee52b
debug msbuild
flo-ric Sep 9, 2025
280f379
Debug MsBuild
flo-ric Sep 9, 2025
26404de
wrong yaml indentation
flo-ric Sep 9, 2025
66f972b
fix yaml wrong indentation
flo-ric Sep 9, 2025
d6dd58b
fix wrong yaml format
flo-ric Sep 9, 2025
f7ec269
remove install d3dx sdk
flo-ric Sep 9, 2025
c09027f
remove d3d9 build directive
flo-ric Sep 9, 2025
c54dda9
Merge branch 'feature-scenarioRotor' into feature-cicd
flo-ric Sep 9, 2025
b80b560
trigger ci
flo-ric Sep 9, 2025
6d85a50
Update installer path
flo-ric Sep 9, 2025
e61e95f
Update nsi file
flo-ric Sep 9, 2025
201042f
clean up cicd files
flo-ric Sep 9, 2025
41a48d9
Add pipeline badges
flo-ric Sep 9, 2025
0c0f177
fix pipeline windows badge
flo-ric Sep 9, 2025
d4cab32
add markdown on badges
flo-ric Sep 9, 2025
8d462a8
Update CI trigger to PR
flo-ric Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: CMakeARM
name: Build_linux_arm64

on:
workflow_dispatch:
pull_request:
push:
paths:
- '**/Constants.hpp'


env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
Expand All @@ -26,24 +22,26 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
sudo apt-get update
sudo apt-get install cmake mesa-common-dev libxxf86vm-dev freeglut3-dev libxext-dev libxcursor-dev portaudio19-dev libsndfile1-dev libopenxr-dev
cd src
sed -i 's/#add_definitions(-DFOR_DEB)/add_definitions(-DFOR_DEB)/g' CMakeLists.txt
cat CMakeLists.txt
cd ../bin
cmake ../src
sudo apt-get install cmake mesa-common-dev libxxf86vm-dev freeglut3-dev libxext-dev libxcursor-dev portaudio19-dev libsndfile1-dev libopenxr-dev libenet-dev libnetcdf-dev
cd bin/linux
cmake ../../src
cd ../../lib/irrlicht/source/Irrlicht
sudo make sharedlib
sudo make install
sudo cp /usr/local/lib64/libIrrlicht.so* /usr/local/lib/
sudo cp /usr/local/lib64/libIrrlicht.so* /usr/lib/

- name: Build
# Build your program with the given configuration
run: |
cd bin
cd bin/linux
make
./bridgecommand --version
cd createDeb
./buildDeb
cd ../../install/bc_installer_linux
./buildDeb.sh

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: linux-arm64
path: bin/createDeb/bridgecommand.deb
path: install/bc_installer_linux/*.deb
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: CMake
name: Build_linux_x86-64

on:
workflow_dispatch:
pull_request:
push:
paths:
- '**/Constants.hpp'

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -26,24 +22,26 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
sudo apt-get update
sudo apt-get install cmake mesa-common-dev libxxf86vm-dev freeglut3-dev libxext-dev libxcursor-dev portaudio19-dev libsndfile1-dev libopenxr-dev
cd src
sed -i 's/#add_definitions(-DFOR_DEB)/add_definitions(-DFOR_DEB)/g' CMakeLists.txt
cat CMakeLists.txt
cd ../bin
cmake ../src
sudo apt-get install cmake mesa-common-dev libxxf86vm-dev freeglut3-dev libxext-dev libxcursor-dev portaudio19-dev libsndfile1-dev libopenxr-dev libenet-dev libnetcdf-dev
cd bin/linux
cmake ../../src
cd ../../lib/irrlicht/source/Irrlicht
sudo make sharedlib
sudo make install
sudo cp /usr/local/lib64/libIrrlicht.so* /usr/local/lib
sudo cp /usr/local/lib64/libIrrlicht.so* /usr/lib

- name: Build
# Build your program with the given configuration
run: |
cd bin
cd bin/linux
make
./bridgecommand --version
cd createDeb
./buildDeb
cd ../../install/bc_installer_linux
./buildDeb.sh

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: linux-amd64
path: bin/createDeb/bridgecommand.deb
name: linux-x86_64
path: install/bc_installer_linux/*.deb
26 changes: 16 additions & 10 deletions .github/workflows/msbuild.yml → .github/workflows/build_win64.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: MSBuild
name: Build_Win64

on:
pull_request:
push:
paths:
- '**/Constants.hpp'

env:
# Path to the solution file relative to the root of the project.
Expand All @@ -26,13 +23,22 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download netCDF
run: |
Invoke-WebRequest -Uri "https://downloads.unidata.ucar.edu/netcdf-c/4.9.3/netCDF4.9.3-NC4-64.exe" -OutFile netCDF4.9.3-NC4-64.exe

- name: Install netCDF
run: |
Start-Process -FilePath .\netCDF4.9.3-NC4-64.exe -ArgumentList "/S" -Wait

- name: Add netCDF to env
run: |
echo "INCLUDE=C:\Program Files\netCDF 4.9.3\include;%INCLUDE%" >> $GITHUB_ENV
echo "LIB=C:\Program Files\netCDF\lib;%LIB%" >> $GITHUB_ENV

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

#- name: Restore NuGet packages
# working-directory: ${{env.GITHUB_WORKSPACE}}
# run: nuget restore "${{env.SOLUTION_FILE_PATH}}"

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
Expand All @@ -41,10 +47,10 @@ jobs:

- name: Build Installer
working-directory: ${{env.GITHUB_WORKSPACE}}
run: "makensis.exe /DOUTPUTFILE=../installer_autoBuild.exe bin/installNoSource.nsi"
run: "makensis.exe install/bc_installer_win64.nsi"

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: BC_windows
path: installer_autoBuild.exe
path: install/*.exe
32 changes: 27 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,32 @@
*.pdb
*.iobj
*.ipdb
*.exe
Thumbs.db
build/
bin/
src/libs/Irrlicht/irrlicht-svn/lib/Linux/
src/libs/Irrlicht/irrlicht-svn/source/Irrlicht/src/
src/libs/Irrlicht/irrlicht-svn/source/Irrlicht/tmp/
*.kdev4
*.dll
*.exp
*.lib
*.ilk
*Visual*
lib/asio/CMakeFiles/
lib/asio/Makefile
lib/asio/cmake_install.cmake
lib/serial/CMakeFiles/
lib/serial/Makefile
lib/serial/cmake_install.cmake
bin/linux/CMakeCache.txt
bin/linux/CMakeFiles/
bin/linux/EnetServer/
bin/linux/Makefile
bin/linux/cmake_install.cmake
bin/linux/compile_commands.json
bin/linux/controller/
bin/linux/editor/
bin/linux/iniEditor/
bin/linux/launcher/
bin/linux/multiplayerHub/
bin/linux/repeater/
install/createDeb/bridgecommand-somos-5.10.3-SOMOS.deb
install/createDeb/bridgecommand-somos/
lib/irrlicht/source/Irrlicht/libIrrlicht.so.1.9.0
58 changes: 0 additions & 58 deletions README

This file was deleted.

106 changes: 106 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
[![Build Linux x86_64](https://github.com/ENSM-Nantes/bc/actions/workflows/build_linux_x86-64.yml/badge.svg)](https://github.com/ENSM-Nantes/bc/actions/workflows/build_linux_x86-64.yml)
[![Build Linux arm64](https://github.com/ENSM-Nantes/bc/actions/workflows/build_linux_arm64.yml/badge.svg)](https://github.com/ENSM-Nantes/bc/actions/workflows/build_linux_arm64.yml)
[![Build win64](https://github.com/ENSM-Nantes/bc/actions/workflows/build_win64.yml/badge.svg)](https://github.com/ENSM-Nantes/bc/actions/workflows/build_win64.yml)

# Bridge Command ⛵

This is the source code for Bridge Command, developed in C++ using the Irrlicht 3d library.
For more information, see https://www.bridgecommand.co.uk

Fork to SOMOS-Project (ENSM-Nantes), for more information see : https://somos-project.fr/

## To rebuild Irrlicht on Windows (optionnal to build BC)
1) (optionnal) Get Irrlicht from SVN repo here : svn://svn.code.sf.net/p/irrlicht/code/trunk
2) (optionnal) Replace in lib/irrlicht

## To rebuild Irrlicht on Linuxs (mandatory to build BC)
1) (optionnal) Get Irrlicht from SVN repo here : svn://svn.code.sf.net/p/irrlicht/code/trunk
2) (optionnal) Replace in lib/irrlicht
3) Go to lib/irrlicht/source/Irrlicht/
4) Run "make sharedlib; make install"
5) Duplicate generated so files : cp /usr/local/lib64/libIrrlicht.so* /usr/local/lib/; cp /usr/local/lib64/libIrrlicht.so* /usr/lib/

## Add last version of Enet library (not mandatory to run BC)
1) Download tarball here : http://enet.bespin.org/Downloads.html
2) Untar into : lib/enet

## To compile BC on Windows
1) Visual Studio 2022 (or greater) are used
2) Download NetCdf-4 library here : https://downloads.unidata.ucar.edu/netcdf/
3) Install by default
4) Add BC project -> Generate

## To compile BC on Linux
1) Run "sudo apt-get install cmake mesa-common-dev libxxf86vm-dev freeglut3-dev libxext-dev libxcursor-dev portaudio19-dev libsndfile1-dev libopenxr-dev libenet-dev libnetcdf-dev"
2) Go to bin/linux
3) Run "cmake ../../src; make"

## Libsndfile (not mandatory to run BC):
Download and uncompress libsndfile-1.0.28.tar.gz from http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz
Create a folder for the output, referred to as <Somewhere> (Absolute path)
Change directory to where you've uncompressed libsndfile, then run the following in the terminal window:

(If building to be compatible with older macOS versions, run export MACOSX_DEPLOYMENT_TARGET=10.7 before building libsndfile and portaudio, and then open a new terminal before running the main Bridge Command build)

./configure --disable-shared --prefix=<Somewhere>
make
make install
cd <Somewhere>
cp -a lib <BridgeCommandSourceLocation>/libs/libsndfile/

## Portaudio (not mandatory to run BC):
Download and uncompress pa_stable_v190600_20161030.tgz from http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz
(For macOS Big Sur (11.0) and onwards, a more recent version is needed.
I have successfully compiled with http://files.portaudio.com/archives/pa_snapshot.tgz created Sunday, 07-Mar-2021 01:23:04 UTC)
Change directory to where you've uncompressed Portaudio, then run the following in the terminal window:

./configure --disable-mac-universal --disable-shared --enable-static
make
cd lib/.libs/
cp * <BridgeCommandSourceLocation>/libs/portaudio/lib/

3) Download and install CMake using the OSX package from https://cmake.org/download/
4) Open a terminal, and change directory to the 'bc/bin' directory, and run './makeAndBuildApp'
If successful, this will build into the BridgeCommand.app, then run it
This assumes that the CMake binary exists at /Applications/CMake.app/Contents/bin/cmake


## Licence
Bridge Command is Copyright (C) 2025 by James Packer. The model files
distributed in this release are copyright by their authors. In this
release, models have been provided by Ragnar, Juergen Klemp, Simon D
Richardson, Jason Simpson, Thierry Videlaine, NETC (Naval Education
and Training Command) and James Packer.

Bridge Command is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License Version 2
as published by the Free Software Foundation.

The models provided by Ragnar, Jason Simpson and James Packer are
free software; you can redistribute them and/or modify them under the
terms of the GNU General Public License Version 2 as published by the
Free Software Foundation.

Other models distributed with Bridge Command may be used with Bridge
Command. For any other use, you must obtain permission from the
relevant author.

Each model is credited to its author in the documentation distributed
with Bridge Command.

Bridge Command uses the Irrlicht Engine
(http://irrlicht.sourceforge.net), the ENet networking library
(http://enet.bespin.org), ASIO, PortAudio, water based on Keith Lantz
FFT water implementation and the RealisticWaterSceneNode by elvman
(https://github.com/elvman/RealisticWaterSceneNode), AIS Parser by
Brian C. Lane, and the Serial library by William Woodall. Bridge
Command depends on libsndfile, which is released under the GNU Lesser
General Public License version 2.1 or 3.

The Irrlicht Engine is based in part on the work of the Independent
JPEG Group, the zlib, and libpng.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
32 changes: 0 additions & 32 deletions bin/BridgeCommand.app/Contents/Info.plist

This file was deleted.

Loading
Loading