Commit graph

209 commits

Author SHA1 Message Date
Adam
560a5d4172 the performance increase wasn't that good actually - so split up the topology into separate files so it's easier to read, and simplifying the png tile process so it joins tiles and prototypes sooner, with less info 2022-01-21 07:55:36 +01:00
Adam
2c518e396b massive tile processing speed improvement 2022-01-20 13:58:46 +01:00
Adam
a557c437cc tiles are visible! the tileserver works! they're the right way up! they have colours! 2022-01-19 22:42:22 +01:00
Adam
6fe3132f23 more tiles stuff working... 2022-01-19 18:40:07 +01:00
Adam
a7a095ecbf map tiles are now saved! 2022-01-19 16:53:24 +01:00
Adam
8533be0af8 chunk pngs almost working...
- rm yarn lock, it should be in ./gradle/kotlin-js-store
 - move kafka extensions to another project, kotka-streams
 - move prototypes to their own package
 - create a Factorio command for emitting prototypes
 - add bounding box to chunk updates
 - bump typed-factorio version
 - fix MapEntityPosition -> MapChunkPosition x/y rounding
 - lots of work on the Kafka Streams topology
2022-01-16 23:16:09 +01:00
Adam
49ad3654a3 tiles from kafka -> image tiles... maybe??? 2022-01-13 00:00:59 +01:00
Adam
9acce508ea don't use Jansi 2022-01-09 19:09:40 +01:00
Adam
a8b13be110 remove extra field (is there a better way to prevent this?) 2022-01-09 19:07:51 +01:00
Adam
723c7ae6e8 test LuaTiles 2022-01-09 19:01:47 +01:00
Adam
1439e81628 maybe fix docker build for kafka pipe?? again???? 2022-01-09 18:48:32 +01:00
Adam
27c8088f41 maybe fix docker build for kafka pipe?? 2022-01-09 18:05:28 +01:00
Adam
d2aa961e1a add version header to kafka pipe messages 2022-01-09 17:46:17 +01:00
Adam
b5de2132a1 version bump 2022-01-09 17:40:38 +01:00
Adam
4d2926ebe2 try making map tiles better, listen to events for changed tiles 2022-01-09 17:40:28 +01:00
Adam
4e8a0c4f69 fix build error, and disable SNAPSHOT kvision checking 2022-01-09 17:39:24 +01:00
Adam
b9190b1948 make the json a little less verbose by having separate position types instead of a discriminator 2022-01-09 16:33:23 +01:00
Adam
f41def72e2 rm comment, only send chunks updates on chunk generation 2022-01-09 16:10:47 +01:00
Adam
05a693720d small refactor, make all event handlers have same parameter order 2022-01-09 15:41:58 +01:00
Adam
4d2f574827 fix typescript after updates 2022-01-09 15:15:52 +01:00
Adam
4d94e2f395 finish fixing the schema 2022-01-09 15:07:36 +01:00
Adam
524aa218fc pre-emptively fixing kxs generics on factorioPrototypes.kt 2022-01-09 14:08:41 +01:00
Adam
7486961fc2 cleaning up comments and old code 2022-01-09 14:07:19 +01:00
Adam
d28088be2d remove --build from docker-compose up (it builds every time - I only want it to build on changes) 2022-01-09 14:02:18 +01:00
Adam
beb73d1584 - make tests multi-platform
- fix polymorphism finally???
2022-01-09 14:01:48 +01:00
Adam
1be9841d8b try fixing docker build so it doesn't run every time 2022-01-09 12:37:41 +01:00
Adam
2208c91652 fix polymorphic serialization, and update the names of some schema objects 2022-01-09 12:37:26 +01:00
Adam
e5feabf7eb make jvm schema tests run 2022-01-09 11:06:15 +01:00
Adam
f16e7405f6 update json serde tests 2022-01-09 11:05:52 +01:00
Adam
5a406358d8 renaming events server, to match project and so Gradle task.run works 2022-01-09 11:05:30 +01:00
Adam
101e48c593 hook build kafka-pipe task into 'assemble' 2022-01-09 11:04:42 +01:00
Adam
e20f51f446 add project version to docker env 2022-01-09 11:04:15 +01:00
Adam
77429f35bf disable repo warning for buildSrc 2022-01-09 11:02:05 +01:00
Adam
11ffaedf14 version bump, and fix imports 2022-01-08 23:18:50 +01:00
Adam
3a7625c139 fix wrong objectName 2022-01-08 23:14:27 +01:00
Adam
4efd912f75 binser for lua encode? 2022-01-08 23:10:27 +01:00
Adam
042ca9fb98 fix mod version and factorio version global def 2022-01-08 23:10:04 +01:00
Adam
ab85832126 version bump kvision 2022-01-08 23:09:49 +01:00
Adam
51e0aff823 improve event-schema polymorphism with enums 2022-01-08 23:09:27 +01:00
Adam
3875b9c309 bump kafka-ui version 2022-01-08 14:03:16 +01:00
Adam
92566c7ebe don't restart Factorio server if there's a problem (it's probably a mod bug, and I want to see what it is) 2022-01-08 14:03:08 +01:00
Adam
e6d424960e fix tests 2022-01-08 14:02:38 +01:00
Adam
56fa2cbf00 fix bugs (mostly tstl limitations) and improve schema structure a bit 2022-01-08 14:02:30 +01:00
Adam
f97b0a6562 more mod restructuring 2022-01-08 13:23:32 +01:00
Adam
ae94151fb6 tidy comments, versions 2022-01-08 13:14:42 +01:00
Adam
baa6ffac13 reorganise mod package structure 2022-01-08 13:14:32 +01:00
Adam
ed4d42a2ef make the data being output by the events-mod more generalised, to include more than just events (mod config, prototypes) 2022-01-08 13:11:51 +01:00
Adam
58233c9343 - mod refactoring into separate files, specific dirs
- start work on emitting prototypes
- start preparing for generating map tiles for leaflet
- start work on more events
  - console chat
  - chunk charted
2022-01-06 09:16:44 +01:00
Adam
a0c330384a it is literally working 2022-01-04 15:09:50 +01:00
Adam
841f07c847 a bit more tidying up 2021-12-28 17:24:32 +01:00