reposbox-corewarscancel

921 Commits over 516 Days - 0.07cph!

3 Years Ago
No need for async here
3 Years Ago
Added Map.BuildCollisionInThread and set to true
3 Years Ago
Started work on dynamic chunk loading/unloading Implemented ChunkViewer Update TorchLight / SunLight in the full update thread and use ConcurrentQueue Only send chunks that have completed their first full update Added ChunkGenerator class. Added PerlinChunkGenerator class. Added Map.IsInfinite and Map.SetMaxSize. Implemented SetMaxSize properly. Set it to 256, 256, 128 as it was before to test Merge pull request #4 from Facepunch/stream Stream
3 Years Ago
Added ChunkGenerator class. Added PerlinChunkGenerator class. Added Map.IsInfinite and Map.SetMaxSize. Implemented SetMaxSize properly. Set it to 256, 256, 128 as it was before to test
3 Years Ago
Only send chunks that have completed their first full update
3 Years Ago
Update TorchLight / SunLight in the full update thread and use ConcurrentQueue
3 Years Ago
Implemented ChunkViewer
3 Years Ago
Started work on dynamic chunk loading/unloading
3 Years Ago
Fix that condition
3 Years Ago
Don't try to generate a tree if it'd leak into another chunk
3 Years Ago
Added biome weighting
3 Years Ago
Added biome support. Added proper chunk generation and seed support.
3 Years Ago
Suitable spawn positions will be the center of the voxel
3 Years Ago
Var this
3 Years Ago
Package block updates into a single compressed update
3 Years Ago
Added F to blow a hole in something for testing. Use GameTask.FromResult to return vertex data from StartUpdateVerticesTask. Don't keep a list of vertices around that is used cross-threads.
3 Years Ago
Added max iterations to Map.Trace. Only remove the old shape from the world body after the first one is added. Because this update is threaded it can cause a slight collision issue until the new shape is resolved otherwise.
3 Years Ago
Comment out GetAvailableThreads as it isn't whitelisted for public
3 Years Ago
Add a delay to player block placement / removal
3 Years Ago
Various updates to improve threaded tasks
3 Years Ago
Return Task instead of void
3 Years Ago
Various fixes
3 Years Ago
Don't perform a mesh build if any adjacent neighbour chunks are still updating
3 Years Ago
Ensure that the full update task is not running before rebuilding mesh
3 Years 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
3 Years 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.
3 Years Ago
Testing some stuff
3 Years Ago
Added support for sending many chunks at once compressed. Removed support to show back faces for now (need to solve z-fighting.)
3 Years Ago
Added BlockType.CullBackFaces and don't cull back faces for leaf blocks
3 Years Ago
Some UI tweaks and hotbar wrap fix
3 Years Ago
Automatically perform threaded full updates of chunks closest to the player first
3 Years Ago
Added Player.TryGiveBlock and automatically remove / cleanup orphaned items
3 Years Ago
Renamed HotbarSlot to a generic InventorySlot. Hooked Hotbar UI to inventory system. Fixed a bug where item ids started at 0.
3 Years Ago
Queue a threaded full update on neighbouring chunks when a new chunk is initialized
3 Years Ago
Added a simple dot crosshair
3 Years 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
3 Years 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.
3 Years Ago
When holding Shift you won't fall off the block you're on
3 Years Ago
Added Voxel.GetBlockType() Make Map.GetSourcePosition and Map.GetVoxelPosition static
3 Years 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.
3 Years Ago
Fixed block slices not updating properly when an opaque block is removed next to a translucent one Merge branch 'main' of sbox-corewars
3 Years Ago
Allow lighting to be fetched from z chunks
3 Years Ago
Removed ao details from material
3 Years Ago
Turn it into a PerlinGenerationConfig struct to pass in
3 Years Ago
Always ensure that there is some form of block at the bottom most level
3 Years Ago
Fixed grass and (temporarily) generate a list of suitable spawn positions
3 Years Ago
Bounds checks
3 Years Ago
Update light maps immediately on chunk initial load + when refreshing. Grass blocks will not show their grass if there is no sunlight.
3 Years Ago
Fixed compile errors
3 Years 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