Commit Graph

315 Commits

Author SHA1 Message Date
CobaltXII
72edd4bab3 Added test id_birch_sapling growth 2019-01-04 17:42:25 -05:00
CobaltXII
2dba3e7554 Added test id_oak_sapling growth 2019-01-04 17:41:51 -05:00
CobaltXII
7dd3db071c Placing saplings also causes a growing_plant injection 2019-01-04 17:41:27 -05:00
CobaltXII
d8db54a445 Fixed block placement errors 2019-01-04 17:40:55 -05:00
CobaltXII
1e2fbbc744 Switched around include ordering 2019-01-04 17:40:44 -05:00
CobaltXII
0adb0ed348 Added growing sapling types to enum growing_plant_type 2019-01-04 17:40:35 -05:00
CobaltXII
6e2642868a Implemented void plant_tree_accessor 2019-01-04 17:40:16 -05:00
CobaltXII
5ac171d361 Implemented inline void set_id_safe_if_air 2019-01-04 17:40:05 -05:00
CobaltXII
5248081a9c Fixed glitch when breaking growing plants 2019-01-04 17:19:15 -05:00
CobaltXII
b3a778d81b Now utilizing growing_plant.should_id 2019-01-04 17:18:57 -05:00
CobaltXII
f8664b00e5 Implemented growing_plant.should_id 2019-01-04 17:18:40 -05:00
CobaltXII
8f3ac90892 Implemented inline unsigned int growth_4 2019-01-04 17:18:25 -05:00
CobaltXII
7f027f90e7 Implemented inline unsigned int growth_8 2019-01-04 17:18:19 -05:00
CobaltXII
55f20661ae Slabs are only converted into double slabs if the player is holding the same type of slab 2019-01-04 16:17:41 -05:00
CobaltXII
5e65777259 Fixed blocks sometimes replacing other blocks when placed on the side of a slab 2019-01-04 16:17:23 -05:00
CobaltXII
8bea3cf5ff Implemented beetroot growth 2019-01-04 16:06:48 -05:00
CobaltXII
044d30f934 Implemented potato growth 2019-01-04 16:06:38 -05:00
CobaltXII
1af74519e2 Implemented carrot growth 2019-01-04 16:06:30 -05:00
CobaltXII
f7a09d90b8 Implemented wheat crop growth 2019-01-04 16:06:13 -05:00
CobaltXII
666769e7e0 Crops and saplings now disappear when their supporting block is destroyed 2019-01-04 16:05:53 -05:00
CobaltXII
64e09af2b4 Placing crops now adds the crops to the_world->growing_plants 2019-01-04 16:05:29 -05:00
CobaltXII
6ee9507418 id_oak_sapling and id_birch_sapling can only be placed on id_grass or id_dirt 2019-01-04 16:05:03 -05:00
CobaltXII
7e10e0df70 Now including plant headers 2019-01-04 16:04:27 -05:00
CobaltXII
d34152b488 Worlds now hold information about their growing plants 2019-01-04 16:04:20 -05:00
CobaltXII
f8490d5873 Implemented struct growing_plant 2019-01-04 16:04:00 -05:00
CobaltXII
da188d33e2 Implemented plant headers 2019-01-04 16:03:51 -05:00
CobaltXII
825e081793 Added id_oak_sapling and id_birch_sapling 2019-01-04 12:53:11 -05:00
CobaltXII
e2dce631ca Added id_beetroots_0 to id_beetroots_3 2019-01-04 12:46:02 -05:00
CobaltXII
a29c2e859f Farmland is not destroyed by crops 2019-01-03 21:37:08 -05:00
CobaltXII
732852ddf3 Crops can only be placed on farmland 2019-01-03 21:36:58 -05:00
CobaltXII
0a4c43b546 Removed broken swimming 2019-01-03 21:36:43 -05:00
CobaltXII
2e10ff9613 Added id_carrots_0 to id_carrots_3 and id_potatoes_0 to id_potatoes_3 2019-01-03 21:36:29 -05:00
CobaltXII
6e72bb8d1a Added crop renderer 2019-01-03 21:15:04 -05:00
CobaltXII
ad990e2a87 Chunk buffer is now larger 2019-01-03 21:14:56 -05:00
CobaltXII
343ff70743 Added id_wheat_0 to id_wheat_7 2019-01-03 21:14:47 -05:00
CobaltXII
f25159b053 Added some sort of swimming 2019-01-03 20:49:21 -05:00
CobaltXII
1d96dd59a5 Farmland is reverted to dirt whenever something is placed on top of it 2019-01-03 19:42:41 -05:00
CobaltXII
a2a5111c7e More removals 2019-01-03 19:42:24 -05:00
CobaltXII
05887d53ef Added id_dry_farmland and id_wet_farmland 2019-01-03 19:36:10 -05:00
CobaltXII
3f8ebf3cca Removed button.hpp and sprite.hpp temporarily 2019-01-03 19:35:55 -05:00
CobaltXII
f8cff3e410 Pumpkins and melons now spawn naturally 2019-01-03 19:28:27 -05:00
CobaltXII
3e0b9d0d13 Updated image.hpp to include new images 2019-01-03 19:10:08 -05:00
CobaltXII
4b409a07eb Implemented face_info* make_face_info_block_food 2019-01-03 19:09:57 -05:00
CobaltXII
be1b68ee09 Implemented face_info* make_face_info_table 2019-01-03 19:09:50 -05:00
CobaltXII
b2b8bb9b6a Added id_melon 2019-01-03 19:09:37 -05:00
CobaltXII
26a2892941 Added id_jack_o_lantern 2019-01-03 19:09:27 -05:00
CobaltXII
07004b7487 Added id_pumpkin 2019-01-03 19:09:11 -05:00
CobaltXII
eec80cfddf Added id_burning_furnace 2019-01-03 19:08:55 -05:00
CobaltXII
1b4523c83f Added id_furnace 2019-01-03 19:08:36 -05:00
CobaltXII
6789ebc10f Removed gpu_sprite* generate_test_gpu_sprite 2019-01-03 18:51:10 -05:00