847 Commits (main)

Author SHA1 Message Date
Connor Taylor-Brown 0c9e55093c Set lobby anchor pane to invisible to allow races to start
8 years ago
Jessica Syder a5d3434a70 Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into controllerSplit
8 years ago
hba56 4780354452 Errors in this commit: mock threads get interrupted
8 years ago
Connor Taylor-Brown b034a452b6 Fixed problem with race pane registering non-control keys
8 years ago
Joseph Gardner 2868f921e2 Only one angular command can be active at a time. Only one velocity command can be active at a time. #story[1196]
8 years ago
Connor Taylor-Brown 68f434b6b6 Bound zooming action to zoom keys
8 years ago
Joseph Gardner df624a8437 Angular movement when auto vmg is pressed is smoothed. #story[1196]
8 years ago
Connor Taylor-Brown 1efec06bdc View3D can untrack objects and zoom in different modes
8 years ago
Joseph Gardner d2c8ccd98e Course image for a type M2 course has been made. #story[1193]
8 years ago
fjc40 ec82e65ae7 Fixed javadocs in xml creation classes.
8 years ago
hba56 63e2cc1fd0 Merge remote-tracking branch 'remotes/origin/story77_lobby' into story77
8 years ago
Joseph Gardner 3157ac88b5 Course layout for a type M2 course has been made. #story[1193]
8 years ago
Connor Taylor-Brown 23eabed3ff View3D tracks selected boat at fixed distance, pitch, and relative yaw
8 years ago
Connor Taylor-Brown b59eca1a8b Added Subject3D selection to View3D
8 years ago
hba56 a494eb4a6d games are now added on the correct port
8 years ago
hba56 d3ddff8bf1 host game start button added margins
8 years ago
zwu18 64ed1f9aa6 Improved map layout image. #story[1193]
8 years ago
Connor Taylor-Brown 54baf4f884 Added scroll-wheel zooming
8 years ago
Jessica Syder a2b3ba44c0 RaceController scene separating
8 years ago
Fan-Wu Yang 7bad0e53ff The boat is now viewable in top down view (60 degrees for isometric) and the race is playable #story[1261]
8 years ago
Jessica Syder 9f3cc53a63 Finished Arrow, Title and StartController scene splitting
8 years ago
David Wu 55cfda33d0 Merge branch 'Story_76' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into Story_76
8 years ago
David Wu 002cccd5a0 Reworked iMapLayout as race would either take too long or too short. Added temporary image for iMapLayout. Will be reworked when I have time. #story[1193]
8 years ago
Fan-Wu Yang 18a689b110 Changed a constant to be using the one in the constants file (prepartory start time) and temporarily made it so that the race can start in 3 seconds. #story[1261]
8 years ago
hba56 e82c59a8a4 New css for the host game window
8 years ago
hba56 cbfcd3aa0d Images
8 years ago
cbt24 8c7345a30d Documented command classes
8 years ago
cbt24 a6db06a82c Boats now reverse smoothly when colliding
8 years ago
cbt24 9cba3934ea Sails command now applies acceleration to boat
8 years ago
cbt24 eba70ab2d4 Sails command now listens to race to check if goal velocity is met
8 years ago
cbt24 b62344261a Merge remote-tracking branch 'remotes/origin/master' into storyB-)
8 years ago
cbt24 844b48a81a Resolved issue #42 - "putting sails out changes boat bearing to face target gate"
8 years ago
Connor Taylor-Brown e3e61e5b28 Merge remote-tracking branch 'remotes/origin/master' into storyD-3D
8 years ago
hba56 dfd3cb96f3 removed System.out.println
8 years ago
Fan-Wu Yang ae1526c457 Merge branch 'master' into vmg_fix
8 years ago
Fan-Wu Yang 7024cac426 Rotated image of arrow direction #story[1187]
8 years ago
Fan-Wu Yang 8eee282977 Merge branch 'wind_(story53)' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into wind_(story53)
8 years ago
hba56 0886a60911 arrow Flip
8 years ago
hba56 86f495a551 javaDoc
8 years ago
Fan-Wu Yang 5bb8ba44b8 Fixed Javadoc and also made some variables private #story[1187]
8 years ago
Fan-Wu Yang 2382585c15 Fixed Javadoc and also made some variables private #story[1187]
8 years ago
Joseph Gardner 00cedf4d4d TackGybeCommand now smooths the rotation of the boat. #story[1196]
8 years ago
hba56 4ec2a50d20 Image Scales
8 years ago
Connor Taylor-Brown d89186d8bf Finished playable 3D race with first person camera
8 years ago
hba56 4eac3ea8b5 Updated the HostGame now has images for the maps and the map can be picked
8 years ago
hba56 9560486248 Merge branch 'Story_76' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into Story_76
8 years ago
hba56 6b9c041c6b Merge remote-tracking branch 'remotes/origin/master' into wind_(story53)
8 years ago
hba56 dbd4703e74 javadoc fix
8 years ago
Fan-Wu Yang 06517b7b47 Tidied up code
8 years ago
Fan-Wu Yang d602c1ec6f VMG is now working and fixed, however, it feels a bit odd #story[1182]
8 years ago
David Wu b22c5c5cd6 Created xml for new course layout. Marks and such are all added. Need to set up boundary when I have time. #story[1193]
8 years ago
Fan-Wu Yang 7331ad1a20 VMG now works however some little bug in the interpolation in some quadrant that is making the speed all the same in the quadrant #story[1182]
8 years ago
cbt24 19f4d0fc06 Added marks back to the race view
8 years ago
cbt24 05a0614246 Boats now rotate correctly in position rather than about the origin
8 years ago
cbt24 3ecf203cba Recovered stable rotation of the player's boat
8 years ago
David Wu 8b5a5506e7 Boat collisions now play a sound when user collides and a quieter sound when others collide. #story[1195]
8 years ago
Fan-Wu Yang 7aaa880f40 VMG now works with some edge cases issues #story[1182]
8 years ago
Joseph f4cb1a3ac4 Made ObserverCommands and made racestate an observable. ObserverCommands observes the race passes in the params. #story[1196]
8 years ago
Connor Taylor-Brown c74cc26bf1 Merged with master and changed View3D default background
8 years ago
Connor Taylor-Brown b8c99be201 Merge branch 'master' into storyD-3D
8 years ago
Jessica Syder 4a0d04d7ab Created new abstract Controller class with load methods.
8 years ago
cbt24 971a061499 View3D within RaceController now tracks boat heading
8 years ago
Jessica Syder 1073113589 Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into controllerSplit
8 years ago
hba56 8287fbf6ba Updated the HostGame window to support maps
8 years ago
Fan-Wu Yang 71dcc8ee6c Added POlar Linear Interpolation #story[1186]
8 years ago
David Wu 8c1eded926 Boat collision packets are now sent. Command class created for boat collision. Currently prints out message depending on if user crashed or someone else crashed. #story[1195]
8 years ago
Jessica Syder 35c595adf8 Merge branches 'master' and 'storyD-3D' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into storyD-3D
8 years ago
Jessica Syder addaaf0de3 Merge remote-tracking branch 'remotes/origin/master' into C_keybindings
8 years ago
Jessica Syder 85eb66d508 Keybindings can be saved and loaded, and work when Jar'd!
8 years ago
fjc40 361856ea1d Updated timescale.
8 years ago
fjc40 dd1cb89b66 Merge remote-tracking branch 'origin/master' into 77_racexml_updates
8 years ago
Joseph f1c07bca46 Linked table to show games from received packets. #story[1188]
8 years ago
Joseph f8e1a539c2 Linked table to show games from received packets. #story[1188]
8 years ago
Connor Taylor-Brown 0ee448e17d Created wrapper for controlling the position and heading of rendered 3D models.
8 years ago
Connor Taylor-Brown 368bb8ddb3 Changed reporting plugin settings and specified central repository
8 years ago
zwu18 cd685ae467 Added sound effect files for button clicks and mark rounding and linked them up to application. Collision audio is added too but not linked up. #story[1195]
8 years ago
Jessica Syder cfa6fc37e0 User modified keybindings are persistently saved
8 years ago
fjc40 e3cbb6d482 Start game button actually starts the game.
8 years ago
fjc40 ac891fa91c Fixed tests.
8 years ago
fjc40 16bf57e333 javadoc fixes.
8 years ago
fjc40 8c76d6c26e Added boats.xml schema.
8 years ago
fjc40 298fcd03dc Added regatta schema.
8 years ago
fjc40 ec58f0c847 Participants can now join during the warning period as well.
8 years ago
Fan-Wu Yang 34cfe48df0 Got VMG quad detection working, however, the speeds are completley wrong. #story[1186]
8 years ago
David Wu abf325e5ea Passing a mark will now play a sound. Currently using placeholder sound so will ned to change. #story[1195]
8 years ago
hba56 66699a4660 Added a draft for a new Course layout
8 years ago
Jessica Syder 3fdfbd83e0 User can save, reset or cancel.
8 years ago
David Wu c3be9665ac Added button press sounds for hosting a game, entering lobby list and entering host menu. #story[1195]
8 years ago
David Wu 086206a623 Controls button in title screen now opens the key mapping menu. #story[1197]
8 years ago
David Wu 65b960f725 Background of title now changes colour depending on day mode and night mode. Sun image also changes. This is so that the tutorial label is more visible during night mode. #story[1189]
8 years ago
hba56 ec5bc9c6aa Wind now will occasionally back and veer (in some games, takes ~20min for full 180 degree rotation)
8 years ago
David Wu ea029baf22 Tutorial option in title screen will now created a game with tutorial xmls. Host game will now created a game with the race xml instead of tutorial xml as well. Made changes to tutorial label in title. #story[1189]
8 years ago
hba56 5676d435b0 hosts now send info then wait rather than wait then send
8 years ago
fjc40 9156bde8af Moved XML message creation to RaceServer instead of ConnectionAcceptor.
8 years ago
fjc40 d0eebcdb2f SourceIdAllocator now allocates from the BoatDataSource and RaceDataSource exposed by MockRace, instead of having its own source IDs. Can only allocate ids during PRESTART period.
8 years ago
Jessica Syder 716a99aac7 Reset to default button is now functional.
8 years ago
Jessica Syder 3e720a9e16 Modified key bindings can be saved to use in a race.
8 years ago
Jessica Syder 278fb65852 Pressing ESC cancels the selected command's key from being replaced
8 years ago
Jessica Syder ce47b0d813 When a new key is bound other commands bound to this key are removed
8 years ago
Jessica Syder 2188ddc3a3 Fixed errors in making the keybinding replaceable.
8 years ago
fjc40 3176e76c8c MockRace:
8 years ago
zwu18 c7af4f2eb7 Made changes to tutorial xmls. Linked button in title menu to start up a race on mouse click. Will need to make it so it starts the tutorial on click. #story[1189]
8 years ago
Fan-Wu Yang 9a5d20bdf2 Added new polar function, currently it does not distinguish between up wind and downwind and doesn't find it in the correct quadrant #story[1186]
8 years ago
hba56 d1c0797db7 hosting a game now continues to send out the info of the race
8 years ago
Jessica Syder 8250226bde Key bindings can be updated with any key.
8 years ago
hba56 9161f69547 updating match table to store ip and port of clients and hosts
8 years ago
Joseph 0de7780020 Changed wind speed to be non-linear. #story[1187]
8 years ago
Connor Taylor-Brown 3cc806dc45 Returned rotation to boat in lobby
8 years ago
Connor Taylor-Brown fb7bf572d8 Changed View3D add-remove interface to an ObservableList
8 years ago
Connor Taylor-Brown b6e56d815c ResizableRaceCanvas no longer depends on VisualiserRaceEvent
8 years ago
Jessica Syder ad0e26e882 Created scene to view/update current key bindings.
8 years ago
Connor Taylor-Brown c2fd5c9bae Changed box to boat mesh
8 years ago
hba56 960b1213fb fix so that test pass
8 years ago
hba56 83f756d7d8 packets can now be sent from client to match server
8 years ago
Connor Taylor-Brown cc66d63096 Removed unused shapes list from View3D
8 years ago
Connor Taylor-Brown bb7eb7cb44 Added adapter interface for PerspectiveCamera frustum and transformations in View3D.
8 years ago
David Wu 86f1a608e4 Created xml for tutorial that contains start and finish line. TODO: Add gate/mark. #story[1189]
8 years ago
Connor Taylor-Brown e04f199fc7 Merge branch 'story86-3D' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story86-3D
8 years ago
Connor Taylor-Brown e7164d8a78 View3D perspective camera is now operational
8 years ago
Fan-Wu Yang 4910d2712c Changed STL Importers Version #story[1191]
8 years ago
David Wu 23d58dc809 Created UI option in the start menu to play a practice game. #story[1189]
8 years ago
Fan-Wu Yang 921e0999b8 Testing if dependency for stl works this time #story[1191]
8 years ago
Fan-Wu Yang 0927e62ea3 Changed dependency to see if it will pass the CI runner #story[1191]
8 years ago
hba56 b2bd4fdc1c network interface
8 years ago
David Wu 028428da2c Fixed fxml issues due to merge. Added pane centering for panes. #story[1188]
8 years ago
David Wu d2f0c1105a Merged 3d branch. Added 3d item to one of the player pane. #story[1188]
8 years ago
David Wu b724a814b1 Merge branch 'story86-3D' into story77_lobby
8 years ago
David Wu d65ce1a897 Merge branch 'story77' into story77_lobby
8 years ago
David Wu 88782182d7 Player panes and spectator list now call method on click. Will later be used for players to choose whether they want to play or spectate. #story[1188]
8 years ago
Connor Taylor-Brown cf838f2072 Added View3D control for rendering 3D shapes under a PerspectiveCamera, which is not currently working.
8 years ago
Connor Taylor-Brown d630788a14 Merge remote-tracking branch 'remotes/origin/story77_lobby' into story86-3D
8 years ago
Fan-Wu Yang 43ec179d79 Merge branch 'story86-3D' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story86-3D
8 years ago
Fan-Wu Yang ea41c64c34 Added dependency for stl converter #story[1191]
8 years ago
David Wu 7df181c759 Minor changes to new lobby fxml. #story[1188]
8 years ago
David Wu 892320db5f Added javadoc and extra files to push
8 years ago
David Wu 0621e1bdb1 Finished up lobby menu. Set split pane to not change size on resize. Disabled divider on split pane. Added quit button and start button (start only prints to terminal for now). Panes are now wrapped in an anchor pane to fix resizing issues. TODO: Will be working on making a nicer background animation.
8 years ago
Joseph Gardner b0f7c5e734 Wind speed changes depending on where the wind direction is. #story[1187]
8 years ago
hba56 ca0a3f2a8b encoders and decoders for the hosted games request message with datatype and test
8 years ago
David Wu c63403d1de Created new lobby menu. Working on animated background for menu.
8 years ago
Joseph Gardner d0ba7b93e0 Wind oscillates, replaces random wind with shifting wind. #story[1187]
8 years ago
hba56 cb8e81a7b2 encoders and decoders for the host game message with datatype and test
8 years ago
cbt24 1b1b0a4591 Added floating test cube in title screen initialiser
8 years ago
Joseph Gardner 0be5b731c3 Merge branch 'master' into wind_(story53)
8 years ago
Joseph Gardner 12e2ae9c01 Started implementing wind oscillation. #story[1187]
8 years ago
Joseph Gardner 64e96a1b8b Class for shifting wind. #story[1187]
8 years ago
fjc40 eb980c436e Wind arrow now points in the direction the wind is blowing, as per P.O feedback (again....).
8 years ago
fjc40 a9fde95b39 Updated maven version to 2.0.
8 years ago
fjc40 0d2be85d17 Brought over long/latitude fix from "rounding_line_visible_hack" branch.
8 years ago
hba56 b886cb426f guide line last leg fix
8 years ago
fjc40 666c7b029f Disabled map rotation - temp fix for the demo.
8 years ago
David Wu 37095bfc6c Merged master into branch.
8 years ago
David Wu 5234cdea66 Merge branch 'master' into new_issue#19
8 years ago
David Wu 598275591f Updated javadoc.
8 years ago
Joseph Gardner 5ba6f52669 fixed autovmg.
8 years ago
David Wu 79add59375 Unresizable control screen.
8 years ago
David Wu f1ef75fb81 Merge branch 'master' into new_issue#19
8 years ago
David Wu 03dd937713 Change fxml stuff. Added back to menu buttons.
8 years ago
Joseph Gardner dcd1df2999 Merged master.
8 years ago
Joseph Gardner 014b78f166 Merge branch 'master' into story_64_sails
8 years ago
Fan-Wu Yang 83b0c0a6b4 Fixed issue using File from java.io.File which did not like maven
8 years ago
David Wu 9f813ab7aa Merged in development.
8 years ago
Joseph Gardner e26fb73627 Merged master.
8 years ago
David Wu 288979be3b Merge branch 'Development' into new_issue#19
8 years ago
Joseph Gardner d41e52766b Merge branch 'master' into story_64_sails
8 years ago
David Wu 09eaf6d968 Merged master.
8 years ago
Joseph Gardner 37fe7389ff Rounding marks works.
8 years ago
David Wu 5a188f0582 Merge branch 'master' into new_issue#19
8 years ago
Hamish Ball d2f9bfedcb Merge branch 'issue_18_track_alpha' into 'master'
8 years ago
Joseph Gardner 610aa96241 Merge branch 'MapWindRotation' into 'master'
8 years ago
Hamish Ball 2edb6b5249 Merge branch 'issue#40' into 'master'
8 years ago
David Wu c08bafa566 Fixed most of issue #19 with new master?
8 years ago
fjc40 2656efcb4d Marks are a bit darker.
8 years ago
Fan-Wu Yang 2e9c6fe593 Merged most recent master in, #story[1092]
8 years ago
hba56 02ab0e8a00 added javadoc
8 years ago
hba56 3cf50c56f8 added a refresh for the info table so no new values are shown when the game is in full screen
8 years ago
Joseph Gardner a50d460222 Merged master.
8 years ago
fjc40 0f58270c10 Merge branch 'master' into issue_18_track_alpha
8 years ago
Fan-Wu Yang 7546c65893 Merge branch 'master' into MapWindRotation
8 years ago
Joseph Gardner 20c9870fea Merge branch 'master' into story_64_sails
8 years ago
David Wu fa5992bfb2 added App app to app.
8 years ago
fjc40 62f400b924 Trackpoint line color fades out.
8 years ago
David Wu 6bc81f566e Issue 19 changes.
8 years ago
Joseph Gardner a3fe57ed5a Removed print statement. #story[1092]
8 years ago
fjc40 fa26abe10c Minor tidy.
8 years ago
Joseph Gardner 4cf8846cda Map wind rotation works with multiplayer xml. #story[1092]
8 years ago
hwball 86d94ef27e javadoc fix
8 years ago
hwball df2b674b94 update scale for table displaying
8 years ago
Connor Taylor-Brown 4b3cc8e126 Created ack number generator for use by multiple services
8 years ago
Joseph Gardner 1e7ba8cd51 Merge branch 'master' into MapWindRotation
8 years ago
Joseph d7e0bfa86c Trackpoints are only shown for the player's boat. #story[1098]
8 years ago
Joseph 47fc55245c Merged master.
8 years ago
Joseph f60809bdd4 Merge branch 'master' into story_64_sails
8 years ago
zwu18 109b291973 Merged issue #20 fix and splash screen into development.
8 years ago
zwu18 317582aae8 Merge branch 'issue#20fix' into Development
8 years ago
zwu18 4e8b7d3b5a Merge remote-tracking branch 'origin/master' into issue#20fix
8 years ago
zwu18 8759ac070e Merge remote-tracking branch 'origin/splashScreen' into issue#20fix
8 years ago
Connor Taylor-Brown f8150ef449 Added YachtEvent message with encoder and decoder
8 years ago
hba56 ee0cc4b704 Merge branch 'issue#40' into Development
8 years ago
fjc40 114c18763b Reduced track point period to 1000ms.
8 years ago
fjc40 20055b1883 Removed redunant calls in VisualiserRaceState.initialiseBoats().
8 years ago
cbt24 f7d0e9d466 Boats bounce during collision if pointing into collision
8 years ago
cbt24 eaa0d2e82b Boats bounce away from marks.
8 years ago
cbt24 8113867576 Bubbles collision events to RaceLogic
8 years ago
fjc40 f1e41d5d8f Merge branch 'master' into issue_18_trackpoint
8 years ago
cbt24 79f3c41d45 Moved generic ray casting to Collider abstract class
8 years ago
cbt24 8498701091 Removed commented-out file from master
8 years ago
cbt24 f44929f376 Spun off Locatable interface to make collision code more reusable
8 years ago
cbt24 ce14e93404 Removed CI-breaking docstring
8 years ago
cbt24 f0d750cae1 Merge remote-tracking branch 'remotes/origin/master' into story66-collision
8 years ago
cbt24 d63641c1e2 Cherry-picked multiple changes from master
8 years ago
hba56 fdd0b30a51 Added the ability to hide and show info table with a key press
8 years ago
fjc40 85e703cba5 RaceController/info table now makes a copy of the boat list, to avoid race conditions.
8 years ago
Fan-Wu Yang 9f7c5d8c0c Fixed other javadocs that were causing the build to fail #story[1092]
8 years ago
Fan-Wu Yang 8d87da6206 fixed java doc issues on my side #story[1092]
8 years ago
fjc40 bcb6b79f8d Fixed player boat not being highlighted.
8 years ago
zwu18 5e0bcd2af5 Added control menu to title screen. Pressing control button will open a pop-up window showing game controls.
8 years ago
fjc40 a4755ed88b Maybe fixed updating boat list on FX thread.
8 years ago
Fan-Wu Yang a4e1dfb3d7 Fixed import that was messing up the build #story[1092]
8 years ago
fjc40 0483859c40 Fixed sparkline y axis labelling. Reverted it to how it previously worked (negative data values instead of negative scale).
8 years ago
fjc40 9ab12a9c58 MockBoat: Removed redundant isAutoVMG() function.
8 years ago
fjc40 dc4610d6eb Fixed sparkline not updating.
8 years ago
fjc40 5ae8393126 Fixed null pointer exception when a boat finishes the race.
8 years ago
fjc40 3a0bd10a57 Merge remote-tracking branch 'origin/master' into story_61
8 years ago
fjc40 c9875f3987 RaceLogic no longer uses AnimationTimer for its main loop (since that ran in javafx thread).
8 years ago
cbt24 9ca50aa66c Ray casting now only supports distance specification.
8 years ago
cbt24 7d64a43350 Allow collision checking to provide collision parameters to ray casting method
8 years ago
cbt24 2fbb96afd7 Created ray casting methods for MockBoat and CompoundMark
8 years ago
cbt24 da52082d70 Deleted duplicate method (again -.-)
8 years ago
Connor Taylor-Brown 847cd1251e Merge remote-tracking branch 'remotes/origin/master' into CommandFactory
8 years ago
Connor Taylor-Brown b97bfe62a6 Fixed documentation bugs not relevant to story.
8 years ago
fjc40 5a03d97713 Added comment.
8 years ago
fjc40 b07c30704a The trackpoint line is now a line (poly-line) instead of a sequence of circles. A point along the poly-line is added every 250ms.
8 years ago
Joseph Gardner 7d4f1cd925 Fixed first key press not working. #story[1098]
8 years ago
hba56 1bdf80417d javadoc
8 years ago
Jessica Syder 0558629dc6 Added luffing sails image.
8 years ago
Fan-Wu Yang a5b21799d3 Fixed java doc issue #story[1092]
8 years ago
Fan-Wu Yang ac42c07c69 Merge branch 'master' into MapWindRotation
8 years ago
Fan-Wu Yang b5e414f97a Made all the model classes extend off the schema xml classes for race, and made xml builder, validator and reader utility class.
8 years ago
fjc40 175fb11178 Javadoc fixes.
8 years ago
fjc40 7366aba5ec Added empty data sources, to be used by VisualiserRace.
8 years ago
Fan-Wu Yang 70d5447e88 Moving stuff from school pc to home
8 years ago
Fan-Wu Yang 8999cddf8b Pre merge commit
8 years ago
hba56 dc9317fe2e remove system.out statments
8 years ago
hba56 67bb7b81dc Merge remote-tracking branch 'origin/story68' into story68
8 years ago
hba56 0d786f381b fix for boats finishing the race
8 years ago
hba56 2acc36225e Fix for placement of invis gates and checks that boats pass through these gates
8 years ago
Jessica Syder 8b1561cdc7 Fixed nullpointer when boat passes finish line.
8 years ago
Fan-Wu Yang 820898d92c pushed work from school computer to do at home
8 years ago
hba56 f90648e4ce Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)
8 years ago
Fan-Wu Yang 7c6f0931ba Transferring files from my laptop to desktop to work on, may be broken.
8 years ago
hba56 a05ffd023d Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)
8 years ago
hba56 f386a4b989 added checks for gates and moved second rounding check to be in line with the next mark to move towards
8 years ago
hba56 fe91264aec fix for the tests
8 years ago
fjc40 89b0aa8b77 Implemented MessageRouter.
8 years ago
zwu18 a31eb078a6 Created a splash screen for application.
8 years ago
hba56 62e37489ee starboard rounding update
8 years ago
hba56 d70a711a3d Merge branch 'master' into story68
8 years ago
hba56 499a409d4f Merge branch 'master' into story68
8 years ago
zwu18 848edfc6a4 Removed commented out code. Merged master in.
8 years ago
zwu18 c3ea62dfee Merge branch 'master' into CommandFactory
8 years ago
zwu18 9c902dab46 Added javadoc to classes.
8 years ago
fjc40 6e5fb62880 Added REQUEST_RECEIVED and DECLINED to ConnnectionStateEnum.
8 years ago
fjc40 41b0a5d7f7 Merge branch 'story_61' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into story_61
8 years ago
fjc40 b625b6ab05 XMLReader.readXMLFileToString no longer throws a Transformer exception.
8 years ago
zwu18 e4b72fdfeb Update appearance on client arrow.
8 years ago
Connor Taylor-Brown 7474de9816 Created foundation classes and interfaces for collision architecture.
8 years ago
fjc40 61d18f85c5 javadoc fixes.
8 years ago
fjc40 19984772c0 Merge branch 'master' into story_61
8 years ago
Joseph Gardner d8628b4289 Boats now start the race with sails out. #story[1098]
8 years ago
fjc40 5bc51343f5 Merge remote-tracking branch 'origin/master' into pom_profile_fix
8 years ago
fjc40 130ffcbf07 Fixed some merge issues.
8 years ago
Joseph Gardner 20302496f0 Made SailsInCommand and SailsOutCommand one class. #story[1098]
8 years ago
fjc40 805c12bf41 Merge remote-tracking branch 'origin/master' into issue_28_36_decoders
8 years ago
Fraser Cope 7b382e48ac Merge branch 'story63' into 'master'
8 years ago
Jessica Syder 321dcde72f Implemented luffing sail without image (yet).
8 years ago
fjc40 39b5cc2edc MockBoat has autoVMG disabled by default.
8 years ago
Joseph Gardner 1a7152f54e Boats stop when the sails are out. Merged dev. #story[1098]
8 years ago
hba56 4da3734804 added the ability to toggle the race guide line on and off
8 years ago
fjc40 7cc39abe57 WIP. Probably need to cherry pick stuff out of here.
8 years ago
Joseph Gardner 1302769a50 Merge branch 'Development' into story_64_sails
8 years ago
Joseph e23f20753d Merged master. Added commands for sails in and out. Added logic to stop boat from moving when sails are out. Testing if the boat stops with sails out is blocked until command factory is merged. #story[1098]
8 years ago
Joseph 41d09f587e Merge branch 'master' into story_64_sails
8 years ago
hba56 74f04a13f8 Merge remote-tracking branch 'origin/Development' into Development
8 years ago
hba56 e53d72f24b compound marks now can give the mark they have that needs to be rounded this is used to draw the line around the correct mark
8 years ago
Connor Taylor-Brown da9915174c Merge branch 'master' into Development
8 years ago
Connor Taylor-Brown 3cf0cf2ee0 Merge branch 'master' into story63
8 years ago
Connor Taylor-Brown 638413da1a Merge remote-tracking branch 'remotes/origin/story63' into Development
8 years ago
Jessica Syder ce973fecfe Sails are displayed correctly for all wind and active boat directions.
8 years ago
zwu18 03713d3699 Added checkPosition into MockRace which was removed. Boat now updates legs again.
8 years ago
Connor Taylor-Brown e021dd328d Changed CompositeCommand stack to queue
8 years ago
hba56 e2605c3c7c Merge remote-tracking branch 'remotes/origin/story68' into Development
8 years ago
hba56 bb75806781 Cleaned up line to be in a shippable shape
8 years ago
fjc40 3ec87582d3 Merge remote-tracking branch 'origin/master' into story_61
8 years ago
hba56 22722286ef all paths now join up
8 years ago
zwu18 53c9192130 Merge branch 'CommandFactory' into Development
8 years ago
hba56 ef3f468b19 arrows displayed for each leg
8 years ago
Jessica Syder ace1252c1d Fixed sails so they behave correctly
8 years ago
cbt24 2920b6cf23 Removed build-breaking code from MockRace
8 years ago
Fan-Wu Yang a460df3e4d Fixed Javadocs that were causing the build to fail. #story[1096]
8 years ago
Fan-Wu Yang 0f9b191ccb Added doc strings to RaceXML Creator #story[1096]
8 years ago
Connor Taylor-Brown 8ee4e84236 Merge remote-tracking branch 'remotes/origin/story63' into Development
8 years ago
Joseph Gardner f6cdf66bfe Sails can be toggled on the visualiser and the rotate sails button rotates the sail visually. #story[1098]
8 years ago
Connor Taylor-Brown dad4fa57c6 Fixed WindCommand not updating downwind command when moving upwind.
8 years ago
Connor Taylor-Brown 55798447ab Cherry-picked CommandFactory connection between ControllerServer and RaceLogic.
8 years ago
Connor Taylor-Brown e76de1cbf9 Added test for WindCommand
8 years ago
fjc40 634d78ab70 Added names to threads created.
8 years ago
hba56 62752c142a building blocks for drawing the race line around the course
8 years ago
hba56 747c31b948 Merge remote-tracking branch 'remotes/origin/story68' into Development
8 years ago
hba56 4195d41814 removed outdated comments
8 years ago
Jessica Syder 7c5670f8c2 Sails are displayed on first boat in a race. Optimised imports.
8 years ago
hba56 950a801d16 rounding fix for the xml
8 years ago
Joseph Gardner 0bf2c6106b Boat updating speed after key press has been fixed. #fix #story[1094]
8 years ago
zwu18 ddaa2623ca Added tests for TackGybeCommand class.
8 years ago
Fan-Wu Yang fef35d0b00 The race is rotated with it's initial rotation in mind
8 years ago
Fan-Wu Yang 2ce1c0786e The course points can now be rotated,
8 years ago
fjc40 134586f407 The message encoders and decoders now catch exceptions, and throw InvalidMessageException.
8 years ago
fjc40 9c64b678e3 Added MarkRoundingEncoder.
8 years ago
fjc40 da800e659a Added AverageWindEncoder.
8 years ago
fjc40 ce63f58429 Added RaceStartStatusEncoder.
8 years ago
fjc40 e99ad00294 Javadoc fixes.
8 years ago
fjc40 750ea5c141 Added MessageDecoder interface. All decoder implement this.
8 years ago
zwu18 a388989827 Reworked TackGybeCommand. Current boat in race will now tack and gybe when control is pressed.
8 years ago
fjc40 1fbdd09d70 Refactored BoatLocation message, encoders, decoders. It now exposes datatypes that we actually use in the program (double knots, bearings, etc..), instead of the bits-on-the-wire packed units (like int mmPerSec). Also documented it, and updated test.
8 years ago
zwu18 18f14c7542 VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled. Fixed autoVMG not working.
8 years ago
fjc40 ff262a6227 Added Knots <-> MMperSec conversions to AC35UnitConverter.
8 years ago
zwu18 dab0f2b402 Merge branch 'story63' into CommandFactory
8 years ago
zwu18 074e2e590b VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled.
8 years ago
fjc40 a0f98eadaa Added some documentation to BoatStatus.
8 years ago
zwu18 3d417c3a40 Merge branch 'story63' into CommandFactory
8 years ago
fjc40 b1922fc3fc Added RaceStatusEncoder.
8 years ago
fjc40 e464ee298e javadoc fixes for some warnings.
8 years ago
fjc40 b486f99dbe Added XMLMessageEncoder.
8 years ago
fjc40 8ef906472b Renamed Heartbeat to HeartBeat.
8 years ago
fjc40 c3ed30019c Added BoatLocationEncoder.
8 years ago
fjc40 31ce9fff94 Added BoatActonEncoder.
8 years ago
fjc40 16686678a7 Added an InvalidMessageTypeException - thrown whenever we encounter a MessageType that isn't recognised or isn't supported.
8 years ago
fjc40 7ea5b31fa1 RequestToJoinEnum contains an int instead of a byte.
8 years ago
fjc40 ca2b8a8899 Added missing javadoc.
8 years ago
fjc40 f65ed79619 Implemented RequestToJoin and JoinAcceptance messages.
8 years ago
fjc40 1385500e68 Added JoinAcceptance and RequestToJoin enumerations.
8 years ago
fjc40 7feddeb49f Merge branch 'master' into story48
8 years ago
Connor Taylor-Brown 554f8a2a0f Added WindCommand and multiple command execution to RaceLogic
8 years ago
hba56 0b74acadff rounding checks are now done by port or starboard side depending on what the compound marks type is
8 years ago
hba56 db1efab225 rounding checks are now done by port or starboard side depending on what the compound marks type is
8 years ago
hba56 be8b0e672d Updated the xml reader to pull in the rounding type of the compound marks and set each mark with that value
8 years ago
Connor Taylor-Brown 425cc7f91f Changed ControlKey to use BoatActionEnum instead of magic numbers.
8 years ago
zwu18 14ce5fcaff Made changes to TackGybeCommand and VMGCommand classes to fit pattern layout.
8 years ago
zwu18 6e699f7037 Merge branch 'RaceFactory' into CommandFactory
8 years ago
Fan-Wu Yang f23c3f854d Seperated race xml creation into a class of its own
8 years ago
Connor Taylor-Brown 851bbb4fde Merged branch "RaceFactory" with master
8 years ago
fjc40 148108a658 CommandFactory uses BoatActionEnum instead of raw ints.
8 years ago
Connor Taylor-Brown c83442761c Implemented Factory for Command objects and fixed Command Pattern implementation.
8 years ago
Joseph Gardner 40a3ed1bb0 Boats now store whether autoVMG is on or off, boat speed scales off their bearing relative to the TWA. #story[1094]
8 years ago
hba56 f212414bd9 Added in a new basis for boats to round marks, gave mockboats a status to say how far through a rounding they are and made a method in GPScoordinate public so it can be used to calculate intersections.
8 years ago
fjc40 2e325d5177 Added WindGeneratorTest.
8 years ago
fjc40 e4999a3c93 Added a light variant of the arrow image.
8 years ago
fjc40 2a5d0938ff Merge branch 'story48' into Development
8 years ago
Connor Taylor-Brown c8621a7be5 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory
8 years ago
Fan-Wu Yang 4e8d4f2433 Created Schema for Race xml's and generated classes for reading xml with xjc, made the RaceXMLReader read Corner classes in as well as making a corner class #story[1092]
8 years ago
zwu18 d9679c1497 Build failing due to junit even though junit passes all tests. Commented out VMGCommand and TackGybeCommand content.
8 years ago
Connor Taylor-Brown 2672c2b13b Separated RaceLogic from MockRace
8 years ago
zwu18 b581b01a44 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory
8 years ago
zwu18 ad61dc6bce Implemented runCommand method in VMGCommand and TackGybeCommand classes. Both classes currently rely on the MockRace class so changes will be required when MockRace is refactored.
8 years ago
Connor Taylor-Brown 0466292bd0 Partially removed VMG optimisation, separated server-specific functionality
8 years ago
zwu18 7fc1347377 Created class TackGybeCommand which implements the CommandFactory interface.
8 years ago
fjc40 e1905e9e36 javadoc fix.
8 years ago
fjc40 9889a474ee Added ArrowController. This is the controller for arrow.fxml.
8 years ago
hba56 b7af4e19cf new method to check if a boat is between gates as well as updated the gps values to fit better with real life values
8 years ago
hba56 13922bc284 updated javadoc
8 years ago
hba56 c633de21f5 added new methods to the mock boats to let them check which side a mark is on to them
8 years ago
Joseph Gardner 27cf0e1539 Started splitting MockRace into RaceLogic and RaceState. #refactor #story[1094]
8 years ago
Joseph Gardner b258e94a54 Merged wind generator into this branch. #story[1094]
8 years ago
Joseph Gardner fba256113a Merged wind generator into this branch. #story[1094]
8 years ago
Joseph Gardner 51bbdf9a50 Merge branch 'issue_26_wind' into RaceFactory
8 years ago
fjc40 ed12ff659d mock:
8 years ago
Joseph Gardner 81eeca3533 Split wind off from Race and made it its own class. Deleted dnfChance as it is no longer used.
8 years ago
Joseph Gardner 775c32ca92 Made new branch for command architecture.
8 years ago
Joseph Gardner a87879eaa9 Made new branch for command architecture.
8 years ago
fjc40 99f3310d8b Created a setWind(bearing, knots) in Race, which updates the Wind with new values.
8 years ago
fjc40 5af3053537 Added shared.model.Wind class.
8 years ago
David Wu f2932e8bae New branch created for development.
8 years ago
fjc40 fcea323cfd The racevisionGame pom still had "profiles", which aren't needed with a single jar build, and the built jar didn't have a mainifest/main class.
9 years ago
Fan-Wu Yang 442920f9f6 DOD, and added javadocs/fixed javadocs #story[1087]
9 years ago
Jessica Syder 9eaf24e699 Fixed title screen having whitespace on different screen resolutions.
9 years ago
Jessica Syder 402df18b71 Merge remote-tracking branch 'remotes/origin/master' into css
9 years ago
fjc40 669b8167cd Merge branch 'cbt-multi-controller' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into cbt-multi-controller
9 years ago
fjc40 1b5926007c Visualiser ConnectionController:
9 years ago
Joseph Gardner 67c7c88b32 Print statements now print off the actual key action. #story[1089]
9 years ago
fjc40 f91f7055de Visualiser RaceController:
9 years ago
hba56 92b8b7b77f moved the tm symbol
9 years ago
David Wu 2b8b334486 Updated host to show the hosted address and port. Fixed css issue with lobby text field.
9 years ago
hba56 f4eb03e79e Merge remote-tracking branch 'origin/css' into css
9 years ago
hba56 85347c169d You can now resize all windows other than the title screen
9 years ago
David Wu 28e6709890 Merge remote-tracking branch 'origin/css' into css
9 years ago
David Wu 90f9ec2b98 Changed host menu. Will update soon.
9 years ago
Joseph Gardner 6492ba89ab Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089]
9 years ago
Joseph Gardner 0ea7fb8c84 Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089]
9 years ago
hba56 59058da09c textfields now show better colour that contrasts more
9 years ago
hba56 7fafddcf50 updated text to be easily read on daymode
9 years ago
hba56 64b4aa539a added and option to swap between css files in the title pane
9 years ago
Connor Taylor-Brown 0352e3310d Set up Boat Action Message encoding
9 years ago
Connor Taylor-Brown e670ded66d ControllerClient can retrieve valid protocol code from each key press
9 years ago
Connor Taylor-Brown 86e8cb7560 Refactored KeyFactory to ensure single instance of each key state handler.
9 years ago
Connor Taylor-Brown cc264f318e Added ControllerClient and ControllerServer
9 years ago
zwu18 8bb66bc5e4 Commented out test failure. Test was failing due to refactor.
9 years ago
zwu18 53a01402e1 Check method moved to new class called ping so that refresh will be called on new thread.
9 years ago
zwu18 243c450790 Merged with multi visualiser branch so now multiple visualisers can connect to the same host.
9 years ago
zwu18 88604df66d Merge branch 'cbt-multi-controller' into css
9 years ago
zwu18 9c9b98f882 Added functionality to host game and join a game in lobby. Host name and game name are not implemented yet.
9 years ago
Connor Taylor-Brown 9a76fa592c Added keyboard handling to RaceController
9 years ago
David Wu 578f04c74f Merge branch 'css' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into css
9 years ago
David Wu 9159e16a21 Set up controller classes for lobby and host. Made changes to TitleController and MainController. Title screen can now enter lobby and host.
9 years ago
Connor Taylor-Brown 7e3e865563 Host starts with button in ConnectionController
9 years ago
hba56 684611a52c added a background to the water so it is not just white
9 years ago
Connor Taylor-Brown a27c16d413 Merge remote-tracking branch 'remotes/origin/Game_Controller' into cbt-multi-controller
9 years ago
hba56 913946265d Merge branch 'css' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into css
9 years ago
hba56 afadabfecc small fix for the sparkline so that it goes from 1 to 6 rather than 0 to 7 for a 6 boat race
9 years ago
Fan-Wu Yang eec0cb3493 Added fairness to mockOuput list so the index will correspond to the player in order that they entered the hosted game, #story[1010]
9 years ago
Jessica McAuslin 4ba9c6b774 Added a pretty title screen to the application.
9 years ago
Fan-Wu Yang cfd858194e Removed Unecessary Print Messages
9 years ago
Fan-Wu Yang 9f99e21232 Added functionality for more than one visualiser to connect to the mock.
9 years ago
hba56 9d9321522d Linked the first fxml id tags from the fxml files for the new start up screens
9 years ago
hba56 eda7d062ec merged in the changes from the master branch so that latter mergers can run smoothly
9 years ago
hba56 595e1a8727 Merge remote-tracking branch 'remotes/origin/master' into css
9 years ago
hba56 1ebbb8d4c7 merged in the changes from the master branch so that latter mergers can run smoothly
9 years ago
hba56 738a765a0a Merge remote-tracking branch 'remotes/origin/master' into Game_Controller
9 years ago
fjc40 0598724117 Added two more missing javadocs.
9 years ago
hba56 956ad1f59b merged in the changes from the sprint5_refactor branch
9 years ago
hba56 0d5bede349 java doc fixes to fix the ci build problems
9 years ago
hba56 08f74f608f trying to see if ci works while logged in to the ienabler when ssh
9 years ago
fjc40 38f3fe16a0 Revert "Added travis_wait to test CI build order."
9 years ago
fjc40 350ec41beb Added travis_wait to test CI build order.
9 years ago
fjc40 5cddaaed8e mock.app.App now tells mock.app.Event that the xml file strings are XMLFileType.Contents.
9 years ago
fjc40 4bcfc01ceb shared.dataInput:
9 years ago
fjc40 10e80bca05 Moved mock.app.App#readFile(...) to shared.dataInput.XMLReader#readXMLFileToString(...).
9 years ago
fjc40 d0c6b5f716 Moved mock.model and mock.dataInput tests into the racevisionGame.tests.mock package.
9 years ago
fjc40 3a85fad211 Currently, mock/pom.xml and visualiser/pom.xml build racevisionGame mock and visualiser.
9 years ago
fjc40 cab9bf9574 RaceClock no has run(), or is runnable, as it wasn't needed.
9 years ago
fjc40 7d3cf6ee80 I had accidentally broken the raceXML construction - fixed it.
9 years ago
fjc40 abbbf70146 Refactored Race, MockRace, and VisualiserRace to use RaceClock instead of keeping their own timers.
9 years ago
fjc40 f057ad58b7 LatestMessages can hold MarkRounding messages. It also holds XMLMessage for each message type.
9 years ago
fjc40 8e18ad62ca Added LatestMessages to network.Messages. This is an object that encapsulates the latest up to date set of race messages.
9 years ago
fjc40 3a0b81834f Refactored mock.Event to work with MockRace.
9 years ago
fjc40 8d36d89570 Refactored and moved RaceXMLReader to shared/dataInput.
9 years ago
fjc40 7f027c8cc5 Refactored and moved XMLReader, RaceDataSource, BoatXMLReader, BoatDataSource, RegattaXMLReader to shared/dataInput.
9 years ago
fjc40 d0d63ca236 Copied remaining files into appropriate package. These need to be refactored and put into the shared package.
9 years ago
fjc40 bbbb1f2eb0 Renamed sharedModel module to racevisionGame - this is intended to be our single module program.
9 years ago