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
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
David Wu
288979be3b
Merge branch 'Development' into new_issue#19
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/RaceController.java
# racevisionGame/src/main/java/visualiser/app/App.java
8 years ago
David Wu
09eaf6d968
Merged master.
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'
...
Issue 18 track alpha
This should resolve #18 .
Track point system is now a line, and updated more frequently.
Line fades over time.
The boat wake is also longer, and has a black dot at the end.
See merge request !28
8 years ago
Joseph Gardner
610aa96241
Merge branch 'MapWindRotation' into 'master'
...
Map wind rotation
Note: we'd like to generate a realistic course layout, that can vary from race to race (but not within a race, for now.) The generated layout must be sent through the API in the format given by the race.xml section of the AC35 Streaming Data Interface Specification. The AC35 Protocol (sections 31.4 and 31.5) specifies the requirements for a course:
* First leg of the course (from start line to first mark) must be a reaching leg
* Next legs are windward/leeward, and boats complete either two or three laps of this section
* Final leg to finish line may be a reaching leg
* A boat should take around 25 minutes to complete the course in the wind conditions at the start of the race (AC35 protocol, section 31.5)
You should assume that the windward/leeward marks and start/finish lines are always compounds of two marks.
Acceptance criteria:
* The layout must be sent over the API in a race.xml message, plus boat location messages for the marks as required, before any other boat location messages are sent.
* Each mark must be defined using boat "SourceID"s (see definition of race.xml) so their positions can be adjusted later.
* The course must meet the requirements given in the AC35 Protocol.
* The course limits should be set to clear all marks by at least several boat-lengths.
* The entire race area within the limits must be on the water.
See merge request !22
8 years ago
Hamish Ball
2edb6b5249
Merge branch 'issue#40' into 'master'
...
Issue#40
See merge request !30
8 years ago
David Wu
c08bafa566
Fixed most of issue #19 with new master?
8 years ago
fjc40
2656efcb4d
Marks are a bit darker.
...
Wake no longer has circle at end.
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
fjc40
0f58270c10
Merge branch 'master' into issue_18_track_alpha
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/model/VisualiserRaceState.java
8 years ago
Fan-Wu Yang
7546c65893
Merge branch 'master' into MapWindRotation
...
# Conflicts:
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Mark.java
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
...
#story[1100]
8 years ago
Joseph Gardner
1e7ba8cd51
Merge branch 'master' into MapWindRotation
...
# Conflicts:
# racevisionGame/src/main/java/mock/app/Event.java
# racevisionGame/src/main/java/mock/model/MockRace.java
# racevisionGame/src/main/java/mock/model/commandFactory/CommandFactory.java
# racevisionGame/src/main/java/shared/dataInput/RaceXMLReader.java
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Mark.java
# racevisionGame/src/main/java/visualiser/Controllers/ConnectionController.java
# racevisionGame/src/main/java/visualiser/Controllers/HostController.java
# racevisionGame/src/main/java/visualiser/app/VisualiserInput.java
# racevisionGame/src/main/java/visualiser/gameController/ControllerServer.java
# racevisionGame/src/main/java/visualiser/model/VisualiserRace.java
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
...
- Updated Encoder and Decoder factories for the new message type
- Added an enum for handling yacht event types
#story[1100]
8 years ago
hba56
ee0cc4b704
Merge branch 'issue#40' into Development
8 years ago
fjc40
114c18763b
Reduced track point period to 1000ms.
...
issue #18
8 years ago
fjc40
20055b1883
Removed redunant calls in VisualiserRaceState.initialiseBoats().
...
Slightly refactored ResizableRaceCanvas - removed a redundant drawPoint() function, functions which alter the gc stroke call save/restore.
Text is drawn black, at 20pts.
The drawBoats() function: instead of drawing everything for each boat, one boat at a time, it draws the track points for all boats, then wake for all boats, etc..., to have better layering.
issue #18
8 years ago
cbt24
f7d0e9d466
Boats bounce during collision if pointing into collision
...
#story[1100]
8 years ago
cbt24
eaa0d2e82b
Boats bounce away from marks.
...
- Changed onCollisionEnter signature to pass boat info
#story[1100]
8 years ago
cbt24
8113867576
Bubbles collision events to RaceLogic
...
- ColliderRegistry collects and forwards all Collision events
- RaceLogic observes the ColliderRegistry of its single Race instance
#story[1100]
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
...
- Boat is now collider
- Collider subclasses specify their own collision ray and collision handler
#story[1100]
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
...
#story[1100]
8 years ago
cbt24
ce14e93404
Removed CI-breaking docstring
8 years ago
cbt24
f0d750cae1
Merge remote-tracking branch 'remotes/origin/master' into story66-collision
...
# Conflicts:
# racevisionGame/src/main/java/mock/model/MockBoat.java
# racevisionGame/src/main/java/mock/model/RaceLogic.java
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Race.java
# racevisionGame/src/test/java/mock/model/MockBoatTest.java
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
...
-the wind arrow also scales with the new size of the screen
8 years ago
fjc40
85e703cba5
RaceController/info table now makes a copy of the boat list, to avoid race conditions.
...
#story[1095]
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.
...
#story[1095]
8 years ago