Commit graph

294 commits

Author SHA1 Message Date
Norbi Peti fad3b5cbf4 Fix picking block groups... 2020-11-14 22:43:45 +01:00
Norbi Peti 1f911b1d32 Fix move/rotate during init, add blueprint properties 2020-11-14 18:29:48 +01:00
Norbi Peti f30dcd251f Displaying blueprint before placing, enums, ToString()s
Added support for getting the player's current building mode (build, color, config, blueprint)
Added support for getting the current game's mode (building, playing, prefab etc.)
2020-11-14 02:52:16 +01:00
Norbi Peti 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
2020-11-13 23:59:37 +01:00
Norbi Peti 64b42830a3 Blueprint fixes, bump version, add block copy support
Fixed getting the selected blueprint
Fixed block groups not being assigned to first block
2020-11-13 21:40:32 +01:00
Norbi Peti d744aaab79 Add ability to create & move block groups & other stuff
Added a way to store block groups as blueprints
Blocks can be added/removed from block groups, although it doesn't work well atm
Added some patches to the test class in an attempt to debug an unrelated issue
Added a command to test placing a block group
Added a SelectedBlueprint property to the Player class
2020-11-13 17:02:28 +01:00
Norbi Peti 3dd61b5e4f Replace ToManagedArray() and fix getting blocks from group 2020-11-13 17:02:27 +01:00
Norbi Peti 1c4e2a0db2 Add support for setting and placing blueprints 2020-11-13 17:02:27 +01:00
Norbi Peti 4f8feaa24b Add new blocks and some blueprint/block group support 2020-11-13 17:02:27 +01:00
NGnius (Graham) 8eec1358e9 Fix harmony patch error due to fixed name 2020-11-13 17:02:27 +01:00
NGnius (Graham) 08138e3589 Fix build errors from beta hotfix 1 2020-11-13 17:02:27 +01:00
Norbi Peti 987fbe673a Fix initial issues and add error on patch fail
Fixed compilation and loading issues for 2020.10.27.17.13
2020-11-13 17:01:46 +01:00
Norbi Peti 4580ae3b66 Add ability to create & move block groups & other stuff
Added a way to store block groups as blueprints
Blocks can be added/removed from block groups, although it doesn't work well atm
Added some patches to the test class in an attempt to debug an unrelated issue
Added a command to test placing a block group
Added a SelectedBlueprint property to the Player class
2020-11-12 02:39:58 +01:00
Norbi Peti f1376f5df6 Replace ToManagedArray() and fix getting blocks from group 2020-11-10 23:08:27 +01:00
Norbi Peti 2179ba6386 Add support for setting and placing blueprints 2020-11-10 19:28:36 +01:00
Norbi Peti 1a986056a1 Add new blocks and some blueprint/block group support 2020-11-10 16:37:20 +01:00
NGnius (Graham) d891f12701 Fix harmony patch error due to fixed name 2020-11-09 16:33:12 -05:00
NGnius (Graham) 1cb663b4d1 Fix build errors from beta hotfix 1 2020-11-09 16:18:25 -05:00
Norbi Peti 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
Norbi Peti 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
Norbi Peti b0b496f22f Fix ConcurrentModificationException and some attempts 2020-10-22 02:34:59 +02:00
Norbi Peti 4701b3577d Make BlockColor.Index a property and other fixes 2020-10-02 17:06:06 +02:00
Norbi Peti 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
Norbi Peti 64aace3bde Remove ScalingEngine.Setup() and add object ID to dict 2020-10-02 14:52:37 +02:00
Norbi Peti 9e9f56881f Add hotfix blocks and Player.LocalPlayer 2020-10-02 14:52:37 +02:00
Norbi Peti 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
Norbi Peti 1a0c98dd67 Add the rest of the blocks 2020-10-02 14:52:26 +02:00
Norbi Peti f2ce037564 Fix TextBlock.Text=null, most new blocks and others 2020-10-02 14:52:26 +02:00
Norbi Peti 92965404ce Remove ScalingEngine.Setup() and add object ID to dict 2020-10-02 01:54:59 +02:00
Norbi Peti 58cfba443e Add hotfix blocks and Player.LocalPlayer 2020-09-30 23:52:17 +02:00
Norbi Peti 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
Norbi Peti d581ec598a Add the rest of the blocks 2020-09-19 00:13:05 +02:00
Norbi Peti 1e9d1c8f81 Fix TextBlock.Text=null, most new blocks and others 2020-09-18 21:19:39 +02:00
Norbi Peti 53bdd27166 Merge master into preview 2020-09-18 17:10:01 +02:00
Norbi Peti c06ed340a2 Using the console block's material
Progressed a lot
2020-09-17 23:08:26 +02:00
Norbi Peti f295f712b6 Merge branch 'master' into customblocks
# Conflicts:
#	GamecraftModdingAPI/Tests/GamecraftModdingAPIPluginTest.cs
2020-09-17 19:18:00 +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
NGnius (Graham) daf4a24bc9 Fix namespace build error from unused using statement (I deleted it) 2020-08-22 09:26:51 -04:00
NGnius (Graham) 11b94e384e Update refs 2020-08-22 09:25:14 -04:00
Norbi Peti 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
Norbi Peti 2172364d26 Fixes, block IDs, cluster & chunk health support 2020-08-13 16:59:13 +02:00
NGnius (Graham) 89f354b647 Fix Game Over detection 2020-08-13 10:12:36 -04:00
NGnius (Graham) 50ebf4f0a6 Fix build issues for latest Gamecraft preview version 2020-08-07 13:55:00 -04:00
NGnius (Graham) 167ea5388b Merge branch 'master' into preview 2020-08-07 12:23:16 -04:00
NGnius (Graham) 8354123169 Cache additional info to avoid entity queries 2020-08-07 12:05:49 -04:00
NGnius (Graham) 7f5a36cb62 Automate version bumping because I keep forgetting doxygen.conf 2020-08-04 15:10:07 -04:00