NorbiPeti
55344d1352
Start updating to Techblox 2022.05.25.11.05
Resolved compiler errors
Mostly by removing erroring code
před 1 rokem
NorbiPeti
dfe1bfb504
Begin updating to Techblox 2022.04.28.14.02
Updated project generator script to always order assemblies (it didn't do that for me on Linux) and to fix minor issues
před 2 roky
NorbiPeti
f9aa6ce2bb
Re-add object ID class, add some wheel rig properties, remove old game assembly refernces
před 2 roky
NorbiPeti
c0ef8f1fae
Fix support for accessing properties using reflection
The test still crashes the game
před 2 roky
NorbiPeti
c4a9125ed3
Update to Techblox 2022.03.17.17.24
před 2 roky
NorbiPeti
c6dae688fe
Update to Techblox 2022.02.17.10.32
před 2 roky
NorbiPeti
0ec47cd38b
Add method to get ghost block
před 2 roky
NorbiPeti
ddaa933e7d
Add option to delay entity change publish and remove reflection stuff
Neither of them work actually
Added some delay between tests
před 2 roky
NorbiPeti
5fea7dc3b3
Add support for generating block classes that use reflection to access internal components
Added Engine properties again
před 2 roky
NorbiPeti
4684b33c69
Fix tests, getting machine blocks, block labels and visuals
- Checking the material property again, it seems to work now
- Fixed the Seat events not triggering during tests (the player in build and in sim is different)
- Fixed Game.GetAllBlocksInGame() returning environment blocks (since a Game refers to a machine save)
- Fixed the Block.Label property
- Fixed the block visuals not being updated after applying changes
před 2 roky
NorbiPeti
d27bcee8d5
Update to Techblox 2022.01.25.15.52
- Fixed compilation errors
- Fixed patching errors and added missing anti-cheat patch
- Added check to verify that the init data has been removed from blocks once they are placed in game
- Removed block place event deduplication as it seems to be not needed anymore
- Fixed async tests not properly running
- Added Player.State
- Attempted to fix seat entering/leaving (we can only send inputs in client code)
- Fixed the weak dictionary ContainsKey returning true even if the item is no longer there
před 2 roky
NorbiPeti
5c1fe34f46
Bump version and restore displayed block fix attempt
It doesn't work but anyway
Also remove parameter that allowed placing blocks in sim
před 2 roky
NorbiPeti
e3a7961be4
Made the Game.Enter event only fire once loading finishes and fixed player building mode
Also attempted to fix material changing and updating the rendered block
před 2 roky
NorbiPeti
52ccbe4dad
Fix tests and add new materials
před 2 roky
NorbiPeti
1cbe252727
Move block engines into their own namespace
před 3 roky
NorbiPeti
b3f7dcd36d
Add start of Engine class, removed nonexistent blocks
Not all engine properties are added (yet)
The old block types can be brought back when/if they come back, potentially with different properties
před 3 roky
NorbiPeti
e9df67f462
Use Block.New everywhere, testing *every block property*
Fixed prefab update for nonexistent blocks
Removed Type from block placed/removed event args
Added test to check the block ID enum (whether it has any extra or missing IDs)
Added test to place every block on the ID enum
Added test to set and verify each property of each block type (type-specific properties are also set when they can be through the API)
Added support for enumerator test methods with exception handling
před 3 roky
NorbiPeti
70b322583a
Fix setting the material of a block
Also fixed ID of wood material
před 3 roky
NorbiPeti
858a5c9b5c
Fix remaining errors, add support for managed entity DB
před 3 roky
NorbiPeti
d238c97906
Remove block info getters and setters
Regex is great
GetBlockInfo\(this, \((\w+) (\w+)\) ?=> ?\2(.+)\);
GetBlockInfo<$1>(this)$3;
SetBlockInfo\(this, \(ref (\w+) (\w+), \w+ (\w+)\) ?=> \2(.*) = \3,\s*value\);
GetBlockInfo<$1>(this)$4 = value;
před 3 roky
NorbiPeti
61184145a9
Start using new extension methods, code cleanup
Removed all of the different block property getter methods
před 3 roky
NorbiPeti
2d99d1d478
Generalize optional references and init data
Added extension methods to query data from ECS objects
Added base class for ECS objects
Added support for representing in-construction ECS objects with an OptionalRef<T>
před 3 roky
NorbiPeti
c914b5b393
Renamed all references of Gamecraft to Techblox
Except those that actually refer to the game's code
před 3 roky
NorbiPeti
a6f52070ee
Rename to TechbloxModdingAPI
před 3 roky
NorbiPeti
df6a2e84e1
Update to Techblox 2021.04.29.18.37
před 3 roky
NorbiPeti
1f688195af
Add support for flipped blocks and auto-wiring, other fixes
před 3 roky
NorbiPeti
a6b69d94c9
Start compatibility with Techblox
Added some TODOs as well
před 3 roky
NorbiPeti
a7f6a16231
Update to Gamecraft 2020.12.16.14.19 and custom block stuff
- Fixed the crash on second time start
- Tweaked more stuff about the block
Breaking changes coming from FMOD 2.0:
- Audio[int index] changed to Audio[PARAMETER_ID index]
- Audio.Parameters removed
před 3 roky
NorbiPeti
ab1ae51ece
Update to Gamecraft 2020.11.30.16.02
před 3 roky
NorbiPeti
680721256c
Add support for copying wires, some fixes and additions
Removing blocks from groups when they are removed from the game
Attempted to update graphics when changing blocks
Disallowing changing the block group after creation, now that we can copy blocks
před 3 roky
NorbiPeti
64b42830a3
Blueprint fixes, bump version, add block copy support
Fixed getting the selected blueprint
Fixed block groups not being assigned to first block
před 3 roky
NorbiPeti
3dd61b5e4f
Replace ToManagedArray() and fix getting blocks from group
před 3 roky
NGnius (Graham)
08138e3589
Fix build errors from beta hotfix 1
před 3 roky
NorbiPeti
987fbe673a
Fix initial issues and add error on patch fail
Fixed compilation and loading issues for 2020.10.27.17.13
před 3 roky
NorbiPeti
f1376f5df6
Replace ToManagedArray() and fix getting blocks from group
před 3 roky
NGnius (Graham)
1cb663b4d1
Fix build errors from beta hotfix 1
před 3 roky
NorbiPeti
0bd348bd47
Fix initial issues and add error on patch fail
Fixed compilation and loading issues for 2020.10.27.17.13
před 3 roky
NorbiPeti
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
před 3 roky
NorbiPeti
c9e71d84b4
Add support for getting the RGB of block colors
Only works if the constructors are used
před 3 roky
NorbiPeti
ee6a0e3af6
Add support for getting the RGB of block colors
Only works if the constructors are used
před 3 roky
NorbiPeti
cfdc5e8c26
Fixes, block IDs, cluster & chunk health support
před 3 roky
NGnius (Graham)
fd97194903
Fix build issues for latest Gamecraft preview version
před 3 roky
NorbiPeti
2172364d26
Fixes, block IDs, cluster & chunk health support
před 3 roky
NGnius (Graham)
50ebf4f0a6
Fix build issues for latest Gamecraft preview version
před 3 roky
NorbiPeti
15485481a2
Add some info and prev. value for setters
před 3 roky
NorbiPeti
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
před 3 roky
NorbiPeti
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
před 3 roky
NorbiPeti
3f2139d592
Add some info and prev. value for setters
před 3 roky
NorbiPeti
cc4ed3e174
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
před 3 roky
NorbiPeti
3592c6f464
Add support for initializing blocks with properties
Newly created blocks use the initializer to set properties, allowing the user to set per-block properties
před 3 roky