NGnius (Graham)
1cb663b4d1
Fix build errors from beta hotfix 1
2020-11-09 16:18:25 -05:00
0bd348bd47
Fix initial issues and add error on patch fail
...
Fixed compilation and loading issues for 2020.10.27.17.13
2020-10-29 00:37:47 +01:00
3929144171
Merge remote-tracking branch 'origin/master' into preview
...
# Conflicts:
# GamecraftModdingAPI/Block.cs
# GamecraftModdingAPI/GamecraftModdingAPI.csproj
2020-10-28 21:10:30 +01:00
NGnius (Graham)
c6a1ea35cc
Add damped spring
2020-10-27 11:59:21 -04:00
4701b3577d
Make BlockColor.Index a property and other fixes
2020-10-02 17:06:06 +02:00
abbb83da26
Chunk and cluster fixes and improvements & bump version
...
Added Cluster.GetSimBodies() and SimBody.GetBlocks()
Fixed some issues with IDs and bad handling of them
2020-10-02 16:40:06 +02:00
64aace3bde
Remove ScalingEngine.Setup() and add object ID to dict
2020-10-02 14:52:37 +02:00
9e9f56881f
Add hotfix blocks and Player.LocalPlayer
2020-10-02 14:52:37 +02:00
c9e71d84b4
Add support for getting the RGB of block colors
...
Only works if the constructors are used
2020-10-02 14:52:37 +02:00
NGnius (Graham)
4dfa7b0f4e
Implement SFX block API and bump version
2020-10-02 14:52:33 +02:00
1a0c98dd67
Add the rest of the blocks
2020-10-02 14:52:26 +02:00
f2ce037564
Fix TextBlock.Text=null, most new blocks and others
2020-10-02 14:52:26 +02:00
92965404ce
Remove ScalingEngine.Setup() and add object ID to dict
2020-10-02 01:54:59 +02:00
58cfba443e
Add hotfix blocks and Player.LocalPlayer
2020-09-30 23:52:17 +02:00
ee6a0e3af6
Add support for getting the RGB of block colors
...
Only works if the constructors are used
2020-09-28 03:10:59 +02:00
NGnius (Graham)
9e6edc19bd
Implement SFX block API and bump version
2020-09-23 15:31:54 -04:00
d581ec598a
Add the rest of the blocks
2020-09-19 00:13:05 +02:00
1e9d1c8f81
Fix TextBlock.Text=null, most new blocks and others
2020-09-18 21:19:39 +02:00
NGnius (Graham)
aae2057972
Convert relevant blocks to wireable blocks and fix wire connect during block init
2020-08-23 09:59:13 -04:00
cfdc5e8c26
Fixes, block IDs, cluster & chunk health support
2020-08-22 09:24:18 -04:00
NGnius (Graham)
fd97194903
Fix build issues for latest Gamecraft preview version
2020-08-22 09:23:59 -04:00
NGnius (Graham)
8354123169
Cache additional info to avoid entity queries
2020-08-07 12:05:49 -04:00
NGnius (Graham)
e56871f5ef
Fix wire entity queries when its not submitted yet
2020-08-03 13:24:35 -04:00
NGnius (Graham)
708dbdd81d
Add wiring API and improve signal support
2020-08-03 12:45:38 -04:00
NGnius (Graham)
b81562ea58
Fix sfx block test default value
2020-07-25 12:12:48 -04:00
057a030c20
Update music block and attempt to fix test
2020-07-24 11:11:53 -04:00
15485481a2
Add some info and prev. value for setters
2020-07-24 11:11:53 -04:00
5264d98ce7
Test fixes, block event Block property
...
Fixed Assert.Equal()
Changed tests to reflect changes
Added Block property to the block event args
Completely removed sync things
2020-07-24 11:11:53 -04:00
5e335e78ff
Implement init for position and rotation
2020-07-24 11:11:52 -04:00
7336fe8353
Add support for initializing blocks with properties
...
Newly created blocks use the initializer to set properties, allowing the user to set per-block properties
2020-07-24 11:11:52 -04:00
89d32956d9
Automatically invoke the correct block constructor
...
And store delegates of dynamic methods invoking constructors
Tested with the automated tests
2020-07-24 11:11:52 -04:00
NGnius (Graham)
926d968eed
Add sfx block support
2020-07-24 11:11:48 -04:00
aa0aefd41b
Find block when group is unknown
2020-07-11 02:26:36 +02:00
f403feb298
Update to Gamecraft 2020.06.17.08.41 (preview)
...
Removed BlockIdentifiers.OWNED_BLOCKS as the original got replaced with an array
Added the correct group for each supported functional block
Removed EntityFactory property from IEntitySerializer as it is provided on deserialization
2020-07-11 00:30:58 +02:00
NGnius (Graham)
6f589f1744
Create Player tests
2020-07-01 13:43:56 -04:00
NGnius (Graham)
b376133d28
Create some test cases for blocks
2020-06-30 20:43:45 -04:00
ae1f53e119
Add new blocks
2020-06-13 00:48:13 +02:00
62318b0843
Update to Gamecraft 2020.06.11.18.50
...
Removed some inputs from FakeInput
2020-06-12 17:27:36 +02:00
448cf3af48
Expose the simulation-time object IDs
...
They are useful
2020-06-05 00:57:22 +02:00
cae626197f
Implement Equals for the OOPs & fix Player properties
...
Fixed setting player properties
Changed player rotation to float3
Added constructor for BlockColor with an index param
Improved Player.Exists() ~~hopefully~~
2020-06-05 00:20:35 +02:00
f62211309e
Added WaitForNextFrame() and fixed block scaling
...
A bit hacky, but it works
2020-06-04 01:42:13 +02:00
NGnius (Graham)
6a137472c1
Fix Block type exception on unsynced Specialize<T>()
2020-06-02 20:38:35 -04:00
5660bfc28d
Fix connected blocks not being detected in prefabs
...
Apparently they're processed, unlike in my save
2020-06-03 01:49:54 +02:00
dba7c0a46f
Added 2 block events and removed BDNEException
...
Added an event for placing and removing blocks
Added a class to wrap event calls in a try-catch
Removed BlockDoesNotExistException
Made Block.GetSimBody() return null if block doesn't exist
2020-06-02 03:15:32 +02:00
0b8491cecf
Move Sync() to properties and improve Block doc
2020-05-27 17:20:53 +02:00
269d30b0db
Add support for connected bodies
...
Added center of mass
Removed delta velocities
2020-05-24 21:55:49 +02:00
ab7c5805fe
Add object ID block and label support
2020-05-24 19:29:02 +02:00
dca6fe4c1b
Fixes, added SimBody class
2020-05-23 00:06:49 +02:00
084cbb40c4
Added AsyncUtils and Block.PlaceNewAsync()
2020-05-22 03:00:33 +02:00
NGnius (Graham)
4e08acf44c
Reduce potentially unnecessary calls to Sync() by always forcing Sync() for new blocks
2020-05-21 20:00:31 -04:00