Commit graph

12 commits

Author SHA1 Message Date
9a7c48ae78 Make chunkBasedAtlas private 2020-07-10 16:56:17 +01:00
a0be8a463c Pull out chunk based atlas into new file 2020-07-10 16:54:43 +01:00
fb2ffc5252 Convert Atlas to an interface 2020-07-10 16:52:00 +01:00
ed9ecef80a Add perlin based generation for the terrain tiles 2020-07-08 23:38:08 +01:00
8b83672dcc Fix Atlas gen with simplification
Only track lower and upper bounds in world space, and speak in terms of world space and chunks
2020-07-04 22:34:28 +01:00
062f9cfec8 Split Atlas chunks into tiles and objects 2020-07-03 17:00:04 +01:00
9bb91920c9 Make Atlas grow in X and Y dimensions independently
Fixes exponential growth
2020-06-28 00:18:39 +01:00
b116cdf291 Convert Atlas to infinite lazy growth
The atlas will now expand as needed for any query, but only initialise the chunk tile memory when requested

	While this may still be a pre-mature optimisation, it does simplify some code and ensures that our memory footprint stays small, for the most part
2020-06-27 14:48:21 +01:00
2846ed796e Refactor tiles to objects to be re-used 2020-06-26 19:45:24 +01:00
5c12fabb63 Refactor so Rover's aren't in the atlas 2020-06-25 23:27:07 +01:00
7ababb79f6 Migrate to gRPC rather than REST with swagger
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
2020-06-12 22:51:18 +01:00
faaa556ad0 Move the Atlas code into it's own package 2020-06-11 20:42:59 +01:00
Renamed from pkg/game/atlas_test.go (Browse further)