-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/graph #327
Open
susch19
wants to merge
10
commits into
refactor/mutliplayer
Choose a base branch
from
feature/graph
base: refactor/mutliplayer
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/graph #327
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* with all the common functions like adding, removing, splitting and merging and so on * added a new pencil class, which holds the different graphs of the world * added new light blocks for on and off state, texture thanks to gallimathias Co-authored-by: Marcus Aurelius <[email protected]>
* because distributing energy can't be done with a simple base logic and needs a special graph type * implemented serialization and deserilization of nodes and graphs for persistant fun * added new source, target and transfer interfaces, so we can destinguish between these easier in the update and add logic * fixed set block meta should not invoke the changed event if the meta data didn't actually change * add new set block meta in chunk column with index3 instead of x,y,z * added new operators for index2 and index3 to make some calculations easier Co-authored-by: Marcus Aurelius <[email protected]>
* where a block can be in multiple graphs at the same time * modified existing interfaces to match multiple graph types, because some proeprties are only required for energy graph * made trasnfertype into an array, so we can check multiple and also create mutliple graphs for one block if required * extracted cable, signaler block definitions into own definition to clear the original type * added new simpleblock material type, which can be used at multiple points to not create materials that shouldn't exists logically
* since now we can toggle generatos on and off * fixed deserialisation of nodes contained in multiple graphs beeing multiple instances * renamed apply to interact and interact to hit, so the namings are more descriptive of what they are intended to mean * added hit and interact to selection, so we can call different methods on the service * replaced global chunk cache in pencil and graph with simulation, since we can get the gcc with the planet on pencil and simulation can be of better use inside the nodes themselves Co-authored-by: Marcus Aurelius <[email protected]>
* so that we can toggle generators by standing on the sensor and therefore turn on the lights Co-authored-by: Marcus Aurelius <[email protected]>
* so that we can transfer between chests and maybe even with other portable entities like the player * started to add new storage interface item, so that we can interact with all connected inventories at the same time * added specialisation of transfer screen to support the new storage interface * moved on close to base of ui component, because currently every ui component uses it and has the same starting lines Co-authored-by: Marcus Aurelius <[email protected]>
* by adding a new multi inventory component, which adds a new clear function for the temporary inventory * fixed ui not updating, since we need to check version before returning because of same show value * added new interaction service methods, so we can register interactions on items and not only blocks Co-authored-by: Marcus Aurelius <[email protected]>
Co-authored-by: Marcus Aurelius <[email protected]>
Co-authored-by: Marcus Aurelius <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.