0d60f7a
Branches > main > 0d60f7a > files / src / net / bowmap / stormbow
TODOs galore
Commit: 0d60f7a3109d89bb1d5fa3e9bcf8bfcc1600d98c
Parent: 9000abb
3 changed files:
src/net/bowmap/network/chunk.clj view file
@@ -1,6 +1,7 @@ (ns net.bowmap.network.chunk (:require [clojure.spec.alpha :as s])) +; TODO these keys aren't even used in the chunk code lol (s/def ::coordinate (s/keys :opt [::x ::y ::z])) (s/def ::data (s/map-of ::coordinate ::chunk-section)) (s/def ::block-bpe #{0 4 5 6 7 8 15})src/net/bowmap/network/connection.clj view file
@@ -1,6 +1,5 @@ (ns net.bowmap.network.connection (:require- [net.bowmap.network.packets.clientbound :refer [encode-packet!]] [net.bowmap.network.streams :as streams]) (:import [java.net Socket]))@@ -9,6 +8,8 @@ ; It is the I/O part of the client ; Clients are then I/O free +; TODO I really don't like any of this lol+ (defn connection [socket] (agent {::socket socket ::input-stream (Socket/.getInputStream socket)src/net/bowmap/network/packets/clientbound.clj view file
@@ -243,6 +243,7 @@ :chunk-z int-> :chunk-data chunk-data-> :light-data light-data->]+ ; TODO this is for teleporting, it's kind of a terrible name :p ::synchronize-player-position [:teleport-id varint-> ; TODO might want to extrac this into its own type(s)? :x double->