userConnacancel
reposbox-corewarscancel

657 Commits over 243 Days - 0.11cph!

8 Months Ago
Various fixes
8 Months Ago
Don't perform a mesh build if any adjacent neighbour chunks are still updating
8 Months Ago
Ensure that the full update task is not running before rebuilding mesh
8 Months Ago
Testing some stuff Everything seems to be running with threaded tasks pretty well now. Don't allow the player to move if they're in a chunk that hasn't had collisions updated yet. Merge pull request #3 from Facepunch/threads Removed Block Slice Stuff / Perform Threaded Chunk Updates
8 Months Ago
Everything seems to be running with threaded tasks pretty well now. Don't allow the player to move if they're in a chunk that hasn't had collisions updated yet.
8 Months Ago
Testing some stuff
8 Months Ago
Added support for sending many chunks at once compressed. Removed support to show back faces for now (need to solve z-fighting.)
8 Months Ago
Added BlockType.CullBackFaces and don't cull back faces for leaf blocks
8 Months Ago
Some UI tweaks and hotbar wrap fix
8 Months Ago
Automatically perform threaded full updates of chunks closest to the player first
8 Months Ago
Added Player.TryGiveBlock and automatically remove / cleanup orphaned items
8 Months Ago
Renamed HotbarSlot to a generic InventorySlot. Hooked Hotbar UI to inventory system. Fixed a bug where item ids started at 0.
8 Months Ago
Queue a threaded full update on neighbouring chunks when a new chunk is initialized
8 Months Ago
Added a simple dot crosshair
8 Months Ago
Added Map.ToSourceBBox and add parameter to Map.SetBlockInDirection to check for collisions. Players can no longer place blocks if it would collide with an entity
8 Months Ago
Changes to how maps are loaded. Prevent Source hang dialog by turning GeneratePerlin into a Task. Added Map.OnInitialized. Only send maps to players if the map is actually initialized / generated.
8 Months Ago
When holding Shift you won't fall off the block you're on
8 Months Ago
Added Voxel.GetBlockType() Make Map.GetSourcePosition and Map.GetVoxelPosition static
8 Months Ago
Added Chunk.GetVoxel and Map.GetVoxel and Voxel struct. A slightly slower but nicer public API for dealing with blocks but heavy operations can still grab everything manually.
8 Months Ago
Fixed block slices not updating properly when an opaque block is removed next to a translucent one Merge branch 'main' of sbox-corewars
8 Months Ago
Turn it into a PerlinGenerationConfig struct to pass in
8 Months Ago
Always ensure that there is some form of block at the bottom most level
8 Months Ago
Fixed grass and (temporarily) generate a list of suitable spawn positions
8 Months Ago
Bounds checks
8 Months Ago
Update light maps immediately on chunk initial load + when refreshing. Grass blocks will not show their grass if there is no sunlight.
8 Months Ago
Fixed compile errors
8 Months Ago
Increase world size Z by double. Mess around with generation a little for testing. Refactor UpdateNeighbours. Add Chunk.GetNeighbour. Merge branch 'main' of sbox-corewars
8 Months Ago
Added FastNoiseLite and some additional generation
8 Months Ago
Fixed data being removed immediately after being set by the server 🙄 Run full torch update and sunlight propagation in a thread for connecting players initialization
8 Months Ago
When placing a block pass the direction the player placed in. Have all torch blocks extend BaseTorchBlock. Have TorchEntity use the direction data to determine which side to place against.
8 Months Ago
Only show debug info when map is valid
8 Months Ago
Removed ChunkDataMap and added superior block data system
8 Months Ago
Experiments Update Block Slices in a worker thread (thanks @Metapyziks for pointing out I needed ThreadStatic) Send a connecting player 8 chunks a time but still very quickly Merge branch 'main' into tasks Start fleshing out an Inventory API Stashing work on Inventory API Fixed RPC related issues Added test_item and MainInventory population Added ChunkDataMap (currently only storing block health). Moved some stuff out of Game and into Map. Modifying ChunkDataMap values will network them accordingly. Block health is reset to 100 whenever a new block is created. Cleanup old logs InventoryContainer.Serialize / Deserialize Added NetInventory a convenience BaseNetworkable with custom INetworkSerializer that will perform an initial synchronization of an InventoryContainer Make sure InventorySystem.ClientDisconnected is called to properly clean up InventoryContainer connections Fixed item stacking when using custom data. Refer to item types by library name or generics. Add test stack code. Use library identifier instead of name. Fixed default stack size. Fixed stack size overflow. Merge pull request #1 from Facepunch/tasks Tasks + Inventory + Health
8 Months Ago
Use library identifier instead of name. Fixed default stack size. Fixed stack size overflow.
8 Months Ago
Fixed item stacking when using custom data. Refer to item types by library name or generics. Add test stack code.
8 Months Ago
Make sure InventorySystem.ClientDisconnected is called to properly clean up InventoryContainer connections
8 Months Ago
Added NetInventory a convenience BaseNetworkable with custom INetworkSerializer that will perform an initial synchronization of an InventoryContainer
8 Months Ago
InventoryContainer.Serialize / Deserialize
8 Months Ago
Cleanup old logs
8 Months Ago
Added ChunkDataMap (currently only storing block health). Moved some stuff out of Game and into Map. Modifying ChunkDataMap values will network them accordingly. Block health is reset to 100 whenever a new block is created.
8 Months Ago
Added test_item and MainInventory population
8 Months Ago
Fixed RPC related issues
8 Months Ago
Stashing work on Inventory API
8 Months Ago
Start fleshing out an Inventory API
8 Months Ago
Improved shadows and lighting on testmap Updated temp textures Support for higher quality materials Add emission map, fix roughness Merge branch 'main' into tasks
8 Months Ago
Send a connecting player 8 chunks a time but still very quickly
8 Months Ago
Update Block Slices in a worker thread (thanks @Metapyziks for pointing out I needed ThreadStatic)
8 Months Ago
Experiments
8 Months Ago
BlockEntity.CenterOnBlock
8 Months Ago
Fixed north neighbour chunks not having light map updated + don't call UpdateAdjacents per opaque/translucent SO but instead do both at once (optimization)