Commit graph

259 commits

Author SHA1 Message Date
8279a08a37 Limit the log entries to a max number 2020-07-23 16:47:39 +01:00
46d904acc6 Rename and comment ticksPerNormalMove 2020-07-23 16:44:15 +01:00
13e4d6a5e6 Remove an old log left in 2020-07-23 00:34:57 +01:00
2bc2477128 Remove the incoming command streams, de-scopes and simplifies 2020-07-23 00:13:28 +01:00
6adc652cea Fix lint errors 2020-07-22 23:59:28 +01:00
5d80cb2596 Implement sailing tests and fix into-the-wind bug 2020-07-22 23:50:42 +01:00
c89c5f6e74 Implement current wind direction and rover wind movement 2020-07-22 23:36:13 +01:00
c94ac68f44 Remove all json tags, simply not needed 2020-07-22 19:55:38 +01:00
075a502103 Pull the repair function out 2020-07-22 19:25:47 +01:00
9e42764398 Update the rover list to a list of pointers 2020-07-22 19:25:32 +01:00
447dbe3582 Fix a test comment 2020-07-22 19:24:55 +01:00
6b5d5abea1 Rename the world tick function and set the tick rate back to default 2020-07-22 19:24:36 +01:00
8667f55143 Simplify by making command streams pointer lists like in proto 2020-07-21 23:52:14 +01:00
f78efd1223 Add SailPosition to the rover and implement toggle command
This also converts the commands to use the proto type for simplicity
2020-07-21 23:44:06 +01:00
6c75f07aff Remove move and recharge commands in favor of toggle command for the sails 2020-07-21 22:57:43 +01:00
77212c7258 Fix logic for rover marshal test 2020-07-19 18:57:22 +01:00
bffad84181 Don't use noise for rover spawns for now 2020-07-19 18:57:12 +01:00
04d7a5a4ca Fill in the dormant rover log 2020-07-19 18:47:54 +01:00
211771121f Extract rover naming to rover.go 2020-07-19 18:47:44 +01:00
d3c480cb04 Add dormant rover data marshalled into obj data 2020-07-19 18:39:16 +01:00
1281713211 Clear locations before warp in tests 2020-07-19 18:35:12 +01:00
9130cf2517 Move atlas package into rove 2020-07-19 18:30:07 +01:00
c48274eb23 Small refactor in GetObject 2020-07-19 18:27:58 +01:00
ddbbdce1f8 Move default rover params to function 2020-07-19 18:23:11 +01:00
faa1271c5a Try and very rarely spawn a dormant rover 2020-07-19 13:57:45 +01:00
37d828c457 Rename the rock noise 2020-07-19 13:53:38 +01:00
959cbfa15a Combine the two noise functions, we only need one 2020-07-19 13:51:49 +01:00
c637ed37b9 Make the dormat rover blocking 2020-07-19 13:49:43 +01:00
1eba9a8652 Pull world gen out into interface 2020-07-19 13:41:47 +01:00
fd0992353d Add data to objects 2020-07-19 13:27:29 +01:00
57f668ae54 Reinstate BearingFromString function 2020-07-19 13:13:09 +01:00
4e0e55af88 Move bearing into proto file 2020-07-19 12:54:41 +01:00
3796ee09a3 Merge remote-tracking branch 'origin/master' into glyphs 2020-07-19 12:38:46 +01:00
da91d31649 MOve glyph code into client 2020-07-19 12:36:48 +01:00
4a89cb9d6e Move glyph functions out to the glyph file 2020-07-19 12:34:54 +01:00
7bdfa44fb6 Fix up the concept of "None" tiles and objects
Replace with "Unknown" which is effectively an invalid value
2020-07-19 12:33:11 +01:00
305f64ec38 Large refactor, move object and tile types out into the proto 2020-07-19 12:26:57 +01:00
24d4fe9273 Convert tiles and object types to typed consts 2020-07-19 11:59:14 +01:00
7e41ac0028 Rename the glyphs 2020-07-19 11:57:41 +01:00
f665436007 Convert objects and tiles to base ints 2020-07-19 11:54:11 +01:00
acdd019093 Add Glyph methods to convert to a glyph 2020-07-19 11:50:19 +01:00
53d6ad08d9 Rename Type to ObjectType 2020-07-19 11:47:19 +01:00
a0b811a659 Move glyph definitions into a central type 2020-07-19 11:46:37 +01:00
5814ac95b8 Make sure we fallthrough for the NES cases 2020-07-19 11:29:28 +01:00
c2e3c9f090 Reject move commands in non-cardinal directions 2020-07-19 11:26:08 +01:00
105d69bd7c Fix SW direction to go south rather than north 2020-07-11 17:25:38 +01:00
737534f739 Move roveapi into the proto dir 2020-07-10 19:01:41 +01:00
46f81abbd7 Move accounts into rove-server.internal 2020-07-10 18:57:57 +01:00
f0ab2abf6e Move object into atlas 2020-07-10 18:39:33 +01:00
f40f7123d4 Move bearing into maths 2020-07-10 18:24:54 +01:00