Commit Graph
26 Commits
Author SHA1 Message Date
ProfMobius c19b4fa4e6 Map is automatically updated when jumping to a given spot.
Chunks are send one by one.
Packet_Chunks too big are discarded.
2013-10-31 21:25:54 +01:00
ProfMobius bc24c0e760 Reduced size of the data array (for less memory clogging) 2013-10-31 16:43:35 +01:00
ProfMobius 0569a02fc0 Can teleport to another dimension.
Teleport lookup looks at blocks at the same height without air below them.
2013-10-30 18:57:10 +01:00
ProfMobius f1a79738f7 Can now teleport to the center of a chunkloaded area, with more or less reliability :p 2013-10-30 18:34:14 +01:00
ProfMobius 2f6056bce4 Possibility to teleport a player in the same dimension.
Currently triggered on the timing view when a TE is doubleclicked.
2013-10-30 18:15:09 +01:00
ProfMobius 60c163c497 Chunks are transfered using a Packet58, decompressed directly in a MwPacket and displayed
on the map.
This is activated using middle mouse click on the LoadedChunk overlay (for now).
2013-10-30 16:37:51 +01:00
ProfMobius 050bfcaf14 Added skeletton packet for Chunk transfer 2013-10-30 13:41:45 +01:00
ProfMobius f3ffbe3256 Refactoring 2013-10-30 13:24:02 +01:00
ProfMobius eaca7a063f Ticket display when starting the chunk loaded overlay. 2013-10-30 00:30:47 +01:00
ProfMobius 93d08f90ab Added a getRow method to TableView
Clicking on the TableView will now center the map on the requested coordinates.
2013-10-29 21:53:58 +01:00
ProfMobius fdae9a2a4d Matching new API.
Moved "Do we need handling" to the LayoutCanvas.
2013-10-29 21:11:45 +01:00
ProfMobius 7e7f48fb11 The canvas is now reacting to mouse inputs. 2013-10-29 21:00:52 +01:00
ProfMobius 9b84010cab Objects can now be attached to TableView rows. 2013-10-29 20:35:26 +01:00
ProfMobius 929e1b39f7 Added color control for the TableView rows. 2013-10-29 20:29:34 +01:00
ProfMobius 4ff65462ab Added a list of entities in chunks (displayed as a table) 2013-10-29 19:38:55 +01:00
ProfMobius e85bd42e6e Added missing methods in IMwDataProvider 2013-10-29 17:55:52 +01:00
ProfMobius f49abc3ecb Upon clicking on a chunk in MeanTime overlay, the client receive a list of entities for this chunk.
Added a ISerializable interface to make it easier to send/receive complex packets.
2013-10-29 17:48:41 +01:00
ProfMobius f9fb81aa26 Added new packet type to request a list of TEs in a chunk. 2013-10-28 20:11:26 +01:00
ProfMobius e21af7ddd4 Clean WUS added. 2013-10-28 19:14:50 +01:00
ProfMobius 4f754d4923 Added a way to select a chunk on middle click in the Timing overlay. 2013-10-28 17:14:35 +01:00
ProfMobius cd289afe42 Added basic profiler, with network sync, display, etc.
For now, it only display mean times.
2013-10-28 15:15:56 +01:00
ProfMobius 9dcde327de Added a method to get all the chunks.
Added a coordinate class to server as key to hashmaps.
Added a template TE profiler.
2013-10-28 11:39:25 +01:00
ProfMobius 53b7c14405 Refactored packet naming & header scheme.
Added a packet to request full chunk data.
2013-10-28 10:28:06 +01:00
ProfMobius fcba4db5ef New packet to remove the player from the list of updates.
OverlayLoadedChunks will now remove the player from the update list when the overlay is shutdown.
2013-10-28 00:19:24 +01:00
ProfMobius e676b8dc23 Added tick & player handlers to the server to keep track of players and send updates when required.
Client can request a chunk status update (Packet0x02)
OverlayLoadedchunk is now a singleton and will send a request packet when activated.
Player status is saved in the server proxy.
ChunkData is a "static" class to gather chunk related data (loaded chunks for now).
2013-10-28 00:13:05 +01:00
ProfMobius a04e7bb8fb 1st commit 2013-10-27 22:39:17 +01:00